Skip to main content
GameDev.net gamedev.net
🔒 Locked

Multiple texture collision detection... ish.

Started by AndersEkdahl Feb 16, 2012 at 11:41 AM 0 replies 1.4k views
Original Post
AndersEkdahl
AndersEkdahl
Hello!

Me and a friend are making a space shooter game, and have a little problem with collision.
Our world is devided into 8 pieces because it's too large to just have one texture.
We have a moving camera that follow the avatar in the world. What we want to have is background-collision on all background textures.

We have followed the "The road not taken tutorial" for pixel collision. We got the collision working on a single background texture, we have no idea how to do it when we have multiple background textures.
Is it a good practice to do the pixel collision when we have multiple background textures or is there a better way to go at it?

(click the link to see the level.)

http://imageshack.us/photo/my-images/338/gluttonymapladdaupp.jpg/

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.