animation tiles

Hi, i want to make a character move with animation and aim doing it by have a large sheet of framed animation characters. This Image is then broken up into the individual images and later used for animation.

can anyone help me with it.

the code below was created by me to do this however I have a problem with the line

return createImage(new FilteredImageSource(ip,new CropImageFilter(x,y,width,height)));

I get the error message

C:\My Documents\marioGame\GoRacing\FrameCollection.java:47: cannot resolve symbol

symbol : method createImage (java.awt.image.FilteredImageSource)

location:class FrameCollection

return createImage(new FilteredImageSource(ip,new CropImageFilter(x,y,width,height)));

^

1 error

can anyone tell me why. and how to fix it

not that this isn't in the main applet class but a side class.

if you have any websites that would help then please let me know.

thanks

[1207 byte] By [zainuluka] at [2007-9-28 6:22:45]
# 1
you're not extending a class that has the createImage() method.
Woogleya at 2007-7-9 17:34:38 > top of Java-index,Other Topics,Java Game Development...