Enemy fire

For questions about using Classic.

Post » Sat Nov 14, 2009 3:10 am

I want my enemies to randomly fire at my player, with a maximum of 2 times per each enemy.

You see, they are moving in and out of the screen, I want them to fire twice each time they are on screen, then travel off screen. I dont want them to fire twice in a row though, it should be random.

Any suggestions. I haven't seen any tutorials on enemy fire if someone would like to point on out to me though, I'd much appreciate it.
B
2
G
3
Posts: 24
Reputation: 898

Post » Sat Nov 14, 2009 3:22 am

Open up construct and if i remember correctly there is a template that has AI turrets.. that should provide basic enemy fire..
B
2
S
1
G
3
Posts: 49
Reputation: 1,098

Post » Sat Nov 14, 2009 6:47 am

Template? I don't see any area in the menu that offers templates.

EDIT: I found them. File-New-New Template
B
2
G
3
Posts: 24
Reputation: 898

Post » Sat Nov 14, 2009 5:10 pm

Topics like this belong in the help and Tech support forum not in the plugins and behaviors.....
B
5
S
2
G
4
Posts: 632
Reputation: 2,829

Post » Sat Nov 14, 2009 5:17 pm

Moved to help & tech support.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Sat Nov 14, 2009 6:09 pm

Why not, isnt this a behavior and event situation?
B
2
G
3
Posts: 24
Reputation: 898

Post » Sat Nov 14, 2009 7:59 pm

[quote="Squeedom":3hxc4i5n]Why not, isnt this a behavior and event situation?[/quote:3hxc4i5n]
Yes, but this board is for questions pertaining to development of new plugins and behaviors as can be seen in the board description:

"The SDKs and effect development."
Moderator
B
98
S
37
G
19
Posts: 1,584
Reputation: 17,817


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 6 guests