Smooth enemy movement

Get help using Construct 2

Post » Wed Aug 15, 2012 11:36 pm

Thank you but could some of you be that specific and actually past a code example here? just take mine and reedit it. I am not programmer so I am totally lost :) sorry for so many questions.
B
8
S
2
Posts: 45
Reputation: 1,168

Post » Thu Aug 16, 2012 11:01 am

[QUOTE=Nimtrix] Here's one way to do it:
stepMovement.capx (r99)[/QUOTE]

So I think I finally understood this and got it work. Only problem is that when you start a game it immediately starts to move. I need to wait about 4 seconds on start of the game before all this moving
B
8
S
2
Posts: 45
Reputation: 1,168

Post » Thu Aug 16, 2012 11:15 am

Ups sorry I figured it out. What i did is:

I set variable can_move for enemy. Default value is 0.

system on start of the layout system wait 4 seconds. After the set value can_move to 1.

And then in condition which handle lerp movement I have if can_move = 1 then do the rest :)
B
8
S
2
Posts: 45
Reputation: 1,168

Previous

Return to How do I....?

Who is online

Users browsing this forum: CavalierBubble, Evanetot and 26 guests