Playing with colors in Captivate (2)

Hello Captivaters !…

Another project where I play with the colors !…

The objects :

I use 4 buttons to define the colors (and of course you can use as many as you want !…)

I use as many objects as I want… I use SVGs.

All these objects have different shapes (one for each color) and are selected as buttons, so when clicked triggered an action (change color).

I name them : Object_1 , Object_2 , Object_3 … …

I name the shapes : Green, Red, Yellow, Blue

(As you transformed them in buttons, Captivate add two shapes by default, you can delete them…)

The variable :

Only one is needed to define the selected color : V_Color

The codes :

1./ First, I select a color :

When I click on a colored button, I assign the color to the variable. So for example  :

Read the full story by

Tags:

RELATED READS
Learning in the flow of work: Relevancy is key Taking a failed quiz again after review
We are updating our Privacy Policy, so please make sure you take a minute to review it. As of May 25, 2018 your continued use of our services will be subject to this new Privacy Policy.
Review Privacy Policy OK