Turret - Help

Get help using Construct 2

Post » Wed Jul 24, 2013 3:43 pm

Hello, i've already looked in some tutorials, but the are all to games like "tower-defense" and I was looking for a different thing. I was using line of sight to when a enemy see the player, he transform into a turret (named "Enemyalert")and shoots the player, but a want like 3 shoots per second and he is shooting without stopping.
Another thing is how to make the bullet don't cross the walls?(I think this should be easy)
capx: https://www.dropbox.com/s/s1hez1q9ao61kou/Turret.capx
Sorry for my english
B
2
Posts: 8
Reputation: 166

Post » Wed Jul 24, 2013 4:05 pm

Add another condition to the spawn. system every 0.3 seconds.

If you want the bullets to be stopped by walls you should make the walls seperate sprites and make an event bullet on collision with walls destroy.
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

Post » Wed Jul 24, 2013 4:55 pm

I couldn't believe it was so easy. Just one more thing: When the enemy rotate and then see the player, the "Enemyalert" appear turned to the other side. How can I make him "appear" to where the Enemy was going?
This is a little hard to understand but if you see yhe capx you will see what I'm talking about.
Grateful now
Erickmwc2013-07-24 17:14:54
B
2
Posts: 8
Reputation: 166


Return to How do I....?

Who is online

Users browsing this forum: farsen, gskunk, Kyu, R0J0hound and 56 guests