Jump to content
  • Advertisement
Sign in to follow this  
nex7

walls 1 tile wide or multiple?

This topic is 4819 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

just a basic question about the size of sprites... if it is the single image wall...how am i supposed to know that it moves off into the second and third tile for collision??

Share this post


Link to post
Share on other sites
Advertisement
I always split my walls up into single-tile pieces. In the end, it was simpler this way. I could still use wall segments that covered multiple tiles, but each segment would be split into smaller tile-sized pieces for drawing, and the level generation script was responsible for correct placement of the pieces.

Share this post


Link to post
Share on other sites
Just for the sake of completness, there are few threads on how to draw these large blocks as one instead of many, and still maintaining the correct draw order, HOWEVER, something keeps coming back, and that is the fact that you cannot properly light large objects unless you do per-pixel, in which case it would still be more troublesome.

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!