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

Did some more work trying to fix up whatever went wrong and...yeah, let's just cut to the end where it didn't work

Started a new project, made some changes, derped around a little, made this cute little guy

Behold my beautiful canoe!

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

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

#gjbroadcast

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

Dive into the cozy post-apocalyptic open world of Critter Cove!

Gentleman Rat Studios (@GR-Rob ) describe it as “a little bit Animal Crossing, a little bit Stardew Valley. Maybe even a little bit Windwaker, too."

Wishlist the game: https://bit.ly/CritterCove

Battle State Machine is working Player chooses what to do, enemies choose what to do, and they even have variable rates of attack/defend/flee. Next step will be to actually start dealing damage

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.

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.

Today's accomplishments include a rather smooth state machine, a functioning opening cutscene, and name input. It's not pretty, but there aren't any bugs