Game
Tsalagi

2 years ago

I don't get it. It is clearly searching for a path. It has found a path. It just won't move Watched four different tutorials, none of them worked. Someone? Anyone? Bueller? (code in article if anyone wants to take a look)


func _physics_process(delta):

await get_tree().physics_frame

nav_agent.target_position = foll_pos.global_position

var dir = (nav_agent.get_next_path_position() - global_position).normalized()

velocity = velocity.lerp(dir * SPEED, ACC * delta)

move_and_slide()

I don't know, I'm going to have to take a few days to think about it. I don't get it. I'm tired. I have plenty of other little projects here to keep me busy



3 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

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.

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

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?

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.

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

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

Happy Joltidays! A new quest has entered your quest log. Accept the quest and follow @ElPichon to open today's slot on the calendar.

This game has gone through so many iterations it's not even funny anymore