By the way my game will ship with a copy of the engine (it's less than 300kb), so you can edit and remix it as much as you want :)
#gamedev #tooldev
@niki Wow! Even ships with the engine? What is it made in? Also could people potentially share their remixes?
@groak The engine is made using svelte (a web framework), and vite (bundler/dev server) with a plugin that outputs everything as a single html file.
and yes, people can share the remixes! The engine has an export button for that (which also outputs an http file, which also includes the engine :D).
I have not figured the legal side of that though (the right open source license, what that means for remixes, etc.)
@niki Ohh very cool I use svelte for my website! Is the engine opensource? If so I would love to see how it all works!
@groak it's not at the moment, but most likely will be at some point soon!

@niki I am amazed that you got a game *and* its level editor into a 300 kB HTML/JS footprint. My virtual hat is off to you!

I'm old enough to remember the days when we struggled to get our assembly language code to fit into 16 kB of RAM, or thereabouts depending on the system. Your colleagues would have bowed down before your coding-fu in that situation. Well done!

@syscrusher Oh I meant the engine is 300kb, the game is about another 300kb (together they are 595kB at the moment), but thanks! :D
I think the magic is just that a modern web browser comes with a lot of functionality included, so you can just take advantage of that and do things DIY (for example replacing pixi.js with my own webgl renderer cut down the file size by 70% I think?).
Add to that that svelte has a very small runtime, since it offloads most work to a compile step. Then everything is minified, and you get a pretty small file, even without even trying too hard!
@niki Thanks for the additional background info, NONE of which takes away from the fact that you have accomplished something impressive. 👍