Hi Jodi. Glad you liked it! To answer your question, javascript was only used to enable the screen printing functionality. The rest was all Storyline:
- I created one shape that had 6 states: white plus the five colors.
- Then I made a variable called paint_color that changed based on the number typed.
- Then I made five triggers that changed the shape's state when the mouse hovers over if paint_color equalled 1,2,3 etc.
- Then I copied this shape enough times to fill the screen.
Here's a link to the source file in case you're curious :
https://drive.google.com/file/d/1RUZr_JstIRd0Ab7KfxAg59e9x_XnfDgU/view?usp=sharing(Be warned that the large number of shapes on the base layer slows SL down quite a bit. I ended up hiding everything on the base layer during development to speed things up and then un-hiding right before publishing.)