How do I make my enemies have random acceleration speed?

Get help using Construct 2

Post » Wed Feb 01, 2017 11:27 am

I really want to set my enemies to random acceleration speed but I just don't know how. Tried with commas but it does not work so yeah... help? :(
B
19
S
8
G
3
Posts: 72
Reputation: 3,168

Post » Wed Feb 01, 2017 1:52 pm

random(0,10) (or whatever values.. 0.1,10000.. etc)

There are other random options for more precise values, see manual for them,
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
73
S
20
G
8
Posts: 642
Reputation: 9,864

Post » Thu Feb 02, 2017 7:04 am

Enemy On created > Set Enemy platform speed to random(100,200).
B
44
S
11
G
9
Posts: 228
Reputation: 7,295

Post » Sat Feb 04, 2017 5:39 am

anty21ro wrote:Enemy On created > Set Enemy platform speed to random(100,200).


Hey! Thanks! :D
B
19
S
8
G
3
Posts: 72
Reputation: 3,168

Post » Sat Jun 24, 2017 7:05 pm

in a top down shooter, when a spite moves when in line of sight, set bullet speed to random(100,600) makes the sprite speed up and slow down. it doesn't set a constant speed.

is there a way to set a constant rate of speed within a range?
Play Ball Walker App Store | Google Play | Amazon
Image
B
39
S
6
Posts: 142
Reputation: 2,524


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 49 guests