How do I SPEED UP ENEMIES BASED ON GLOBAL SCORE?

Get help using Construct 2

Post » Mon Feb 09, 2015 4:32 am

This has probably been answered, but I dug and didn't find much. How do I speed up enemy over time, or based on the global score?

Thanks for your help in advanced!
B
3
Posts: 4
Reputation: 183

Post » Mon Feb 09, 2015 4:55 am

If GlobalScore >= 20,000 | Set EnemySpeed to EnemySpeed + 1
If GlobalScore >= 40,000 | Set EnemySpeed to EnemySpeed + 1
If GlobalScore >= 60,000 | Set EnemySpeed to EnemySpeed + 1

Do you understand the logic now?
B
56
S
15
G
13
Posts: 826
Reputation: 17,705

Post » Mon Feb 09, 2015 5:13 am

I'm fairly new to this ... where do I add the If / Then statement?
B
3
Posts: 4
Reputation: 183

Post » Mon Feb 09, 2015 6:32 am

If you want a more automated way than Takniko wrote, in the moving event just put something like set move speed to 1 + globalscore * 0.5 or whatever you want it to iterate by. You can even put ^ to make it curve in a parabola fashion depending on what you put after the ^
B
45
S
13
G
1
Posts: 236
Reputation: 4,010

Post » Tue Feb 10, 2015 3:23 am

Hello and thanks for the help.

How specifically do I access the moving event? I've have my enemy running bullet movement. Do I need to add custom movement to use "set move" or is it located somewhere else?

Thanks!
B
3
Posts: 4
Reputation: 183

Post » Tue Feb 10, 2015 7:36 pm

Does anyone have an idea for this? Thank you!
B
3
Posts: 4
Reputation: 183


Return to How do I....?

Who is online

Users browsing this forum: Akia410, Yahoo [Bot] and 7 guests