Hi everyone, I just released my first mobile game on Google Play: Marblematic, a ball sort puzzle with a little marble machine (crates, hopper, conveyor belt with gondolas).
Some technical notes in case they are useful to someone:
- Everything is drawn in code (
draw_circle, polygons, a small texture atlas for the marbles). No sprite sheets. -
- Static layers are “baked” into images with SubViewports and only redrawn when something changes. This brought a Galaxy S24 to a stable 60 FPS and the Android emulator from about 35 to 60 FPS.
-
- On the Compatibility renderer, every polygon call cost about 0.3 ms on the emulator. Replacing many draw calls with textured discs from an atlas fixed most of the stutter.
-
- Sounds are synthesized in code.
-
- The 1000 levels are fixed and generated by a solver, so each one is guaranteed to be solvable.
- Store: https://play.google.com/store/apps/details?id=com.bitgrube.marblematic
- Happy to answer questions about the drawing, the solver or the save file handling.