CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Java and JSP (http://www.codingforums.com/forumdisplay.php?f=54)
-   -   Movement in java (http://www.codingforums.com/showthread.php?t=281687)

Hydrian 11-09-2012 10:43 PM

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.


All times are GMT +1. The time now is 10:12 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.