Jump to content


  • Content Count

  • Joined

  • Last visited

  1. so i forgot the equasion fr a second but found it here: http://www.idevgames.com/forums/thread-7150.html 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. this.game.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL; this.game.scale.minWidth = 480; this.game.scale.minHeight = 260; this.game.scale.maxWidth = 640; this.game.scale.maxHeight = 480; this.game.scale.forceOrientation(true); this.game.scale.pageAlignHorizontally = true; this.game.scale.setSize(); 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 hel
  • Create New...