Why doesn't my 8 Direction Movement work?

Get help using Construct 2

Post » Thu Nov 05, 2015 9:37 pm

I want a enemy to begin with moving diagonially downwards but after 3 seconds move diagoninally upwards. To do that you make the event simulate control up and simulate control left and thus the enemy moves diagonially downwards. Then you make a timer that last 3 seconds. Then you make a second 8 direction behavior. After 3 seconds have passed you make the first 8 direction disabled and make 8 direction2 simulate control up and simulate control left. If this worked rigth the enemy should begin by moving diagonially up and then move diagonially up. But instead it just moves diagonally down even after 3 seconds has passed. Why doesn't the timer work in this situation? If this isn't clear enough i will share my event sheet.
B
12
S
2
Posts: 267
Reputation: 1,344

Post » Thu Nov 05, 2015 9:40 pm

your problem is: After 3 seconds have passed you make the first 8 direction disabled if its disables, THEN you have to re-enable it before you do: make 8 direction2 simulate control up and simulate control left
B
37
S
15
G
7
Posts: 1,681
Reputation: 9,614

Post » Thu Nov 05, 2015 9:41 pm

There is no need to add a second 8direction..
Why not just set the first one to simulate pressing up and left.. (or right if that's what you want)
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], Jackriduk, kiki4construct and 25 guests