This game had a lot of firsts. It was my most visually ambitious game yet. It was my first use of actual perspective. And it was my first serious attempt at making art without resorting to 2d sprites – the only sprites in the game are the black structure at the beginning, the minigame icons, and one simple sprite used for the explosion graphics.
Honestly, all of the above worked.
The game does look good – I think the explosions particularly turned out well. I spent a good chunk of time on “small things” like screenshakes and a gradually changing background. Things that nobody really mentions, but that help the game tremendously. So, full marks for art.
The game design itself also worked as well as I was hoping. The game design didn’t really change from the first day to the end – I knew where I was going with it, and I went there, and everything was good. I didn’t have concrete plans for the bosses from the very beginning, but they came together in an hour or two each once I sat down to work on them.
What Didn’t Work
I made some decisions early on about the monster graphics that ended up constraining my design a bit more than I’d really intended. Namely, I just assumed I’d be sticking with right angles for everything, and, later, when I found myself wanting more complex layouts, I couldn’t do it easily. I’m not sure this would have been easily solvable, however. I could have changed it moderately simply, but it would have been Difficult to do the actual graphics design without that constraint, as my character design was limited to text input.
Originally I had plans for how to produce more organic-behaving monsters – still built out of right angles, but with the individual parts given a little more freedom relative to each other. I ended up not implementing this due to a lack of time. I was also running into issues with render speed, which that would have made even worse. I’m not sure what the actual render speed bottleneck was, though I suspect it’s heavily based around my continued use of immediate mode OpenGL. Solving this will require me to finish my Lua OpenGL layer first.
Speaking of graphics, I decided to use framebuffer objects to do the bloom effect. It turns out that framebuffer objects are problematical, as many graphics cards don’t support them, and I actually reduced my userbase rather unfortunately with them. The “standard solution” appears to be rendering to the screen, then copying that to textures. Unfortunately that is difficult with my current render framework. I’ll have to come up with a solution for this in the future, as I’d now like to avoid FBOs.
More graphics issues: I did the complex texture effects entirely with shaders. It turns out that shaders don’t antialias well, and I was having horrible aliasing issues. Turning up the back render resolution fixed that issue. An effective 64x antialiasing looked goddamn gorgeous. It also ran like crap on every system I could get my hands on, besides my main computer, so I turned it back to 4x and crossed my fingers that it was an acceptable tradeoff. I’m not convinced it was a great tradeoff. The only alternatives were to completely redesign rendering in terms of multiple textures or to try simulating anti-aliasing inside the shader itself – the latter didn’t go well, and the former would have taken a lot of time. I’m not sure what else I could have done better here, but I’ll keep it in mind as a stumbling block.
I spent about six hours trying to get perspective working properly, but I kind of expected that.
I also ran into some problems writing the monster AI – I had hacks upon hacks upon hacks, and that, as well, became a significant bottleneck. I’ve since written some chunks of code to provide a more powerful and general AI layer, which should prevent that from happening in the future.
Despite all the work done on making the Linux version work well, I had one giant critical error that – as near as I can tell – broke it on all NVidia cards. Whoops! Guess I shouldn’t have relied on friends and VMWare. That’s fixed now though, and the incoming Linux error reports flatly stopped after fixing that bug. This was kind of expected, though, new platforms are always a little flaky until you do a serious test.
The Bottom Line
I know I just spent like 3/4 of this post talking about fuckups, but the fact is that I think the game was pretty successful. I got everything done I wanted to, and the game worked out as well as I’d wanted. I don’t have anything major to say about the game design itself.
I’m trying a few new public-relations things, despite it feeling a little bit scummy. I went and posted a bunch of stories on Reddit and got a huge pile of comments and readers, so I feel like that worked out well. I was kind of hazy about whether this moved into “spammer” territory or not, but considering the generally positive feedback, I figure people aren’t objecting to the content. Oddly, I simultaneously feel like I’m getting fewer non-Reddit comments on this game than I’d expected, though maybe I’ve been spoiled by the feedback on Robert Recurring and Nieuwe Aarde. (So if I’d posted RR or NA heavily on Reddit, how much feedback would I have gotten?)
The hits I’m getting for “mandible” are finally overcoming the hits I’m getting for “hard disk double boiling“.
In summary: k0r worked out great. I learned a lot from it, and I learned a lot about what I fucked up badly. Time to move on to the next project!