How do I create a sprite in Random Color

Get help using Construct 2

Post » Sat May 09, 2015 11:10 pm

Hey guys,

my question is how can i create an Sprite with Random Color on it?

i have created one global variable called randomcolor with value 0

then i have do following on start of layout: Set "rgb("&random(255)&","&random(255)&","&random(255)&",1)" to randomcolor.

I think it should work with the SetColor effect?!
But i don't know how.

Maybe someone can help me?!
B
5
S
2
Posts: 24
Reputation: 579

Post » Sat May 09, 2015 11:47 pm

Okay solved by myself with instance variables :)
B
5
S
2
Posts: 24
Reputation: 579


Return to How do I....?

Who is online

Users browsing this forum: Instrex and 16 guests