p5 Asteroids

Shoot, fly, and survive as long as you can. Beware of the every present asteroids and the elusive saucers.

p5 Asteroids is a recreation of the classic game Asteroids. The game was built from the ground up, including physics, collisions, UI, and everything in between using p5.js, an open source JavaScript library.

Controls:

W or ↑: Move Ship Forward

A or ←: Rotate Ship Left

D or →: Rotate Ship Right

S or ↓: Teleport Ship Randomly

SPACE: Shoot Bullet

Features:

  • Level system
  • Screen wrap
  • Screen shake
  • Pixel-perfect collisions
  • Particle effects

Leave a comment

Log in with itch.io to leave a comment.