Game
Tsalagi

2 years ago

Okay, I'm done for the night. I'm too mad Decided to do some work on the followers so they turn and move a little better and managed to break them entirely. Screw it. I'm going to go play a game that works


Originally just used a NavAgent so the follower would use pathfinding to follow the player. Nothing fancy, just got the job done for basic demonstration purposes.

Attempt 1: State Machine similar to the player. Rather illogical given that they are only following the player and the battle map handles most of those actions.

Attempt 2: Rewrite the NavAgent to be more sophisticated in how it handles pathfinding and what to do when it gets too close or too far from the player, also flipping between face_left and face_right appropriately.

With my attempt to use the State Machine, upon map loading, the player would suddenly get launched into the abyss for unknown reasons. Going back to the NavAgent basically solved that problem, but then it seemed to think that the follower was loading in before the NavMesh it would use to calculate distances etc., so it wouldn't do anything but throw errors. It would, however, continue to flip the follower face_left or face_right as appropriate.

Get frustrated, decide to go back to the nice, safe, easy code I had at the beginning, the non-flipping NavAgent I've been utilizing so far.

It no longer works.

I changed nothing in the NavMesh. I changed nothing in the player. This was the NavAgent that has been working and doing just fine for weeks. Now it doesn't work.



0 comments

Loading...

Next up

Lots of modeling the last few days. Got some houses made, remade some of my terrain blocks (rebuilt the harbor), and started on the NPC models. Also worked on the battle system and the follower system, now with 1/10th the code but 10x more efficient

With exception of some minor odds and ends, the home interior sheet is finished, which means I can start on all the levels. The next house (level 9) is an old farmhouse, the kind that had a bazillion rooms

Doing some designing of the main village, mostly so I can get some connections in and get the next part of the opening cutscenes roughed in.

Doki Doki Literature Club is celebrating Monika's birthday and the 8th anniversary of DDLC with exclusive stickers, avatar frames and backgrounds on Game Jolt! 

Head over to the shop to collect yours 👉 https://gamejolt.com/#shop

Working on battles. A little different than last time, aesthetically, but still the same basic idea

Mae Borowski is the main character of Night in the Woods! It's an adventure game that tells the story of her return to her hometown of Possum Springs. She was confirmed as canonically pan in a social media post by the game's creator Scott Benson.

Oh no! Jelly blobs of doom!

They're only supposed to be the size of a mini-yux

But doesn't he look so much more prepared for adventure?

And yes, she is carrying a deer foot staff, modeled after one hanging in our house

Ah, yes, Grandpa and Grandma's old farmhouse, with a million rooms, basement full of mason jars, and the old '57 Chevy in the garage

I mean, not my Gramma and Grampa, but someone's, right?

The Knightling launches on August 28! Wishlist it now so you don't miss out: https://bit.ly/KnightlingSteam

To celebrate the game's impending release, we've added The Knightling Pack and The Knightling Community Pack back to the Shop!

Decided to do some work on the save/load. Name, Chapter, and even Total Play Time CORRECTLY FORMATTED Will work on the chapter banners later. Free time formatting code below