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

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

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.

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

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

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

Play @pm-studios ' Bandit Trap Open Beta!

Grab your rocket chairs, vacuums, and toilet tornadoes! Report one more time for our final beta! Live through March 23rd 6 am CET.

Complete quests based on the game!

Play the beta: https://bit.ly/BanditTrapBeta

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?

NEW PACKAGES AVAILABLE NOW!

Version 1.1.0 is now available for Linux and Windows

-Platform bugs fixed where player fell through the floor

-Area 2 accessible through Level 8

-Minor spiffing up, wax and polish

BIG NEWS: Your Bandit can wear a Game Jolt hat and shirt in Bandit Trap!

Defend your home or steal treasure in the open beta: https://bit.ly/BanditTrapBeta

It ends on March 23rd at 6 am CET!

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