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
14
S
4
G
2
Posts: 45
Reputation: 2,056

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
71
S
19
G
8
Posts: 640
Reputation: 9,701

Post » Thu Feb 02, 2017 7:04 am

Enemy On created > Set Enemy platform speed to random(100,200).
B
41
S
10
G
9
Posts: 213
Reputation: 7,089

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
14
S
4
G
2
Posts: 45
Reputation: 2,056

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
32
S
5
Posts: 117
Reputation: 2,159


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 8 guests