Back to projects Experimental
SCORE: 1240 ♥♥♥
Experimental

2D Shooting Game

GameCreative CodingSimulation
Overview

An experimental 2D shooting game built in P5.js to understand game physics, collision detection, and interactive gameplay mechanics. A focused exploration of the core systems that make action games feel responsive.

Target

A personal challenge to understand game physics and the feeling of "game juice" from first principles.

Mission

Build a responsive, physically believable 2D game from scratch without using a game engine.

Challenges

  • Implementing accurate collision detection without a physics library
  • Making controls feel responsive and the game feel "good" to play
  • Managing game state across entities, projectiles, and enemies simultaneously

What I Learned

Physics simulation — velocity, acceleration, collision response
Game loop architecture and delta-time movement
Input handling and responsive control feel
Entity-component patterns for game object management

Technologies

P5.jsJavaScript

© 2026 Hatem Mazid