Goodnight, Sweet Fox (To Spring: Dev Blog #7)

Evening ladies and gents! I sincerely hope that no strangers from a rival household have touched your face since last we spoke. I’ve got a lot to catch you up on so hold tight, I’m delving straight into the deets.

Zoom, Glorious Zoom

I made the mother of all breakthroughs! Get the fuck in there! I was showing my mate Tom the newest video (Over Whatsapp, not in person. I’m not a fucking psychopath) which included the bear. His feedback was that the bear wasn’t big or imposing enough. It didn’t feel like enough of a threat. I didn’t really want to make the bear any bigger, but this did give me a fantastic idea: What if instead of making the bear bigger, the camera zoomed further in the slower you’re moving and zoomed further out the faster you go?? It’s a brilliant solution to the vision headache I’ve given myself over the last week or so, even if I say so myself. For example, if you’re running along searching for food, the view opens up and you can see more of the map, but if you’re cowering under a pile of snow as a bear passes by, the camera zooms right in, making you feel insignificant and helpless as it’s huge, beefy legs crash down in front of you. Tom then capped off his fantastic performance in our conversation by saying “Maybe too cheesy, but could the frame or the ground rumble slightly as it walks?” Yes it fucking could, Tom.

The astutest of you will notice I gave the rumble the same treatment as I’ve given the bear sounds, in that it gets “louder” (or more intense) as the bear gets closer and fades away as it walks off. So the above video is the condition I left the game in last night and I felt chuffed to bits. In about an hour and a half of extra coding I felt like I’d created much more of an atmosphere of horror in these moments where you’re hiding from predators. The thing is, the bear didn’t actually do anything if it saw you. Until today.

BEAR ATTACK!!!

I spent this afternoon writing a looooot of logic into my bear. If you get within it’s inner radius, it stops. If you get to the other side of it and it sees you, it turns around and follows you. Eventually though I took a long breath and dived back into sprite work. It didn’t take long actually, as I only ended up creating a neutral pose for the bear and moving one of his front legs up as the attack. It’s not the best animation I’ve made and I may come back to it later when I’m looking to add finishing touches, but it’ll do for now. I sorted the bear’s footprints too, as they look quite janky in the above video but now look basically fine. I’ve also added new sound effects for the bear. You may have noticed the booming footsteps before, but there’s also now a roar, a swooshing sound made when he swings his arm and a… Sort of splatter sound when he hits the player. This brings us to our next point…

Death Comes To Us All. Even Foxes :/

Now THIS sprite work took me a while longer and every moment was heartbreaking. If the bear can attack, the fox has to be able to die. Every game needs a lose condition. I made an animation that starts with the neutral player pose and sort of falls awkwardly to the floor. As it stands I think a 2 strike rule is fair enough. The player can withstand a single hit from the bear, but after the second, it’s game over.

I Feel Awful (But Fairly Smug)

Hey let’s dwell on this whole death subject for a bit longer because when the bear hits the fox, blood now spurts out too! It’s not too gory, just a few flecks that fly off in the direction you’ve been hit. I was actually quite pleased with myself for the way I implemented this. You may remember a few dev blogs back I mentioned that dust effect that I nicked from Shaun Spalding. Well the dust now takes a colour into consideration: Grey if I want snow to fly up, red if I want blood. Quite a tidy use of code if I say so myself.

Final Touches Of Note

Last couple of things before I break out the demo video tying all of this together: Firstly, I’ve added a lot of fade outs and fade ins. After deaths, before the title screen etc. And secondly, I’ve just implemented a logo screen that comes up before the game starts. The logo is a reused sprite from Player Power and is essentially an in-joke with myself until the game launches on Steam, along with my initials underneath. I call it “Sad Chicken” and it too fades in and out.

So yep, that’s been my extremely sedentary weekend. Hope you’re all keeping well and have a great week.

Soap those digits up real nice, fool.

Cheers,

Dave

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s