Emesis Posted May 21, 2016 Share Posted May 21, 2016 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 the traditional way (with collisions) but we're concerned about latency issues. Any insight about how to handle this? Any resources? Quote Link to comment Share on other sites More sharing options...
Ralph Posted June 15, 2016 Share Posted June 15, 2016 In my game I use client side phaser to load the location of all the players and if one player shoots and the bullet sprite overlaps with a player (client side) I send that info back to the server and distribute it that way. Prob not the most secure or fastest way to do it, but it works for the minimal pvp i have on my game. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.