• Content Count

  • Joined

  • Last visited

  1. I use visual studio community and it's free. Auto-complete is working. There are already some threads in this forum with some tips to get visual studio working with Phaser, while the majority of these tips is for using typescript you can get it to work with javascript as well. If you can search in the forum and i'm sure you will find something
  2. I've kind of found a solution.. This code seems to work: if (game.input.mousePointer.isDown) { player.rotation = game.physics.arcade.moveToXY(player, game.input.x, game.input.y, 600, 600);} Anyway, if someone have a better solution it will be welcomed.
  3. 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
  4. Hmm.. Probably will give brackets another chance. I've read that it is slow and sometimes crashes handling bigger files.. Is it true? Autocomplete works well?
  5. Thank you for your advice since i'm used to work on android studio i will probably get webstorm a chance since they are almost identical but i also like sublime text but with sublime text i have to download a lot of plugins to make it work like i like and an web server is also needed while webstorm comes with everything i need. Maybe in the future i will move to sublime text i dont know. Thanks you for your response it was a good advice, and good luck to you too.
  6. Hello, i'm new to phaser and i'm very excited to started coding games with it but I've encountered a problem when i was trying to load the examples provided locally. I can't run properly the basics examples, every other example runs apart from that ones and i don't know what to do, so if anyone could help me it would be nice. One more thing, since i'm new i'm having a hard time setting up my development environment... I've already tried brackets, sublime text, webstorm and netbeans and i still don't know which is better so if someone liked to share how they work with phaser or point me to a nice guide to help me it would be great. Thanks PS: Sorry for my bad english