- Home /
Grid Based Movement System (pokemon like)
Hey guys,
I have been thinking of making a turn based rpg with similar movement to pokemon games. However I am not sure where to start with the grid system. Movement will be in four directions (N, S, E, W) and Im wanting the movement from grid point to gridpoint to be smooth transition. Similar to the pokemon games for game boy...
Im not wanting anyone to write the script for me, but if anyone has any suggestions on what the best way to do a grid movement system please help me out.
Also once the system is complete, how would I go about making the maps actually work, such as the tiles that you can move into and the ones u cant move thru...
Again any help on this would be greatly appreciated and I am trying to pretty much mimic the movement from Pokemon games...
Thanks again!
Answer by Eric5h5 · May 08, 2011 at 06:53 PM
GridMove. You can use an array to represent the world, in order to do impassable tiles etc.
Thanks Eric, I completely forgot to check unifycommunity ><
Asfar as the array to represent the world, im assu$$anonymous$$g it would be a 2D array..and would it be viable to use ints to represent what the grid space is IE: 0 = moveable 1 = obstacle?
Thanks again man
Yes, a 2D array would be easiest, and using ints is O$$anonymous$$.
Your answer
![](https://koobas.hobune.stream/wayback/20220613132647im_/https://answers.unity.com/themes/thub/images/avi.jpg)