Tile-Map Movement
I have recently created a scrolling tile map. I have a limited map 38*20 (Don''t ask why!) and just want a character to move about on it. I do know how to capture the key presses but don''t know how exactly I should go about moving the character. I want the character to move about on screen without the camera position moving, within certain bounds. But as soon as the character is moved so far in that direction the map scrolls. If the viewpoint reaches the edge of a screen then I want the character to be able to reach the edge of the screen. Has anyone got any good suggestions on how I should handle this?
March 09, 2001 04:31 PM
There''s a new article on gamedev.net that deals with this.. it''s at the top of the page!!!
GO!!! RRRRRREEEAAADDD!!!!
GO!!! RRRRRREEEAAADDD!!!!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement