Jump to content

BobbyDogfish

Members
  • Content Count

    6
  • Joined

  • Last visited

About BobbyDogfish

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Well you have to put all your site in a canvas element. You have to do some work on the menu, the transition etc. But yes of course it's realistic. I don't know how your site will look but for me it's totally feasible.
  2. Thanks guys ! I think that the distance between the ship and the bullet is a nice idea. Even if it's not exactly correct because if the ship turns back the bullet will die quicker than if the ship just follows the direction of his bullet. But it's an easy solution and I think it will do the job. I will use the game.physics.arcade.distanceBetween(ship, bullet) method.
  3. Hi folks ! I'm making a game with Phaser and I have some space ships. My ships are firing bullets (thanks to http://gamemechanicexplorer.com/ Seriously, I love you man <3). My map is 4800px in width and 2400px in height. For now, the bullets are traveling all the map untill they find a side of the world. What I would like to do is to set a range for my ships, something like 250px. So I think the solution is to kill my bullets after X pixels traveled (in my case X = 250). I'm thinking of calculate this distance traveled with the velocity at each frame but I'm no
×
×
  • Create New...