Zelda3 Style Collision
Blitz3D Forums/Blitz3D Programming/Zelda3 Style Collision
| ||
I'm trying to figure out how recreate the collision code used Zelda3. I've gotten fairly far with the main bit, but I am wondering how to achieve sliding collision. For instance, if the player is hits a triangle shaped tile on it's hypotenuse what code would i use to move(slide) the player acordingly. I am currently not using ImagesCollide. Instead I am just checking for each corner of the players collision box for walls, this is allows for the player to automatically go around a block when hitting it half way. If anyone knows of a way to do this it would be greatly appreciated. Thanks, altitudems |
| ||
Maybe nPoly (on the Blitz Coder has some useful stuff to help you with this) |