Moving a sprite

Non-platform specific questions.

Moving a sprite

Postby GreenGame » Wed Jan 03, 2007 3:07 am

How can I use arrow keys and a PDA stylus to move a sprite?
I've read through quite a bit of the tutorials, but I can't seem to easily find exactly what I'm looking for at the time. :roll:
GreenGame
 
Posts: 8
Joined: Sat Dec 30, 2006 4:50 am
Score: 0 Give a positive score

Postby makslane » Wed Jan 03, 2007 1:42 pm

The stylus fire the mouse events. So 'Mouse Button Down' in the desktop will be a stylus screen tap in the Pocket PC.

Look this demo to see how to use key events to move an actor:
http://game-editor.com/games/shootemup.zip
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest