Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

PRISM HORN

HTML5 JavaScript Canvas

Play it now: https://js13kgames.com/2026/games/prism-horn

PRISM HORN gameplay

PRISM HORN is a colorful arcade survival game created for the js13kGames 2026 competition.

Aim the unicorn's horn, switch the laser color, and destroy matching enemies before they reach the defense line. Gain experience, choose upgrades, build powerful combinations, and survive recurring boss battles.

How to Play

Keyboard

  1. Use ← / → or A / D to aim the horn.
  2. Use 1–5 to select a laser color.
  3. Use Q / E to switch to the previous or next color.
  4. Press Space to fire.
  5. Press P or Esc to pause.
  6. Press M to mute the sound.

Mouse

  • Move the mouse to aim.
  • Click to fire.
  • Use the mouse wheel to switch colors.

Touch

  • Drag to aim.
  • Release to fire.
  • Tap the color buttons at the bottom to switch colors.
  • Landscape orientation is recommended.

Color Rules

Key Color Shape
1 Red Circle
2 Yellow Triangle
3 Green Diamond
4 Blue Square
5 Violet Pentagon

Only a matching laser color can destroy an enemy. Shapes provide an additional visual cue for distinguishing colors.

Features

  • Five color-matching laser attacks
  • Mouse, keyboard, and touch controls
  • Combo and score multiplier system
  • Elite enemies and formation patterns
  • Roguelike level-up cards
  • Split beams and mixed-color lasers
  • Automatic color portals
  • Recurring boss battles
  • Powerful boss rewards
  • Rainbow Pulse every fifth shot
  • Procedural graphics using Canvas 2D
  • Procedural sound effects and BGM using the Web Audio API
  • Local high-score and mute preference storage
  • Main menu, story letter, pause, and run result screens

Roguelike Upgrades

Defeated enemies grant Prism XP. When you level up, choose one of three upgrades.

Possible upgrades include:

  • Faster firing speed
  • Wider beam hit detection
  • Additional shields and recovery
  • Combo protection
  • Higher multi-kill rewards
  • Enemy slowdown
  • Automatic color portals
  • Faster portal attacks
  • Additional beam branches
  • Mixed-color attacks

Bosses provide a separate set of more powerful rewards.

About

  • Created for the js13kGames 2026 competition.
  • The 2026 theme is Unicorns and Rainbows.
  • Built with Vanilla JavaScript and HTML5 Canvas.
  • No external libraries, images, sprites, or audio files are used.
  • All graphics are drawn with the Canvas 2D API.
  • Sound effects and BGM are generated with the Web Audio API.
  • The submitted ZIP fits within the 13KiB competition limit.

Development Story

The English article is a translated version of the original Korean post.

Play

About

js13kGames competition 2026. (Theme for this year is Unicorns and Rainbows.)

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages