Posted October 23, 2020 by MissingTheMoon
#roguelike #devlog #sci fi #pixel art #2D #action #procedural
Welcome everyone, we are working on a fast paced 2D roguelike in which you hype up the crowd to get more gold while fighting waves of robots in a futuristic colosseum. If you prefer videos we make DevLogs on youtube.
Up to this update this roguelike wasnt feeling that much like one. You fought in one circle and inside it enemies would spawn in waves. While there is randomness in their spawning it is still mainly me who decides how they are spawned. I want this control to control the pacing of each wave. I can make them fast and give you no room to breath, just to calm down the fight and let you breath right after. Playing around with different pacing is really fun and adds a lot to how the game feels.
With this update I added the randomness to the game which roguelikes are loved for, procedural level generation!
I started with a test scene in which I created circles (I call em bubbles) “randomly”. First I spawn the start bubble, then I give it one to four children. These children can have one to three children themselves. Their children cant be where there already is a bubble. This algorithm is cool because it creates a random level without circles. This makes the next step a lot easier!
I order the list of all bubbles by their distance to the start bubble. I measure distance in bubbles not in space. The furthest bubble becomes the exit. The shop is the bubble that is rather far from the start and is far (this distance is measured in space) from the shop. That way the exit is always far and the shop isnt right next to the exit and neither is next to the start bubble. So wherever you go there is something and you wont feel like you wasted your time.
So now we have randomly generated levels in which there are bubbles. Each bubble has a randomly picked, hand crafted wave. Some just spawn x to y enemies, some have multiple waves. But I want more!
I haven't done everything that I want for this update yet, but I already need to see how people play it. So these are the things I will do in the future:
Thats it folks, if you feel so inclined the game is online!
Have a good day everyone!