Moving solid blocks
Hey,
I have a shoot 'em up type of game where there are solid blocks moving towards you. The player collides with them. But since these solid blocks are not squares, the player collides before he actually visually collides with one of them.
I'd like to know what's the best way to have a separate actor covering the visible part of the solid actor, so that it is more realistic.
The solid actors are not movable, but they interpolate towards the bottom. When they exit the visible area of the screen, they destroy and new solid actors spawn at the top.
I have a shoot 'em up type of game where there are solid blocks moving towards you. The player collides with them. But since these solid blocks are not squares, the player collides before he actually visually collides with one of them.
I'd like to know what's the best way to have a separate actor covering the visible part of the solid actor, so that it is more realistic.
The solid actors are not movable, but they interpolate towards the bottom. When they exit the visible area of the screen, they destroy and new solid actors spawn at the top.
Comments
You can do it with code and magnitude but this is the way i would do it.
http://www.deepblueapps.com/vertical-shooter-template/
Darren.