Does anyone have any suggestions for simplifying the programming for this?

Hi guys,

I've created a project which allows the user to choose how text appears in relation to the colour of the background (example attached).

To me, the triggers I've used to do it feel like they could be streamlined. I've created a shape, edited the background colour and text, then created several states of the different combinations. This shape was then duplicated several times to save time. I've then created a dropdown menu which dictates a number variable and in turn, change the state of each shape to the corresponding colour.

This took about 24 different triggers. Only because there were only 4 shapes on the page in total.

Can anyone simplify this? I suspect I'd be better off creating a UI/Nav in the slide master which would be used as a template for every slide.

Thanks, Darren

8 Replies
Eric Quarrell

Hi Darren,

You could also look doing the different color schemes by layer, that way your variables would show a specific layer at timeline start for each slide, and would eliminate the need for you to modify the state of every object on the screen. 

So if the user selects option 3 from your drop down, then the course will display the layer 3 color scheme. 

Sean Speake

The simpler way to do it might be to change the entire background based on the trigger. Typically this is done for low/high contrast reading - think Twitter's night-time view.

Then you would just have to change the text colour based on what the new BG colour is. Push the trigger to change the BG to the master slide and you should cut down on the total number of triggers you need.

Unfortunately there are no states on placeholders on master slides, otherwise this'd be very easy.

Edit: Another thought - you could simply create the same course in multiple scenes and use different master slides to control the appearance. Use a landing page with the colour selector to direct the learner to the appropriate scene. A nightmare for maintenance but would simplify the build quite a bit and remove the need for multiple triggers on each slide.