Jump to content

Collision detection in angled perspective like NES TMNT2 and Metal Gear


imacomputertoo
 Share

Recommended Posts

I'm trying to do collision detection for a game that has a camera perspective similar to NES classics like Metal Gear, Teenage Mutant Ninja Turtles 2, and double dragon. It's mostly top down, but at an angle so that you can see the sides of objects and characters. See the image for an example. Notice how the play sprite (green) can walk all the way up to the car until his feet touch the bottom of the car. So the collision is not on the whole character model, only his feet. Also, when attacking or being attached the player sprite and the enemy sprite must be on the same horizontal plane for their attacks to collide.

I've been trying for ages to get something like this to work in Phaser, but I don't know how. Are there any solutions out there? Any games written in phaser that already do this?

Screen Shot 2017-08-05 at 1.04.36 AM.png

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...