Jump to content

Aurelienazerty

Members
  • Content Count

    2
  • Joined

  • Last visited

About Aurelienazerty

  • Rank
    Newbie
  • Birthday 10/27/1981

Contact Methods

  • Website URL
    https://www.team-azerty.com/
  • Twitter
    https://twitter.com/aurelien_azerty

Profile Information

  • Gender
    Male
  1. Hi all, could you help me ? I don't understand why there is this behavior
  2. Hi all, I modify the invader exemple here, and I wanted to make it mobile friendly. I add "button" : boutonGauche = game.add.sprite(0, game.world.height - 60, 'bouton-gauche'); boutonDroite = game.add.sprite(game.world.width - 64, game.world.height - 60, 'bouton-droit'); boutonFeu = game.add.sprite(game.world.centerX - 32, game.world.height - 60, 'bouton-feu'); And bind it : boutonGauche.events.onInputDown.add(bougerGauche, this); boutonDroite.events.onInputDown.add(bougerDroite, this); boutonFeu.events.onInputDown.add(fireBullet, this); fun
×
×
  • Create New...