Search the Community

Showing results for tags 'projectile'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Coding and Game Design
  • Frameworks
    • Phaser
    • Pixi.js
    • Babylon.js
    • Panda.js
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Found 2 results

  1. Isometric 2.5D projectiles

    I am somewhat new to Phaser and have a goal of making a game with similar gameplay to the first Navyfield. One concept I am having trouble with is how Navyfield managed to do projectiles with 3D positions using 2D sprites. What steps do I have to take to have a cannon fire a projectile up in the air and possibly at an angle towards or away from the "camera"? If possible, could I get some psuedo code or even better an example using Phaser? Here is an example of the projectile system used in Navyfield (might be a bit loud):
  2. I am moving a projectile through space and have registered an OnIntersectionEnterTrigger action to the object and my target. The problem I am facing is that at lower fps, the intersect is sometimes missed due to the object not occupying the same space in a frame because of "skipping". Is there an easy way to interpolate if the object would have intersected via Babylon JS? Or is there a better way to do this? Thank you.