UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

30 lines (26 loc) 719 B
/** * * @enum {number} */ export const SoundTrackFlags = { Loop: 1, Playing: 2, StartWhenReady: 4, /** * URL field is not a path to actual resource, but instead an alias that needs to be resolved */ UsingAliasURL: 8, /** * If set, this flag will result in track being scheduled instead of starting immediately, this will result in pore precise time synchronization * as a trade-off, there will be a delay until next system update tick */ Synchronized: 16, /** * Track is not actually playing, only time is being advanced */ Suspended: 32, /** * Track is loaded and ready to play */ Ready: 64 };