It often happens that an idea for a game or simulation pops into my mind that I just want to test quickly.
Usually I tend to start up Unity to try things out but when it comes to sharing my progress with others it can be cumbersome to deal with the output size of Unity builds. They tend to often be more than 100MB for really small examples. Also the WebGL build takes a really long time.
I wanted something with a lot smaller footprint where I can iterate and publish very fast. When I discovered Zig it made perfect sense to use it in combination with raylib to create a small framework that I can reuse for many things.
With the knowledge taken from working with SystemBase (ECS) and some generated bindings for raylib I started working on this project.
Right now it is in an very early state but I'm already quite happy with the workflow.
On windows the .exe files are 1-3 MB depending on optimization and the WebGL builds are even smaller ranging under 1MB. The build times take not longer than 5 seconds and with the self-hosted compiler coming up soon this will get even better.
This projects is in active development and things will probably change fast. Also it is more intended for experiments and prototyping rather than developing serious AAA games, for that I'm looking forward to use the mach engine when it has matured enough.
Test the WebGL build here
Comments