Built a real, playable space game entirely in Rive, with the new shaders and 3D

Social Scripting Course Overview.mp4

Hey everyone. Two weeks after GPU Canvas went live, here's what it did to my space game. Three new effects, all inside one .riv:

- Shader fire on every asteroid hit, with a slider from realistic to graphic

- A glitch when the start screen boots

- HIT / MISS stamps projected onto the cockpit window in real 3D (same trick as the holographic card I posted earlier)

The whole game is 27 scripts and 3 shaders, autopilot included, and it runs in the browser with no game engine.

If there's one tip from building it: build in layers, and expose everything as Inputs.

Every effect here is its own node with a handful of them (strength, style, colors, duration), so I tune the look live from the Inspector and wire it to the game through the ViewModel instead of touching the code. The fire doesn't know about the asteroids, it just listens for a hit. That's what let me add three shaders to a finished game without breaking anything.

Play it: https://www.rivemasterclass.com/rive-scripting/game

Walkthrough of the file (10 min): https://www.youtube.com/watch?v=sqFfH-T5dw0

Build it, it's the project of my Rive Scripting Course: https://www.rivemasterclass.com/rive-scripting

Happy to answer anything about how it's wired.