Jump to content

Search the Community

Showing results for tags 'Mouse;'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 1 result

  1. Hello, I'm new to Phaser and i'm really getting into it. I've already made a couple of tutorials, and now i want to make my own game. In the game I'm trying to develop, when I press the screen with a touch or with the mouse, the player should move to the point I touched with a certain amount of acceleration. In the official Phaser examples i've got this piece of code: player.rotation = game.physics.arcade.moveToPointer(player, 600, game.input.activePointer, 600); With this code the player follows the mouse pointer and never stops unless the mouse is stopped, and i want to simply click or touch the screen and put the player moving to the point i've touched or clicked and stop there until i click or touch again in the screen. Can someone help me? Regards, António
  • Create New...