CodeBase - 2d Player Movement
Return to the CodeBase listing
Category: Sprite
Version: 1.0
Information
Uploaded: 17th Oct 2011 23:38
Modified: 1st Jan 1970 01:00
Author: Jcamden
Summary
2d Movement using keyboard input
Full Description
Hey all, This code will move your character around a 2d screen using the keyboard. There are 2 functions. MovePlayer(p) and MovePlayerWithAngle(p). Both functions do the same thing. The Angle one will target the mouse and rotate around it based off user input. There are loads of ways to do this but I want to make it easy to understand.<br /> <br /> Thanks,<br /> -Joe
Comments
No comments yet.