View Single Post
Old 11-09-2012, 10:43 PM   PM User | #1
Hydrian
New Coder

 
Join Date: Aug 2012
Posts: 40
Thanks: 5
Thanked 0 Times in 0 Posts
Hydrian is an unknown quantity at this point
Movement in java

How would i go about doing a movement variable or whatever in java.

So Greentfoot.isKeyDown(""); is the code i want to tell the game if a key is pressed and move(); turn(); to move and turn.

How to do this?

or i jsut want to know how to control and add a object in my java game.
Hydrian is offline   Reply With Quote