i remove the image of the class.... and now it not lag.. but it stop in the middle of the game ...
can u check to see what the error is ?
cause nothing happen in my computer
so i create a class but do not set the image (Ex: a, b, c, d...)
than create another class (display...)
public static final GreenfootImage imageA = new GreenfootImage("a.png");
than on the act method
setImage(imageA);//this will display the image??
ok that i can fit,
when i use the method atEdgeDisappear()
if (atWorldEdge() == true)
>getWorld().removeObject(this);
it crash when i play...
so i have to make like a bar.. and set it at the left edge.
and use the checkCollision() method to end the game....
i will try to declare them as static fileds ^^!
thank for your help
no.... if the letters reach the end of the screen... then you lose... the game end ^^!
are there anything i can do with the images to make it less lag... cause it wok fine on my computer
2009/6/1
Typing Game
2009/5/31
Typing Game
2009/5/31
Typing Game
2009/5/31
Typing Game
2009/5/31
Typing Game
2009/5/31
Typing Game
2009/5/30
Typing Game
2009/5/30
Typing Game
2009/5/30
Typing Game