Play~0.7 MB download

Nothing loads until you press Play. Runs on laser-prism.ai-play.games

laser-prism.ai-play.games Play in a new tab
Rate this game
No ratings yet

Laser Prism

Three.jsPhonesPuzzle
1 play

Turn mirrors and prisms in a dark temple to split a white laser into colours and light every crystal pillar.

Screenshots

Screenshot 1 of Laser PrismScreenshot 2 of Laser PrismScreenshot 3 of Laser Prism

About this game

Written by the game's author.

A dark temple puzzle on a floating stone platform. Turn mirrors and prisms to route a white laser; prisms split it into a rainbow fan, and every crystal pillar has to be lit by a ray of its own colour. Six levels, from Awakening to Cathedral of Light, each ending with pillars of light as the next level rises.

The sky is a shader baked into a cubemap, textures are canvas noise, and the beams, haze, flares and floor light strips are all procedural. ?level=N starts on any level, and ?off= switches individual render passes off for GPU troubleshooting.

Made with the AI Game Dev CLI: every line of code, shader and sound was written by its agent. There are no asset files; geometry, materials, effects and audio are all generated in code.

Controls

  • Turn a piece: click or tap it (clockwise 22.5°); right-click turns it counter-clockwise; drag around a piece to twist it freely
  • Keyboard: Tab / arrows select a piece; E / Space / Enter and Q turn it
  • Reset level: R · Next / previous level: N / P · Mute: M
  • Autoplay: open with ?demo=1 or press D (?demo=1&level=3 starts the demo on level III)

Embed this game

Paste this into your own page. The game runs on its own domain, sandboxed.

<iframe src="https://laser-prism.ai-play.games/" width="960" height="540" title="Laser Prism" allow="fullscreen; gamepad; autoplay; xr-spatial-tracking" sandbox="allow-scripts allow-same-origin allow-pointer-lock allow-forms allow-popups allow-modals allow-downloads allow-popups-to-escape-sandbox" allowfullscreen loading="lazy"></iframe>