How do I tackle top down RPG movement?
Posted
by
WarmWaffles
on Game Development
See other posts from Game Development
or by WarmWaffles
Published on 2011-01-07T06:29:13Z
Indexed on
2011/01/07
6:58 UTC
Read the original article
Hit count: 288
I have a game that I am writing in Java. It is a top down RPG and I am trying to handle movement in the world. The world is largely procedural and I am having a difficult time tackling how to handle character movement around the world and render the changes to the screen. I have the world loaded in blocks which contains all the tiles.
How do I tackle the character movement?
I am stumped and can't figure out where I should go with it.
EDIT: Well I was abstract with the issue at hand.
Right now I can only think of rigidly sticking everything into a 2D array and saving the block ID and the player offset in the Block or I could just "float" everything and move about between tiles so to speak.
© Game Development or respective owner