Help pikmin follow

please do that. i need it

1 Like

Here, hope this helps!

its not working. am i supposed to copy the code? @Good_Games the pikmin stops when i get close but when i move away it doesnt follow me

Yeah, copy the code and put it in your pikmin. I also noticed that, the code you used (by hihilogic) is based for a platformer game. This is the reason it will not follow you up/down.

This is better if you don’t want to rotate the sprite.

Ooh, I see what you did here.

1 Like

Yeah, I put in his pikmin game, and it was really wierd having it rotate.

Yeah, I thought so too. That’s what I was going for originally, but I figured out that it wouldn’t look all that good, so I dropped the request.

1 Like

heh use JR01’s angle to speed bundle, solves everything and you don’t have to use two objects

2 Likes

Yeah, I was making it real quick, so I didn’t spend a lot of time on it.

WASD

1 Like

Well, you beat me to it!

1 Like

lol it’s basicly the same, except urs is better looking

2 Likes

And your proximity is 1000 times larger.

For the following one there’s a huge problem. Pikmin is a game where you control an army that follows you. Not one Pikmin of each type follows you. The limit pikmin you could have is 100. I placed 5 red cubes down and already found the problem I had encountered before. When there’s multiple of companions following you the few that are in the far far back will still be following you since they’re in the farther spot and they believe they aren’t close to the player enough therefore pushing the other red cubes and making you slide a little bit until they are close enough to the player according to the proximity.

1 Like

OH… Ok I’ll make another example for that, but that is a bit more complicated so I’ll get it finished later.

1 Like

Here, I actually had time to do this, here it is, is this kinda how it should work?

@Deadly_Smile @Arcademaker is this good??
https://flowlab.io/game/view/2426482

3 Likes

YES! I mean it works. but now I need to throw them and whistle them back. @Deadly_Smile @Deadly_Smile

1 Like

For whistling you could make it so that the pikmin don’t follow you at first. But when colliding with some kind of whistle object a switch will turn on so the pikmin could move to follow you again.
I can’t make an example right now though. Since Flowlab is blocked for me on my school laptop.

1 Like