Hi guys, I've just started using greenfoot and I'm having an issue trying to get my gif to move in my world. Its a .gif-c200 image that im trying to upload and run. For some reason its not working, anyone have any suggestions?
public class ZeroSlash extends Actor
{
GifImage myGif = new GifImage("ZeroSlash.gif-c200");
/**
* Act - do whatever the ZeroSlash wants to do. This method is called whenever
* the 'Act' or 'Run' button gets pressed in the environment.
*/
public void act()
{
setImage(myGif.getCurrentImage());
}
}