I,m having problems creating a fighting game. I,m trying to get the person to move and punch and strike but don't know how. Can anyone help me with the coding??????
GifImage runRight = new GifImage("filename.gif");if (Greenfoot.isKeyDown("right"))
{
move(8);
setImage(runRight.getCurrentImage());
}