How do I set a random font color

Get help using Construct 2

Post » Sat Sep 20, 2014 11:51 pm

It's telling me that the value "random" isn't a parameter and must have atleast one. Help pl0xors
B
4
Posts: 14
Reputation: 228

Post » Sun Sep 21, 2014 12:54 am

Try:
On Event > Set font colour to rgb((floor(random(255))), (floor(random(255))), (floor(random(255))))
B
56
S
15
G
13
Posts: 826
Reputation: 17,705

Post » Sun Sep 21, 2014 3:22 am

or int(random(255))
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
64
S
14
G
3
Posts: 292
Reputation: 7,188

Post » Sun Sep 21, 2014 10:35 am

Try this little demo
You do not have the required permissions to view the files attached to this post.
B
257
S
42
G
15
Posts: 1,992
Reputation: 41,435


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests