Age | Commit message (Collapse) | Author |
|
|
|
|
|
The theme of this Blender was:
Monkeys / Rescuing / Between Realities
With all the COVID-19 stuff going on, it seemed like a fun way
to lighten things up a bit to make something where a monkey runs
around trying to rescue child monkeys from coronaviruses moving
across the playfield. In keeping with the theme, to rescue the
helpless monkeys you take them to a different reality by carrying
them off the window/screen. As infections increase the field
becomes crowded with viruses until your player becomes infected
through contact, ending your game.
This was written quickly kamikaze style overnight. Some
scaffolding bits came from past projects of mine like the vector
headers, shader and texture node building blocks, and the plasma
effect has been used a few times now and originally was derived
from some gpu programming tutorial if memory serves. I just
wanted to put something in the background for this strange
reality.
This is the first time I've used libplay, in fact, it was
basically slapped together last night at the start of this to
avoid having to do all that SDL initialization all over again.
The unique meat of this work is in game.c, there isn't really all
that much to this game though. It's not pretty code, but it
works well enough and this task served as a useful exercise of
trying to get some quick game dev done using this collection of
facilities.
Most the heavy lifting comes from my reused libraries which are
slowly evolving into something somewhat effective for simple game
development.
Enjoy, and happy hacking!
|
|
Cranksy kindly provided a bunch of graphics for this collaboration,
mostly ANSI-derived but we'll treat them as pixel art.
My understanding is this is a mix of ripped stuff and some original
work, it's nothing crazy - just something usable on short notice
for the 24hr IRC compo this is being made for.
I'm committing all the graphics separately so the big code commit isn't
badly polluted by the gfx bulk
|
|
Just a bunch of shit that doesn't really do much more than produce
an executable yet.
|
|
Add libix2 2D quadtree spatial index submodule, we need some quick 2D
spatial searches for collision detection
|
|
Pull in libplay for some timers, music smarts, SDL initialization and
general structure
|
|
Pull in libstage for a drawing list
|