Compiler for Sonolus.js
Compiler is not meant to be used directly, instead use Sonolus.js.
Compiler is designed to compile only a subset of JavaScript, as a sizable portion of JS features are not needed for Sonolus engine scripting.
Notably, language features that do not exist in Sonolus runtime (strings, objects, arrays, etc) are only partially supported to the extend where they must be resolved at compile time.
buildMainTaskbuildCompileTask
assemble
Play:
ArchetypeSpawnableArchetype
Watch:
ArchetypeSpawnableArchetype
Preview:
Archetype
Play:
levelDatalevelMemory
Watch:
levelDatalevelMemory
Preview:
previewData
Tutorial:
tutorialDatatutorialMemory
CollectionContainerContainerTypeDataTypeDictionaryMatQuadRangeRectTupleVec
defineOptionsdefineSkin
Play:
defineArchetypesdefineBucketsdefineEffectdefineParticle
Watch:
defineArchetypesdefineBucketsdefineEffectdefineParticle
Preview:
defineArchetypes
Tutorial:
defineEffectdefineInstructiondefineParticle
Play:
CallbackEntityStateHorizontalAlignJudgmentHapticType
Watch:
CallbackEntityStateHorizontalAlignJudgment
Preview:
CallbackHorizontalAlignPrintColorPrintFormatScroll
Tutorial:
NavigationDirectionTutorialCallback
SkinSpriteId
Play:
EffectClipIdParticleEffectId
Watch:
EffectClipIdParticleEffectId
Tutorial:
EffectClipIdInstructionIconIdInstructionTextIdParticleEffectId
Play:
LoopedEffectClipInstanceIdParticleEffectInstanceIdScheduledLoopedEffectClipInstanceIdTouchId
Watch:
LoopedEffectClipInstanceIdParticleEffectInstanceIdScheduledLoopedEffectClipInstanceId
Tutorial:
LoopedEffectClipInstanceIdParticleEffectInstanceIdScheduledLoopedEffectClipInstanceId
compilerdebugnativesafeAreascreenui
Play:
audiobackgroundbpmChangesentityInfosinputlifescorestreamstimetimeScaleChangestouches
Watch:
audiobackgroundbpmChangesentityInfosinputlifescorestreamstimetimeScaleChanges
Preview:
bpmChangescanvasentityInfostimeScaleChanges
Tutorial:
audiobackgroundnavigationtime