An example & class for fps(first person shooting) in p5js.
- first-person-camera rotation & movement(with jump)
- first-person-shooting (for square shaped targets)
- mouse sensitivity control
- Basic FPS application example (this repository)
- FPS rhythm game
- This example only detects square object (don't care depth(z-axis))
- make rectengular hitbox detection
- This example only detects when camera not moved
- generalize detection function with any camera position