
Hello there! The LD #42 was the second LDJam we participated in. And we made a lot of mistakes before we even started to make a game.
How we lost >50% of LD time.
Before LD #42 even started I misread the information about the event and thought that it will start on 12 of August. So when I woke up we already wasted the whole day and 12 hours. LD started yesterday at 1 AM in local time, and today was already 13 PM. It was quite frustrating to realise that you have half of the time to make a game.
Fast ideas and time SHRINKING
Our game is called Shrinker. And we were shrinking our time quite hard.
First things first -- ideas. We managed to quickly agree on a basic game idea -- top-down shooter with shrinking arena.
After that we realised that we got no time for fancy graphics, so we decided to move our concept into shapes. Together we made an idea of hp represented by shapes.

We managed to save some time with that trick.
Problems we faced
The main problem was a WebGL build. It's so hard to debug WebGL in Unity that we spent nearly 10 hours to find out what was happening. First of all, the lava shader. Our first shader wasn't working. We didn't know why, but I think it's because of PBR material we used.
We got another lava shader, very simple and light. But it doesn't work too.
Finally, we decided to use a very, very simple shader with a little bit offsets.
The downgrade of lava was like that:

The next problem was with AI. Navmesh agents didn't work in WebGL build. We spent 6 hours to find out why and got nothing. We were saved by WebAsm. When we changed asmjs to webasm, we got everything working just fine. Magic, huh?
Lessons we learned.
- Double check the jam information.
- Prepare BEFORE the jam starts, not after.
- Automatize your build process, cause it takes a lot of time.
- Always have builds for all of your target platforms.
- Don't write shaders unless you certain about their WebGL behaviour.
- Try to ditch time-consuming ideas from the start.
Thanks for reading!