Warmup game almost done (and getting out of control)

This morning, I finally created a repository on github for my entry. It already has the framework I’ll be using, set as a submodule (which was a pain to setup).

Then, from the time I back home until now, I’ve been doing this:

ld31_warmup002

My warm up game… kinda…

I used a random theme generator to get a theme for my warm up game, which came up with “tame the rainbow”. While I wrote the basic code, necessary to setup the framework, I keep thinking on how to use that theme in a shmup-like game.

Since I couldn’t think any ideas, I started coding a simple “particle-system” (just a way to realloc an array of sprites and recycle the ones that are out of view), for the rainbow effect. As I played with it, I thought about having the rainbow apply force on the ship, making it difficult to control.

After trying it out, I ended up spending a lot of time making it better. Now both the rainbow and the ‘ship’ speed up over time, making it even harder to control. Now I only need to add enemies, a background, a score system and add sfx…

The problem is, this was supposed to be a simple and small warm up game. Its scope is getting out of control. One thing that I’ve still gotta test is playing sounds. So, I’ll probably add it tomorrow morning, then I’ll call it done.

You can find both my entry’s repository as my warmup game here. To compile it, clone the repository, cd into warmup and run

make

It requires SDL2, so download and install it before compiling. Also, the only input method is a gamepad with analog sticks. It’s a warm up game, after all, so I had no need to make proper controls…

Well, that’s it. See you tomorrow!! (btw, say no to ☃!)