dougp

Members
  • Content count

    1
  • Joined

  • Last visited

About dougp

  • Rank
    Newbie

Contact Methods

  • Website URL
    povingames.com
  • Twitter
    povingames

Profile Information

  • Gender
    Male
  • Location
    Fort Worth, Tx
  • Interests
    Photography, travel, raising kids, programming
  1. Sprite movement direction

    An example. // The hero! player = game.add.sprite(game.world.centerX, game.world.centerY + 250, 'ship'); // create a player game object player.anchor.setTo(0.5, 0.5); // anchor the sprite in the center so it will rotate about its center axis player.scale.setTo(.3, .3); // handy to scale your sprite in game while in development until you can get correct size sprites player.angle = 90; // rotate the ship 90 degrees to the right