How can we design levels in PhotoShop

Started by
0 comments, last by Tordin 11 years, 6 months ago
Hey how can my brother design/export levels in photoshop for XNA? Then also how could I program the level such as colliders for the ground and other mechanincs for the level?
Advertisement
One way could be to create a image with the size of your map. and each pixel corresponds to a tile.
and from there you in code chek each color and set a specific tile in the game. so that a green color could be grass, and red could be lava.
You can break this down in more stuff, like a colision image aswell, setting 0,0,0 (black) = no collision, and any thing else is collision.

this thread explains pretty good stuff :
http://www.dreamincode.net/forums/topic/138348-xna-tiles/
"There will be major features. none to be thought of yet"

This topic is closed to new replies.

Advertisement