@Collin, let me clarify. Off-line, using the greenfoot application, you can use 'Ctrl-R' to run or restart the scenario; but, this will not work here on the site.
Once the scenario is stopped, no keystroke action will start the scenario back up. Programmatically preventing the actions of your actors is the only way to make the scenario appear to be paused and still have a key detected to lift to prevention.
The movement of the Chased object is directed by the 'wasd' keys and the Chased class is not a subclass of the QActor class. The different bound behaviors are for the Chaser objects. Download the scenario and open it up in the greenfoot application; then, start it and press 'e' until the bound state you want is selected; finally, click on the 'Pause' button, remove the Gun and the Chaser and restart the scenario. You can use the speed slider to check the bounds actions quickly after the previous steps.
@oscarreks, it is not the actual placement or rotation that is increased, just the precision of the values that track these states. Time is not being dealt with at all -- just distance and rotation. Speed is the ratio of distance per time, so being more precise with distance give speed more precision.
I realized you used a 'try-catch' block for the second 'if' which probably solves what I was thinking was an issue.
What about the filename at line 56 in the Guy class -- try removing the slash from the:
"/ppl2.png" filename.
My bad. I was not aware of that new GreenfootImage constructor.
The only other possible issue that I see is the two 'if' statements that each could remove the Guy class. If the first one removes the actor, then the second one cannot properly execute (calling 'isTouching' while the actor is not in the world). However, this would not stop the execution after just one act cycle as it appears to be doing here on the site.
I downloaded your source code and took a look. I do not know why -- but your project should not have compiled and it should not have been allowed to be uploaded as is. The last line in your Label class (line 101) has too many Color parameters (3) for a GreenfootImage constructor. You should be getting an error message saying something about 'no suitable constructor found'.
The way that the images of the actors remain along the edges, it is acting like the background image is not completely covering the world canvas but the actors still being painted there -- like the edges of the world background image are transparent. If a discussion thread were started on this issue, we could try different codes that I could suggest to attempt to resolve the issue.
2015/9/19
little-crab
2015/9/19
little-crab
2015/9/19
Zombie Shooter Demo
2015/9/18
little-crab
2015/9/18
Zombie Shooter Demo
2015/9/10
Escape
2015/9/9
Escape
2015/9/9
Escape
2015/9/5
bouncy balls!! v1.1