{ "constants": { "image_interval": 3.0, "transition_duration": 0.5, "tip_interval": 8.0, "random_slide_order": false, "tip_seed": "generate_seed()", "slideshow_seed": "generate_seed()" }, "functions": { "slideshow_frame_inner(float timeSub)": "floor((time - timeSub) / image_interval)", "slideshow_frame(float timeSub, int count)": "random_slide_order ? ( random_int( slideshow_seed, slideshow_frame_inner(timeSub), count ) ) : slideshow_frame_inner(timeSub)" }, "variables": { }, "renders": [ { "image": { "parent": "builtin/slideshow", "image": "config:slideshow_#.png", "frame": "slideshow_frame(transition_duration, frame_count)", "position_type": "CENTER", "offset_pos": "CENTER", "colour": "0xFF_FF_FF_FF", "position": { "x": "0", "y": "0", "width": "screen_width", "height": "screen_height" }, "texture": { "x": "0", "y": "0", "width": "1", "height": "1" } } }, { "image": { "parent": "builtin/slideshow", "image": "config:slideshow_#.png", "frame": "slideshow_frame(0, frame_count)", "position_type": "CENTER", "offset_pos": "CENTER", "colour": "0xFF_FF_FF | (0xFF_00_00_00 & (0x01_00_00_00 * floor(0xFF * min(1, ((transition_duration <= 0.01) ? (0) : (time/transition_duration)) % image_interval ))))", "position": { "x": "0", "y": "0", "width": "screen_width", "height": "screen_height" }, "texture": { "x": "0", "y": "0", "width": "1", "height": "1" } } }, { "image": { "parent": "sample/dirt_background", "position_type": "BOTTOM_CENTER", "offset_pos": "BOTTOM_CENTER", "position": { "height": "2 * 16" }, "texture": { "height": "4" } } }, { "image": { "parent": "sample/bottom_bar", "position_type": "BOTTOM_LEFT", "offset_pos": "BOTTOM_LEFT", "colour": "0xFF_00_00_00", "position": { "width": "screen_width", "y": "-32" } } }, { "image": { "parent": "sample/bottom_bar", "position_type": "BOTTOM_LEFT", "offset_pos": "BOTTOM_LEFT", "colour": "0xFF_33_55_FF", "position": { "y": "-32" } } }, { "image": { "parent": "builtin/text", "text": "status", "position_type": "BOTTOM_LEFT", "offset_pos": "BOTTOM_LEFT", "position": { "x": 10, "y": -16 } } }, { "image": { "parent": "builtin/text", "text": "sub_status", "position_type": "BOTTOM_LEFT", "offset_pos": "BOTTOM_LEFT", "position": { "x": 10, "y": -4 } } }, { "image": { "parent": "builtin/text", "text": "(floor(percentage * 100)) + '%'", "scale": 2, "position_type": "BOTTOM_RIGHT", "offset_pos": "BOTTOM_RIGHT", "position": { "x": -10, "y": -5 } } }, { "image": { "parent": "builtin/text", "text": "(has_tips() & tip_interval > 0) ? tip(random_int(tip_seed, floor(time / tip_interval), tip_count())) : ''", "position_type": "BOTTOM_CENTER", "offset_pos": "BOTTOM_CENTER", "position": { "x": 0, "y": -10 } } } ], "factories": [ ], "actions": [ ] }