End of July 2026 Game Dev Report - How one change to Eri's behavior code turned her into a monster (Patreon)
Content
(REAL QUICK: IF YOU'RE VIEWING THE FILES BEFORE READING THIS WALL OF TEXT: ANTSU'S SPAM IS NOT GOING TO BE IN THE GAME, I JUST HAD THAT THERE FOR FEATURE TESTING PURPOSES)(At the bottom of this post, you will find extra videos of the game because there's audio I wanted to record)Hello again!I've been at this for nearly every waking moment for the past x amount of weeks. It's actually kinda fun! I've had several moments where I was mentally coding the next several functions before I could even begin to code the first lines of related functions, all by thinking about what I wanted to accomplish programming-wise (like, a game over state, a new passive dialogue box, etc.). It was really cool. It was like I was seeing what I needed to do next before I could even start.
Ontop of gifs, I also need to give you mp4s to really show you what's been accomplished since mid July- because, this time, there is audio. Some audio work went into the game this time around and now Eri leaves behind a smoke trail and has vanishing sound effects that are similar to Antsu's utility action smoke but its pitched down. Throughout the level, you can occasionally hear her giggling with glee like the big jolly bundle of joy she is. You can step into the light if you would like for her to tell you what's so funny. It's quite the mouthful!
Big changes have been made to Eri's behavior code where she will react to where Antsu is, if he's invisible, and if he's too far to reach. Now she will continue to pursue Antsu if she has seen him, and the only way to get her off of him is for him to use his utility action to vanish back into the darkness proper.
The "one change" I talked about in the title of this post is actually a little something I put at the very beginning of her behavior script: she has a chance to teleport to another designated point on the map- regardless if she's seen Antsu or not. She will be chasing Antsu one moment, fire a fireball the next (I'll talk about that in a bit :D) and then vanish into a puff of reddish-pink smoke, her laughter echoing throughout the inner sanctum of her mountain. This also means she has a chance to vanish and teleport elsewhere as well when Antsu uses his utility action to hide from her mid-chase. I have accidentally created very in-character behavior for Eri where she's doing things that make no sense for a pursuer like her, treating the whole scenario like entertainment, like a fox playing with their food. And all Antsu can do is just run and hide.
There's going to be collectibles spread throughout the map Antsu will have to collect to complete the level, all while dealing with her shenanigans, by the way. They will make the same jingle as the cards from the last level... but this time I put a little glowy effect around them so they'll be easier to see!
An artistically smokey border (ty Annika!) now surrounds the edges of the game screen along with a sorta subtle blue-ish tint that will be the biggest visual tell that Eri cannot see Antsu- which goes away when Eri sees- and has started pursuing him.
Dialogue of Eri talking to Antsu will pop up during certain events and sometimes at random. Especially when he's hidden from her. She knows he's there. After all, this is as much of a game for her as it is for you, the player.
Ontop of there being a proper game-over state, there is now also a fireball that Eri fires. It is her answer to Antsu being able to get into places she can't reach and also her answer to Antsu's utility action- which is his biggest helper to getting the giant golden fox off his tail.
What the fireball does exactly is entirely dependent on Antsu's current amount of health points. (Antsu has hp now, btw. I coded it, like, last year. And I'm just now making use of it.)
If the fireball hits Antsu, his health will not only deplete, but Antsu's utility action (the purple smokey effect that makes him run faster) will not trigger, and makes his utility action go on a cooldown for about 8 seconds (not final). If a fireball "KO's" Antsu, his health will replenish- but teleport him infront of Eri- where she is very likely to eat him.
Each time Eri eats Antsu, his max hp decreases. If his max hp hits 0, then it's game over. Antsu will be Eri's tummy-pet while she goes off to watch anime on TV or something. (not actually the gameover scene, but it would be funny)
Thankfully, the first area that you'll be dropping into will be devoid of Eri and her shenanigans, blocked off by a gate that can only be opened by striking the drum next to it either with an air kick or a melee tail slap. Next week, I'm hoping to add some mechanics to the beginning area that'll help teach the player that standing in the light is very, very bad. (Unless you want to get eaten, of course. Then it's the best thing that can happen.)
With the help of some friends more knowledgeable in coding than I am, Eri now looks towards Antsu's general direction whenever she is chasing him and her "grapple" animation is better sync'd with Antsu's. There's still some desyncing every now and then when that particular animation plays but I'm hoping I'll be able to fix that next week (though, it has something I've been "fixing" almost every week, so I'm not sure how much more perfect I can make it)
Apart from updating the floating patrolling wisps to no longer be Kiko's head png constantly spawning, there is also a proper link TO and FROM the level now... connecting to and from the HubWorld where you'll access this level by going through a torii gate. Antsu's eyes also had some weird issues for several months I finally was able to fix... ... actually, I think the rest I've done have been bug fixes. There might be some more features I'm totally forgetting to mention that have been added to the game, but there's honestly been so much done these past few weeks that I'd be surprised if I mentioned it all.
Plans for next week are to finalize the placement of assets, UI, collectibles, testing the game and it's loop... and finally figuring out what's going on with cast deformations- which I've gotten partially working.
I am not making any promises that I will be getting ALL of this done by next week, but it would be pretty cool.
Also here's some videos showcasing some gameplay with sound:https://drive.google.com/drive/folders/1m94vGjGBPFe-8ibHM_IMYVwhDh9eWhEP
If you made it this far, thanks for reading!
~ Antsu