summaryrefslogtreecommitdiff
path: root/src/sfx.c
AgeCommit message (Collapse)Author
2022-12-12sfx: introduce concept of voices and concurrency limitsVito Caputo
This is a first stab at reeling in the cacophony of noise that develops in the late stages of sars.
2022-12-10sfx: introduce sfx_t.adult_maga for adult MAGA-upVito Caputo
2022-12-08sfx,game: introduce sfx_t.tv_talk[10] for talking headVito Caputo
There can be assets/talk/[0-9].wav now, one of which will be played along with adult-captivated.wav Intended to match the new talking head .ans
2022-12-05sfx,game: introduce baby_hatted.wav sound effectVito Caputo
This plays whenever a baby dons a mask as a hat.
2022-12-05sfx,game: introduce adult_maskhit.wav sound effectVito Caputo
This plays whenever the adult gets hit by a virus while masked, without running out of masks.
2022-12-05sfx,game: introduce adult_unmasked.wav sound effectVito Caputo
This plays whenever the adult runs out of masks
2022-12-05sfx,game: introduce adult_armsfull.wav sound effectVito Caputo
This plays whenever the adult attempts to pickup TP while holding a baby.
2022-11-08game: introduce toilet paper hoarding mechanicVito Caputo
for now toilet paper is simply picked up by the adult and accumulates as a pointless icon starting at the top left corner, potentially filling the entire screen with enough hoarding; obstructing the player's view of what's going on. There's no points added for hoarding, it's completely pointless and counterproductive.
2022-10-17sfx: add adult-captivated.wav sfx for adult meets tvVito Caputo
also s/frozen/captivated/ for consistency with sfx
2020-04-19src: implement a game for Blender 2020Vito Caputo
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!
© All Rights Reserved