I am reading a book on 2D graphics now so I think I will do all its tests and everything then come back to this project.
I want to eventually make this Twitter
Type: Posts; User: Chillers
I am reading a book on 2D graphics now so I think I will do all its tests and everything then come back to this project.
I want to eventually make this Twitter
Yes ok let me get working on one :P
public BitMap(BufferedImage img) {
this.w = img.getWidth();
this.h = img.getHeight();
pixels =...
I know, but what would I use it though?
I can make things if I know what their use should be :P
Like how would I do that though?
Cause I need it to load and cut that image and break it into 16 by 16 pixels so I can use my characters I have made.
Here is the error code
public BitMap[][] sprites = loadAndCut("/chars.png", 16, 16);
Here is the full class in art
package com.Impostor.start;
import java.awt.image.BufferedImage;...
It's been in there. . .
If it's anything else you are free to edit it and I will try it, but I don't what you mean cause I haven't really grasped what a constructor is yet.
I have posted the code and the error message, but I can't compile it cause my computers java is wack and doesn't compile, but I use IDE's for compiling.
Yes it will catch the exception and throw an exception telling what is missing, but I think it has to do with line 15 cause it is out of syntax
public BitMap[][] sprites = loadAndCut("/chars.png", 16, 16);
private BitMap[][] loadAndCut(String name, int sw, int sh) throws IOException {
BufferedImage img;
try {
img =...
I don't mean to double post, but I can't compile it correctly and I already have too much stuff in my c drive and I put all my things on my desktop so I can edit the pictures easier.
Ok I will try compiling it, but I have some weird thing with compiling like that so give me some time to try and fix it again (reason why I use a IDE)
Fixing code look up now.
Ok no problem, but what's wrong with the source code?
I am editing the first post with the error and will add the source
I am working on making a TF2 demake for the Notch followers since he hasn't worked on it since the new game and I want to improve from where he left off.
I am basically watching the videos and...