if you do not want to use a delay with now Greenfoot.delay() try this:
long starttime = System.currentTimeMillis();
act() {
long endtime =System.currentTimeMillis();
if((endtime - starttime) < 200)
{
return;
}
starttime = System.currentTimeMillis();
.. rest of routine ..
}
this will give you at least a fifth of a second between acts for this actor.
This is pretty good. There are some technical issues, but it is entertaining. Can you make the ghost who were eaten have their eyes run back to the ghost box?
2015/3/5
Explosions
2015/3/5
Explosions
2015/3/5
Marbles
2015/3/4
Marbles
2015/3/3
PacMan
2015/3/2
CastleAttack
2015/2/28
buglander
2015/2/27
inventory
2015/2/26
buglander