Rectsmash
Rectsmash
A simple breakout clone with the ability to gain powerups and place in the leaderboards (local only).
Earn as many score points as you can by destroying blocks by bouncing the ball of your paddle. Purchase powerups to keep your lives for longer and earn even more score points.
Input
| Key/Input | Action |
|---|---|
| Move mouse cursor | (In game) Move the paddle (In UI) Activate UI elements |
| LMB | (In game) Launch the ball from the paddle (In UI) Select active UI element |
| Esc | (In game) Open pause menu (Paused) Resume game |
Credits & References
- Written in C using Raylib and Clay UI
- Raylib: https://raylib.com
- Clay UI: https://www.nicbarker.com/cla
- Sound Effects: Made by me in bfxr - https://bfxr.net
- Icons: Made by me in Aseprite - https://aseprite.org/
- UI Font: PressStart2P by Codeman38 - https://www.dafont.com/press-start-2p.font
LLM Use Disclosure
No LLM-generated code was used in this codebase directly, and every single line of code has been hand-written.
However, the assistance of LLMs (mostly Gemini, and very little Claude) _were_ used during the development processs in the following manner:
- To review and vet hand-written code
- To consult about whether an approach taken in the codebase is idomatic, and if there are better alternatives
- To ask for example CMake configurations to use as reference
- To use as a documentation tool for macOS frameworks such as Cocoa
- To troubleshoot compilation, build and bundling errors
Source Code
The full source code as well as the assets including source material for assets I made myself are available in the GitHub repository with MIT license.
The source code features build tools and release bundling scripts which might be useful to use as a material to publish your own games, as well as featuring techniques like DLL hot reloading which might also be useful.
Download
Click download now to get access to the following files:



Leave a comment
Log in with itch.io to leave a comment.