Jump to content

Sprites not spawning in right place


Recommended Posts


So this is my first post and also my first game using Phaser, so cheers!


I would post the code here, but since I split up my code into prototype files and I don't know where the error could be occurring, I'll just put up the github:



The problem:

Despite the fact that I explicitly spawn the player sprite at a certain point, it loads up to that point then instantly "snaps" to the enemy sprite, which spawns at a random x (within a range).


I've been playing with it for a little bit now and can't really wrap my head around my error.


Please and thank you for your help.



Link to comment
Share on other sites


  • Recently Browsing   0 members

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