Collision detection

Started by
3 comments, last by Stani R 17 years, 10 months ago
How do i find a way to collision detect a tetris game wanna be? How do i attack the problem?
Advertisement
This thread suggests some ideas.
Hey, thanks, and sorry for not searching this up.
Quote:Original post by chimera007
How do i find a way to collision detect a tetris game wanna be? How do i attack the problem?


I would approach this in a different way. I would construct a basic square part. Each tetris piece would then be composed of this basic square component. So, your collision detection routine would only need to check if any of the square components on the current moving piece would hit any of the square components on the pieces that are not moving.
Quote:Original post by chimera007
Hey, thanks, and sorry for not searching this up.


Surprisingly enough, even though it's a local thread, I found it through Google. :D

It's not a big deal, but I'd always try google or the forum search first, it answers 95% of all questions.

This topic is closed to new replies.

Advertisement