Game
Tsalagi

1 year 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

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

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.

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

We've updated the trending section of the Game Jolt Shop! http://gamejolt.com/#shop

Snag a new avatar frame and a sticker pack or two!

Remember, every purchase supports our creators and our community!

Support creators, shop on Game Jolt! #broadcast

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

Happy #WIPWednesday! Are you working on a game? Making some art? Practicing a song? Something else? Tell us in the comments!

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?

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

This week's Fan Art Friday celebrates #CronosNewDawn

Accept the quest in your quest log to get started.

GJ Pro-Tip: Not sure what to make? Check out the game's Steam page for inspo: https://bit.ly/cronos-steam

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