Jump to content

How to do hitboxes?


Emesis
 Share

Recommended Posts

We are building a multiplayer top-down shooter deathmatch app. My team's idea is to upload all hits at a given time as x,y coordinates to an array (which is then passed to the server) and then check on each update loop to see if any enemy players were at those same coordinates.

We were considering doing it the traditional way (with collisions) but this is a 2-week project and we're concerned it will take too long/introduce issues to use Phaser's native hitbox functionality.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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