How do I make an object stay at a certain place to player

Get help using Construct 2

Post » Sat Oct 03, 2015 6:52 pm

The title is bad, but it's hard to explain. I'm trying to make runaway AI for my game and I want it to run away from the player through pathfinding to help it dodge trees and look semi-realistic. The problem is that I have nothing to make it pathfind to, and therefore require a way to move an object to a certain distance away from the player, and also always stay infront of the player. But I'm having a problem with that as well because the players can simply turn away from the object running away to draw it towards the player. So my question is, how do i properly make an object pathfind away from the player, or simply run away from the player and dodge solid objects as pathfinding would? I'm getting very frustrated because I really want this to work but I have no idea where to begin and what to even do! Please help me!
B
28
S
11
G
4
Posts: 77
Reputation: 4,321

Post » Mon Oct 05, 2015 5:17 pm

Your trying to get this object to run and dodge things?

What type of game is this? Platformer? or top down?
Justin
Eat ALL THE BACON!
B
47
S
17
G
3
Posts: 290
Reputation: 5,068

Post » Mon Oct 05, 2015 9:16 pm

antares330 wrote:Your trying to get this object to run and dodge things?

What type of game is this? Platformer? or top down?
Justin


Sorry, I don't need help anymore! Thanks anyways!

BTW, it's a top down.
B
28
S
11
G
4
Posts: 77
Reputation: 4,321

Post » Mon Oct 05, 2015 10:52 pm

Glad you got it resolved...
Eat ALL THE BACON!
B
47
S
17
G
3
Posts: 290
Reputation: 5,068


Return to How do I....?

Who is online

Users browsing this forum: Armench, Blendi1223 and 15 guests