"Match my Shader" is a creative programming game where you write Python code to recreate shaders and match pixel-perfect results. This game was made in 10 days for the "Timeless" game jam hosted by Lux
In Match my Shader, your challenge is to write Python code that renders a shader to match a given target output pixel-perfectly
A shader is a small program that runs in parallel for every pixel and decides its color, which means you have to write one code for the whole image
The game features two main modes:
- Freeplay: Code freely for fun or to draw creative designs
- Challenge: Recreate exactly a given target shader
python -m pip install -r requirements.txt
cd game
python main.pyTo create a standalone executable:
Windows:
build.batLinux:
chmod +x build.sh
./build.shThe executable will be generated in the game/dist/ folder.
- Select a Challenge: Click "Challenges" to see the list
- Write your code: Your function should return a color for each pixel (x, y)
- Repeat
If you need help using the game, you can open the Help menu on the menubar
This project was created for the "Timeless" game jam with the goal of building a game that could be enjoyed for the next 10 years. The concept of creative programming and learning aligns perfectly with this vision of timelessness.