πŸ”« First Person Shooter sandbox game with Physics πŸ’₯

Demo link: FPS Sandbox

Video:

I’ve been experimenting with WebGL and physics lately, and ended up creating a little first-person shooter sandbox, a playable experiment where you can run around, aim, and test interactions right in your browser. better with sound so make sure sound is enabled.

:backhand_index_pointing_right: Try it out here: https://hiteshsahu.com/lab/shooter-game/

It’s purely a tech playground for now, but I had a lot of fun building the mechanics and fine-tuning the feel of movement and shooting.

Would love to hear your thoughts β€” especially on performance or ideas for what to add next (AI enemies? multiplayer? destructible terrain?).

Press F to Enter/Exit Game Mode or use Gui Controls:

  • W/↑S/↓A/←D/β†’ Walk

  • SPACE jump

  • Shift run

  • Left Click: Shoot

  • Right Click: Aim

    Experiment with cahnging Gravity to 0 or a positive value.

webgl #GameDev #BabylonJS #JavaScript #IndieDev

8 Likes

Excellent! I was not expecting to shoot a basketball :smiley:

1 Like

Loved the basketballs too!