• Content count

  • Joined

  • Last visited

  1. Move sprite according to angle

    so i forgot the equasion fr a second but found it here: vx = v * cos(angle)vy = v * sin(angle) the angle may be in radians, which you can convert fairly easily.
  2. when you import as a sprite map you can call the: let fish= new sprite(blah blah blah); fish.frame = 1;
  3. Make tilemap/world fit in game? = Phaser.ScaleManager.SHOW_ALL; = 480; = 260; = 640; = 480;; = true;; i normally can use this code (or slight variabtions) to makethe game scale properly, i also use this to make the game world resize with window changes. i think this may be what you rlooking for though. if you lookup more with the scalemanager it can help