Why doesn't my turret work like it should?

Get help using Construct 2

Post » Sat Nov 07, 2015 8:16 pm

I want my turret to try to be at the same altitude as the plyer by moving up and down. It should after 2 seconds stop moving and shoot.
http://postimg.org/image/ibevgazsn/
http://postimg.org/image/3ynqch4bv/¨

Here is my event sheets. The problem is that the the turret just moves to the ground and never shoot instead of moving up and down according to the player and shooting sometimes. Why does it do this?
B
11
S
2
Posts: 262
Reputation: 1,309

Post » Sat Nov 07, 2015 8:23 pm

you are setting the vectorY of the movement to the y-position of the sprite..
so if the sprite is at y=205 the 8direction will move 205px down per second..

You are alos setting the timer 650 to restart every tick, so it will never end,
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: facecrime and 25 guests