This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

Park.Hin.Yeung presents ...



PROJECT TITLE: Target Practice

PURPOSE OF PROJECT: Test your reflexes and hand-to-eye coordination by trying to fix the slider as close as possible to the centre of the target.

VERSION: Version 1.2

HOW TO START THIS PROJECT: Press RUN to start the project. To refresh the game, REFRESH the page because otherwise there will be continuous background music. It seems to be impossible to make this stop when I stop the scenario with only the JDK.

AUTHOR(S): Park Hin Yeung

USER INSTRUCTIONS: The instructions are shown at the beginning of the game before actual gameplay.

v 1.2 Fixes to glitches and structure of game.
v 1.1 Minor fixes to slider speeds and sprites.

ACKNOWLEDGEMENTS: Anyone who helped.

5835 views / 18 in the last 7 days

3 votes | 0 in the last 7 days

Tags: game simulation physics fun shooting target practice sliders bars scenario park hin yeung

This scenario is a member of: CIS-May-2009

Your browser does not support the canvas tag.


glitched near the end of level three
omg why does it lag and glitch so much here??


Hi, I'm getting this error after I've made the first shot: java.lang.IllegalStateException: The actor has not been inserted into a world so it has no location yet. You might want to look at the method addedToWorld on the Actor class. at greenfoot.Actor.failIfNotInWorld( at greenfoot.Actor.getX( at Gun.countBullets( at Gun.move( at Gun.act( at greenfoot.core.Simulation.runOneLoop( at This generally means that there's something wrong on line 47 of - most likely you've removed an object and then tried to call a method on it that depends on it still being in the world. If you're still stuck, post the source and we can take a look.
If its the error where tons of guns stack on top of each other its due to the lagging here in greenfoot gallery. Try and let the slider move back and forth a few times before shooting.
A new version of this scenario was uploaded on Sat May 23 14:40:29 UTC 2009


if you press 2 first, it just fires


Hmm, it also got stuck for me once when I pressed 2, nothing happened. The error shouldn't happen due to lag on the gallery, chances are you're doing something either very special or a bit dodgy in your code... How are you declaring / setting your images? If you upload the source we should be able to work out what's going on.


takes way to long to load..


haha nice game


The scenario stops after i get one shot, and when i click run again it just shoots and stops again o_o

Want to leave a comment? You must first log in.

Who likes this?

Amil dakota Cash_Cash