Monday, 20 May 2019



This time on gamedev;
>Added new area
Made the most progress in a while in terms of just getting through chunks of story / level.
Really near to the end of mapping for this level, now. Rolled the tileset over to a fourth page.
A couple more side rooms and one big theater room, and I'll be set.
>Enemies are darkened on death
Piles of bodies resulting from bigger fights were getting visually a little exhausting, so now they fade to look more like background set dressing, so there's no ambiguity about who's in and not in battle.
>Make enemies blind
Added an argument that precludes enemies from sight-based battle starting. Sometimes a guy is too busy doing what he's doing to be aware of his surroundings, god knows I know that.
>Fixed animation limitation for sprites
I had a pretty basic block in place to make sure corpses didn't animate anymore, but it also affected non-combat npcs. Now the blocks only apply to battle animations on dead combatants, and everything else is back to working.
>Made sure shooter and target are both onscreen to prevent cleaned-up bullets.
On their turn, enemies wait until they are onscreen before moving. Very rarely, on big maps, that enemy's target would still be offscreen and projectile objects are erased when they aren't visible anymore.
So buddy fires at his target, who is safely offscreen and thus at no risk. Based 4th wall.
>Retimed the battle animation curve
In battles, animations have 3 frames before returning to a set base sprite. The previous tuning was like [120,70,70,120] so the first frame would hang a bit longer, and there'd be a delay of 1.5+ seconds before that animation, and as such that move was considered 'done'.
After some experimentation, it's now [70,70,78,85], which makes actions feel punchier, more staccato, and there's less of an inherent delay between actions, which prevented it feeling responsive.
Now if the player wants to buttonmash through combat, they totally can, and it looks and feels fuckin' great imho.
>Changed ork and goblin sprites
Just a minor change, I wanted them to look more distinctive, more 1980s Games Workshop, less fisher price.
>Fixed item spawning on units
I had some trouble getting a certain enemy to spawn with a different gun than they have by default, so I put in some debug logging and accidentally discovered that every time I was adding an item to an enemy, it was generating an entire list of items, choosing the one it wanted, then discarding the rest.
So, so wasteful, and in honesty the way I was doing it was shitty anyway, so I switched the way I generate items and lists of items to be less expensive and easier to read.
>Came up with way to synch actions to music, regardless of computer specs (not tied to fps).
This way I can choreograph scenes like the intro and boss fights, to have events happening exactly when they're meant to. Before I was timing this by waiting frames, because on my computer 60 frames is roughly a second, go figure.
But on lower spec, if you can only manage 45fps, like my netbook, the synchronization will fall outta line really quickly, so the experience is lesser and everybody goes home feeling bad about themselves, exhausted from socially overstretching at the party and hoping everybody else didn't just find me obnoxious.
>Completely rebalanced all sound levels to be more consistent
This has been a long time coming, every time I make a video for youtube or something I realise how out of whack my sound levels are, and how low the whole mix is compared to everything else on my computer. So what I did was:
Rebalanced all my sound files to be roughly equal level across the board
Turned down every sound in the whole game at a software level
Set the music level higher than before, since it feels like the base,
Set the UI sound levels,
Balanced fight sounds, one section at a time, first attacks, then defends and shouts,
Brought up footsteps, reload sounds, ricochets, speech,
Turned off music,
Tweaked a few levels
And now I'm very happy with it. I can set a volume and just play the game for a while, and it all sits well.
>Fixed enemies not turning to face the direction they're firing.
It'd been like this a while and I figured out why and mitigated it.
>Fixed two subplots tracking with the same variables, whoops
Got done of one section, on to the next and arrived to find the girl pre-fucked.
That's definitely not supposed to happen, this isn't Subverse.
Instead of trying to reuse tracking variables and hope that I blank them later, I'll give girls their own. It's the least I could do.
>Much better, reusable weapon pickups
Before, in the demo, it was heavily scripted. Now it's one line and all I need to set are the sprite and object. I could automate it further, but the returns would be less. It's cool though, now it's so streamlined and re-usable I feel free to leave an axe lying around etc.
>Changed collision behaviour
This is a pt.2 to the changes I made last time. I took a look at how collision works by default in the engine and changed it.
By default, if you are standing on collision or the tile you want to go to has collision, you can't move. I think this is silly, so I edited to only consider where you're moving to, allowing characters to move OUT of tile collision, as long as there's a valid tile next to them.
This is useful for when I want to have enemies lying on a couch or sitting on tables spring into action for battle, or to have guys spawn in the black of a doorway and come running in without toggling individual collision each time and stuff.
>Fixed music change from battle to map
Before I had a simple wait, meaning you could finish a battle, leave the room, immediately get into another battle, then have the wait end and kick in with map music in the 2nd battle.
Now I use recursion to check during the wait and abort on map change or battle restarting.
>Added new unit for a bit of variety
Nice to have some more shooters.

To do notes:
Put in more final-sounding dialogue for scene.
Expand a little on bonus side girl
Finish the current floor with wandering monsters, items and the 2 or 3 characters I have planned
Add in a 3rd-act branching point, possibly locking player into one or the other.

I'll just be keeping on, really happy with how everything is going, feel really blessed.
But I could always use a little more energy, so pls gib below, or i report u <3


  1. based Oko trashing FOWcucks

  2. Based 0ko leading us to the promised land, one devpost and 10/10 song at at time

  3. Will the goblins be sexy?

  4. >Add in a 3rd-act branching point, possibly locking player into one or the other

    We Mass effect now bois

    We'll bang okay?

  5. Keep on keeping on, oko.
    The orc babes with milky tits will be glorious.

  6. You are my favorite game developer period and Ive been playing games nonstop for 32 years.

    1. That's such a lovely thing to say, thanks mate!