Devlogs
spectacles engine v1.1
Posted December 04, 2023 by Sean
updated the spectacles engine download:
- added "setItem"/"getItem" localStorage utility functions
- added "silent" event for enabling/disabling logs
- added wakelock to prevent screensaver from activating during auto mode
- added "data-volume" and "data-rate" properties for setting initial values of audio elements in frame_sfx/frame_music
- added "data-next" property for image elements. this allows swapping to a second image suffixed with "-loop" after the specified timeout (useful for playing looping animations that have a one-off lead-in)
- updated "goto" to treat empty values as advancing a single line (this is useful for branching mid-scene with conditionally defined variables; an example is given in the sample project)
- added debug menu to frame_music for testing tracks
- added debug menu to frame_spectacles including plaintext script for proofreading, basic word/line count, and scene jump controls
- a few other minor bugfixes/debug improvements