Jump to content

Tween to Converge on Center World


npilla
 Share

Recommended Posts

I've gotten closer to my answer but I'm running into another problem. Here's my code:

 

aliens.forEach(game.physics.moveToXY, game.physics, 300, -400, false, 50); 

 

I want my aliens to converge on the player that is 400, 300 but I can't get the aliens to move to that coordinate. I've tinkered with the coordinates but can't get them to move to the center.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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