Constant PowerUps

Get help using Construct 2

Post » Tue Apr 08, 2014 11:10 am

RamPackWobble;
I will look at what you've sent, just need to redownload to an updated version of construct-_-

Edit: Will not update it ._.
B
3
Posts: 11
Reputation: 201

Post » Tue Apr 08, 2014 12:54 pm

Can be done a few ways but here's how I'd go about it.

Set the enemy spawning events under a group.

On enemy destroyed, add one to a variable.
When that variable equals ten, Set group 'enemy spawning' deactivated, create object power up.
On collision with power up, wait a couple seconds, set group 'enemy spawning' activated. This removes the need for a variable to determine whether or not enemies are spawning.

Make sure you apply the "trigger once when active" condition so that only one power up spawns.
Also, I would do a separate event like Powerup - on created -> set bullet speed to random(10,80).

Is this what you're having trouble with or something I haven't picked up on?
B
7
S
2
Posts: 24
Reputation: 569

Post » Thu Apr 10, 2014 1:53 pm

Not exactly, I want it so that when the player kills 10 enemies, on the tenth spawn a power up and reset it so that the game can recount to 10 again to making another power up. Like the user ikke2902 explained in an earlier post, but it doesn't seem to be working properly.
B
3
Posts: 11
Reputation: 201

Previous

Return to How do I....?

Who is online

Users browsing this forum: Bro7hers, ketramtu18 and 9 guests