piterio

Members
  • Content Count

    5
  • Joined

  • Last visited

  1. piterio

    Player movement

    I had a little mistake game.world.setBounds(0, 0, worldWidth, worldHeight);
  2. piterio

    Player movement

    Anyway, thank you very much for your help!
  3. piterio

    Player movement

    I'm using that. I have: game.camera.follow(player);where player = game.add.sprite(playerX, playerY, spritePlayer);but it doesn't work and I don't know why because I think I'm doing it right
  4. piterio

    Player movement

    Help please
  5. piterio

    Player movement

    Hi, I'm new and my English isn't very good... I hope you will understand what I'm trying to do. I'm doing a html5 game like Metal Slug, or something like that, and I want a specific behaviour which I found in http://test.xapient.net/phaser/attm/. I know this game was made by a member of this forum (@valueerror) so I hope he can help me. The behaviour I want is the one made by Mario who is able to walk to the middle of the screen and then he stop moving forward and now is the "world" who is moving. Sorry about my English and thank you very much!!!