Jump to content



Recommended Posts

    update: function(dt1, WR1x, WR1y){

      WR1x = +WR1x;
      WR1y = +WR1y;
      console.log(game.physics.arcade.angleToXY(dt1, WR1x, WR1y));


Is there a way i can get this to work with variables?  WR1 is being tweened in another function, something like x: +500, i want to try to get other players to move towards him.

Link to comment
Share on other sites


  • Recently Browsing   0 members

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