Videos and reviews

Example 4 – paint_my_cube

This example shows simple application for painting on the cube with several commands. Serves perfect as script example, that can be placed by CUBE MANAGER into MYCUBE place. Tap from side changes color of brush, tap from top draws with selected brush. Double tap from top fills the top side. Double tap from side runs small animation with music. Double tap from bottom erase whole cube and single tap from bottom moves one action back. This example also shows more advance work with Push Pop Arrays and Variables. Push Pop Array is used for storing actions and variable is used for keeping the art-work in non-volatile memory. If named variable exists, it is loaded every time with animation when the script starts.