FPS Shooter Sample on Babylon.js with Vite

FPS Shooter Sample(WIP)!

  • Move using W/A/S/D
  • Move with LeftShift to sprint
  • Use pointer lock API to move camera.
  • Click Space to jump
  • Click to shoot and destroy mob
  • mob Hit Point
  • player Hit Point
  • Game state(Title, In-game, Result)

It uses some texture/models for playground(The house, grass.jpg, …). Shouldn’t it to use these one?

Source code is here.

9 Likes

Really cute ;D

Vite is simple solution for TypeScript project. Hyper-speed dev build(with esmodules) and production build.

1 Like