spacely_j

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. So im making a multiplayer game, and the projectile uses velocity. but when a projectile is spawned, a player can just click off the screen to stop the projectile from continuing and it wont continue its path until the player clicks their screen again. This behavior would be okay for a single player game, but for multiplayer i want everything synced up. is there a way to make it so the velocity wont freeze when you click off the screen?
  2. in unity they have tags, is there something i can do similarly? player = game.add.sprite(10, 30, 'BlueSquare'); player.tag = blue; player = game.add.sprite(50, 90, 'RedSquare'); player.tag = red; something like that?