Sign in to follow this  

How can we design levels in PhotoShop

This topic is 1914 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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/

Share this post


Link to post
Share on other sites
Sign in to follow this