Sign in to follow this  
nex7

walls 1 tile wide or multiple?

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this