Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

2d map represention

Name: zamda 2012-01-16 16:39

after reading this http://www.gamedev.net/page/resources/_/technical/artificial-intelligence/a-pathfinding-for-beginners-r2003 i decided i want to write 1.

Problem is i can't decide how to store my map with those 'masks'.
do i put them all in 1 object and make my map out of those objects or keep few arrays with 1/few property in each. like 1 array for tetrain type, 1 for movement cost, 1 for filling with 'water' to find unreachible nodes, etc

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List