over the past 2 days I have started to code the game i am developing. yesterday i put the movement code in to move my character across the screen. it worked on the basis that in order to move the character you have to left click the mouse to gain control of the character, moving the mouse controls my characters movement and letting go of the left mouse button releases control of the character.
the code for whats known as start/stopdrag:
No comments:
Post a Comment