Wednesday, September 12, 2012

Day 18 - Collision Woes

Now that I've changed blocks into game objects instead of tiles it completely changes the way my collision needs to work. Previously since all the tiles were laid out on a grid I could quickly retrieve a tile given any position on screen. Now since the blocks could theoretically be placed anywhere, I need to iterate through them and then each object needs to figure out what to do when it collides with it. This sounds like a lot of work and... It is.

No big changes and no video for today. My brain isn't working.

No comments:

Post a Comment