@rb-games/core 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +488 -0
- package/dist/devtools/DraggableController.d.ts +10 -0
- package/dist/devtools/DraggableController.d.ts.map +1 -0
- package/dist/devtools/ResizableController.d.ts +19 -0
- package/dist/devtools/ResizableController.d.ts.map +1 -0
- package/dist/devtools/index.d.ts +7 -0
- package/dist/devtools/index.d.ts.map +1 -0
- package/dist/devtools/index.js +884 -0
- package/dist/devtools/index.js.map +1 -0
- package/dist/devtools/overlayPlugin.d.ts +3 -0
- package/dist/devtools/overlayPlugin.d.ts.map +1 -0
- package/dist/devtools/spinePropertiesPlugin.d.ts +3 -0
- package/dist/devtools/spinePropertiesPlugin.d.ts.map +1 -0
- package/dist/devtools/spriteTextPropertiesPlugin.d.ts +3 -0
- package/dist/devtools/spriteTextPropertiesPlugin.d.ts.map +1 -0
- package/dist/devtools/treePlugin.d.ts +7 -0
- package/dist/devtools/treePlugin.d.ts.map +1 -0
- package/dist/engine/PixiEngine.d.ts +404 -0
- package/dist/engine/PixiEngine.d.ts.map +1 -0
- package/dist/engine/index.d.ts +2 -0
- package/dist/engine/index.d.ts.map +1 -0
- package/dist/engine/index.js +1818 -0
- package/dist/engine/index.js.map +1 -0
- package/dist/filters/ChromaKeyFilter.d.ts +64 -0
- package/dist/filters/ChromaKeyFilter.d.ts.map +1 -0
- package/dist/filters/index.d.ts +2 -0
- package/dist/filters/index.d.ts.map +1 -0
- package/dist/filters/index.js +248 -0
- package/dist/filters/index.js.map +1 -0
- package/dist/helpers/AssetHelper.d.ts +117 -0
- package/dist/helpers/AssetHelper.d.ts.map +1 -0
- package/dist/helpers/SVGAssetHelper.d.ts +397 -0
- package/dist/helpers/SVGAssetHelper.d.ts.map +1 -0
- package/dist/helpers/SVGLoader.d.ts +46 -0
- package/dist/helpers/SVGLoader.d.ts.map +1 -0
- package/dist/helpers/SVGParser.d.ts +121 -0
- package/dist/helpers/SVGParser.d.ts.map +1 -0
- package/dist/helpers/eventBridge.d.ts +150 -0
- package/dist/helpers/eventBridge.d.ts.map +1 -0
- package/dist/helpers/index.d.ts +8 -0
- package/dist/helpers/index.d.ts.map +1 -0
- package/dist/helpers/index.js +702 -0
- package/dist/helpers/index.js.map +1 -0
- package/dist/helpers/mergeUtils.d.ts +21 -0
- package/dist/helpers/mergeUtils.d.ts.map +1 -0
- package/dist/helpers/resolvePublicPath.d.ts +6 -0
- package/dist/helpers/resolvePublicPath.d.ts.map +1 -0
- package/dist/i18n/index.d.ts +2 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +527 -0
- package/dist/i18n/index.js.map +1 -0
- package/dist/i18n/sharedI18n.d.ts +11 -0
- package/dist/i18n/sharedI18n.d.ts.map +1 -0
- package/dist/layout/Align.d.ts +126 -0
- package/dist/layout/Align.d.ts.map +1 -0
- package/dist/layout/Bounds.d.ts +120 -0
- package/dist/layout/Bounds.d.ts.map +1 -0
- package/dist/layout/Distribute.d.ts +103 -0
- package/dist/layout/Distribute.d.ts.map +1 -0
- package/dist/layout/Flow.d.ts +213 -0
- package/dist/layout/Flow.d.ts.map +1 -0
- package/dist/layout/PositionUtils.d.ts +57 -0
- package/dist/layout/PositionUtils.d.ts.map +1 -0
- package/dist/layout/index.d.ts +6 -0
- package/dist/layout/index.d.ts.map +1 -0
- package/dist/layout/index.js +673 -0
- package/dist/layout/index.js.map +1 -0
- package/dist/particle/Emitter.d.ts +290 -0
- package/dist/particle/Emitter.d.ts.map +1 -0
- package/dist/particle/EmitterConfig.d.ts +228 -0
- package/dist/particle/EmitterConfig.d.ts.map +1 -0
- package/dist/particle/LinkedListContainer.d.ts +7 -0
- package/dist/particle/LinkedListContainer.d.ts.map +1 -0
- package/dist/particle/Particle.d.ts +63 -0
- package/dist/particle/Particle.d.ts.map +1 -0
- package/dist/particle/ParticleUtils.d.ts +97 -0
- package/dist/particle/ParticleUtils.d.ts.map +1 -0
- package/dist/particle/PropertyList.d.ts +40 -0
- package/dist/particle/PropertyList.d.ts.map +1 -0
- package/dist/particle/PropertyNode.d.ts +74 -0
- package/dist/particle/PropertyNode.d.ts.map +1 -0
- package/dist/particle/SpineEmitter.d.ts +55 -0
- package/dist/particle/SpineEmitter.d.ts.map +1 -0
- package/dist/particle/SpineParticle.d.ts +74 -0
- package/dist/particle/SpineParticle.d.ts.map +1 -0
- package/dist/particle/behaviors/AccelerationMovement.d.ts +62 -0
- package/dist/particle/behaviors/AccelerationMovement.d.ts.map +1 -0
- package/dist/particle/behaviors/Alpha.d.ts +60 -0
- package/dist/particle/behaviors/Alpha.d.ts.map +1 -0
- package/dist/particle/behaviors/AnimatedTexture.d.ts +111 -0
- package/dist/particle/behaviors/AnimatedTexture.d.ts.map +1 -0
- package/dist/particle/behaviors/Behaviors.d.ts +71 -0
- package/dist/particle/behaviors/Behaviors.d.ts.map +1 -0
- package/dist/particle/behaviors/BlendMode.d.ts +31 -0
- package/dist/particle/behaviors/BlendMode.d.ts.map +1 -0
- package/dist/particle/behaviors/BurstSpawn.d.ts +43 -0
- package/dist/particle/behaviors/BurstSpawn.d.ts.map +1 -0
- package/dist/particle/behaviors/Color.d.ts +60 -0
- package/dist/particle/behaviors/Color.d.ts.map +1 -0
- package/dist/particle/behaviors/MultiStateAnimatedTexture.d.ts +99 -0
- package/dist/particle/behaviors/MultiStateAnimatedTexture.d.ts.map +1 -0
- package/dist/particle/behaviors/OrderedTexture.d.ts +33 -0
- package/dist/particle/behaviors/OrderedTexture.d.ts.map +1 -0
- package/dist/particle/behaviors/PathMovement.d.ts +68 -0
- package/dist/particle/behaviors/PathMovement.d.ts.map +1 -0
- package/dist/particle/behaviors/PointSpawn.d.ts +21 -0
- package/dist/particle/behaviors/PointSpawn.d.ts.map +1 -0
- package/dist/particle/behaviors/RandomColor.d.ts +17 -0
- package/dist/particle/behaviors/RandomColor.d.ts.map +1 -0
- package/dist/particle/behaviors/RandomTexture.d.ts +32 -0
- package/dist/particle/behaviors/RandomTexture.d.ts.map +1 -0
- package/dist/particle/behaviors/Rotation.d.ts +114 -0
- package/dist/particle/behaviors/Rotation.d.ts.map +1 -0
- package/dist/particle/behaviors/Scale.d.ts +74 -0
- package/dist/particle/behaviors/Scale.d.ts.map +1 -0
- package/dist/particle/behaviors/ShapeSpawn.d.ts +58 -0
- package/dist/particle/behaviors/ShapeSpawn.d.ts.map +1 -0
- package/dist/particle/behaviors/SingleTexture.d.ts +32 -0
- package/dist/particle/behaviors/SingleTexture.d.ts.map +1 -0
- package/dist/particle/behaviors/SpeedMovement.d.ts +76 -0
- package/dist/particle/behaviors/SpeedMovement.d.ts.map +1 -0
- package/dist/particle/behaviors/SpineTexture.d.ts +173 -0
- package/dist/particle/behaviors/SpineTexture.d.ts.map +1 -0
- package/dist/particle/behaviors/ZindexBehavior.d.ts +16 -0
- package/dist/particle/behaviors/ZindexBehavior.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/Types.d.ts +104 -0
- package/dist/particle/behaviors/editor/Types.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/behaviors/AccelerationMovement.d.ts +2 -0
- package/dist/particle/behaviors/editor/behaviors/AccelerationMovement.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/behaviors/Alpha.d.ts +2 -0
- package/dist/particle/behaviors/editor/behaviors/Alpha.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/behaviors/AnimatedTexture.d.ts +2 -0
- package/dist/particle/behaviors/editor/behaviors/AnimatedTexture.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/behaviors/BlendMode.d.ts +2 -0
- package/dist/particle/behaviors/editor/behaviors/BlendMode.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/behaviors/BurstSpawn.d.ts +2 -0
- package/dist/particle/behaviors/editor/behaviors/BurstSpawn.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/behaviors/Color.d.ts +2 -0
- package/dist/particle/behaviors/editor/behaviors/Color.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/behaviors/OrderedTexture.d.ts +2 -0
- package/dist/particle/behaviors/editor/behaviors/OrderedTexture.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/behaviors/PathMovement.d.ts +2 -0
- package/dist/particle/behaviors/editor/behaviors/PathMovement.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/behaviors/PointSpawn.d.ts +2 -0
- package/dist/particle/behaviors/editor/behaviors/PointSpawn.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/behaviors/RandomTexture.d.ts +2 -0
- package/dist/particle/behaviors/editor/behaviors/RandomTexture.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/behaviors/Rotation.d.ts +2 -0
- package/dist/particle/behaviors/editor/behaviors/Rotation.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/behaviors/Scale.d.ts +2 -0
- package/dist/particle/behaviors/editor/behaviors/Scale.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/behaviors/ShapeSpawn.d.ts +2 -0
- package/dist/particle/behaviors/editor/behaviors/ShapeSpawn.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/behaviors/SingleTexture.d.ts +2 -0
- package/dist/particle/behaviors/editor/behaviors/SingleTexture.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/behaviors/SpeedMovement.d.ts +2 -0
- package/dist/particle/behaviors/editor/behaviors/SpeedMovement.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/behaviors/index.d.ts +15 -0
- package/dist/particle/behaviors/editor/behaviors/index.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/index.d.ts +5 -0
- package/dist/particle/behaviors/editor/index.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/shapes/PolygonalChain.d.ts +2 -0
- package/dist/particle/behaviors/editor/shapes/PolygonalChain.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/shapes/Rectangle.d.ts +2 -0
- package/dist/particle/behaviors/editor/shapes/Rectangle.d.ts.map +1 -0
- package/dist/particle/behaviors/editor/shapes/Torus.d.ts +2 -0
- package/dist/particle/behaviors/editor/shapes/Torus.d.ts.map +1 -0
- package/dist/particle/behaviors/index.d.ts +25 -0
- package/dist/particle/behaviors/index.d.ts.map +1 -0
- package/dist/particle/behaviors/shapes/PolygonalChain.d.ts +57 -0
- package/dist/particle/behaviors/shapes/PolygonalChain.d.ts.map +1 -0
- package/dist/particle/behaviors/shapes/Rectangle.d.ts +59 -0
- package/dist/particle/behaviors/shapes/Rectangle.d.ts.map +1 -0
- package/dist/particle/behaviors/shapes/SpawnShape.d.ts +32 -0
- package/dist/particle/behaviors/shapes/SpawnShape.d.ts.map +1 -0
- package/dist/particle/behaviors/shapes/Torus.d.ts +71 -0
- package/dist/particle/behaviors/shapes/Torus.d.ts.map +1 -0
- package/dist/particle/behaviors/shapes/index.d.ts +5 -0
- package/dist/particle/behaviors/shapes/index.d.ts.map +1 -0
- package/dist/particle/index.d.ts +11 -0
- package/dist/particle/index.d.ts.map +1 -0
- package/dist/particle/index.js +2845 -0
- package/dist/particle/index.js.map +1 -0
- package/dist/plugins/Plugin.types.d.ts +80 -0
- package/dist/plugins/Plugin.types.d.ts.map +1 -0
- package/dist/plugins/device/DeviceOptimizerPlugin.d.ts +187 -0
- package/dist/plugins/device/DeviceOptimizerPlugin.d.ts.map +1 -0
- package/dist/plugins/device/DeviceOptimizerPlugin.types.d.ts +134 -0
- package/dist/plugins/device/DeviceOptimizerPlugin.types.d.ts.map +1 -0
- package/dist/plugins/device/index.d.ts +3 -0
- package/dist/plugins/device/index.d.ts.map +1 -0
- package/dist/plugins/display/DisplayPlugin.d.ts +208 -0
- package/dist/plugins/display/DisplayPlugin.d.ts.map +1 -0
- package/dist/plugins/display/DisplayPlugin.types.d.ts +174 -0
- package/dist/plugins/display/DisplayPlugin.types.d.ts.map +1 -0
- package/dist/plugins/display/displayViewport.d.ts +10 -0
- package/dist/plugins/display/displayViewport.d.ts.map +1 -0
- package/dist/plugins/display/index.d.ts +4 -0
- package/dist/plugins/display/index.d.ts.map +1 -0
- package/dist/plugins/eventbus/EventBusPlugin.d.ts +21 -0
- package/dist/plugins/eventbus/EventBusPlugin.d.ts.map +1 -0
- package/dist/plugins/eventbus/EventBusPlugin.types.d.ts +24 -0
- package/dist/plugins/eventbus/EventBusPlugin.types.d.ts.map +1 -0
- package/dist/plugins/eventbus/index.d.ts +3 -0
- package/dist/plugins/eventbus/index.d.ts.map +1 -0
- package/dist/plugins/gsap/GsapPlugin.d.ts +307 -0
- package/dist/plugins/gsap/GsapPlugin.d.ts.map +1 -0
- package/dist/plugins/gsap/index.d.ts +2 -0
- package/dist/plugins/gsap/index.d.ts.map +1 -0
- package/dist/plugins/index.d.ts +13 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/index.js +12806 -0
- package/dist/plugins/index.js.map +1 -0
- package/dist/plugins/input/InputPlugin.const.d.ts +80 -0
- package/dist/plugins/input/InputPlugin.const.d.ts.map +1 -0
- package/dist/plugins/input/InputPlugin.d.ts +141 -0
- package/dist/plugins/input/InputPlugin.d.ts.map +1 -0
- package/dist/plugins/input/InputPlugin.types.d.ts +41 -0
- package/dist/plugins/input/InputPlugin.types.d.ts.map +1 -0
- package/dist/plugins/input/KeyboardManager.d.ts +139 -0
- package/dist/plugins/input/KeyboardManager.d.ts.map +1 -0
- package/dist/plugins/input/KeyboardManager.types.d.ts +27 -0
- package/dist/plugins/input/KeyboardManager.types.d.ts.map +1 -0
- package/dist/plugins/input/index.d.ts +4 -0
- package/dist/plugins/input/index.d.ts.map +1 -0
- package/dist/plugins/language/I18NextPlugin.d.ts +30 -0
- package/dist/plugins/language/I18NextPlugin.d.ts.map +1 -0
- package/dist/plugins/language/I18NextPlugin.types.d.ts +29 -0
- package/dist/plugins/language/I18NextPlugin.types.d.ts.map +1 -0
- package/dist/plugins/language/index.d.ts +3 -0
- package/dist/plugins/language/index.d.ts.map +1 -0
- package/dist/plugins/resource/ResourcePlugin.d.ts +189 -0
- package/dist/plugins/resource/ResourcePlugin.d.ts.map +1 -0
- package/dist/plugins/resource/ResourcePlugin.types.d.ts +153 -0
- package/dist/plugins/resource/ResourcePlugin.types.d.ts.map +1 -0
- package/dist/plugins/resource/index.d.ts +3 -0
- package/dist/plugins/resource/index.d.ts.map +1 -0
- package/dist/plugins/scene/Scene.d.ts +203 -0
- package/dist/plugins/scene/Scene.d.ts.map +1 -0
- package/dist/plugins/scene/ScenePlugin.d.ts +162 -0
- package/dist/plugins/scene/ScenePlugin.d.ts.map +1 -0
- package/dist/plugins/scene/ScenePlugin.types.d.ts +35 -0
- package/dist/plugins/scene/ScenePlugin.types.d.ts.map +1 -0
- package/dist/plugins/scene/index.d.ts +4 -0
- package/dist/plugins/scene/index.d.ts.map +1 -0
- package/dist/plugins/sentry/SentryPlugin.d.ts +66 -0
- package/dist/plugins/sentry/SentryPlugin.d.ts.map +1 -0
- package/dist/plugins/sentry/SentryPlugin.types.d.ts +8 -0
- package/dist/plugins/sentry/SentryPlugin.types.d.ts.map +1 -0
- package/dist/plugins/sentry/index.d.ts +3 -0
- package/dist/plugins/sentry/index.d.ts.map +1 -0
- package/dist/plugins/service/ServiceAdapter.d.ts +88 -0
- package/dist/plugins/service/ServiceAdapter.d.ts.map +1 -0
- package/dist/plugins/service/ServiceEventHelper.d.ts +6 -0
- package/dist/plugins/service/ServiceEventHelper.d.ts.map +1 -0
- package/dist/plugins/service/ServicePlugin.d.ts +135 -0
- package/dist/plugins/service/ServicePlugin.d.ts.map +1 -0
- package/dist/plugins/service/ServicePlugin.types.d.ts +14 -0
- package/dist/plugins/service/ServicePlugin.types.d.ts.map +1 -0
- package/dist/plugins/service/adapters/DevAuthAdapter.d.ts +56 -0
- package/dist/plugins/service/adapters/DevAuthAdapter.d.ts.map +1 -0
- package/dist/plugins/service/adapters/RGSAdapter.d.ts +82 -0
- package/dist/plugins/service/adapters/RGSAdapter.d.ts.map +1 -0
- package/dist/plugins/service/adapters/index.d.ts +7 -0
- package/dist/plugins/service/adapters/index.d.ts.map +1 -0
- package/dist/plugins/service/adapters/resolvePublicIp.d.ts +10 -0
- package/dist/plugins/service/adapters/resolvePublicIp.d.ts.map +1 -0
- package/dist/plugins/service/index.d.ts +10 -0
- package/dist/plugins/service/index.d.ts.map +1 -0
- package/dist/plugins/service/types/api.types.d.ts +299 -0
- package/dist/plugins/service/types/api.types.d.ts.map +1 -0
- package/dist/plugins/service/types/index.d.ts +6 -0
- package/dist/plugins/service/types/index.d.ts.map +1 -0
- package/dist/plugins/skin/ISkin.d.ts +62 -0
- package/dist/plugins/skin/ISkin.d.ts.map +1 -0
- package/dist/plugins/skin/Skin.d.ts +155 -0
- package/dist/plugins/skin/Skin.d.ts.map +1 -0
- package/dist/plugins/skin/SkinPlugin.d.ts +285 -0
- package/dist/plugins/skin/SkinPlugin.d.ts.map +1 -0
- package/dist/plugins/skin/SkinPlugin.types.d.ts +56 -0
- package/dist/plugins/skin/SkinPlugin.types.d.ts.map +1 -0
- package/dist/plugins/skin/index.d.ts +5 -0
- package/dist/plugins/skin/index.d.ts.map +1 -0
- package/dist/plugins/sound/SoundPlugin.d.ts +319 -0
- package/dist/plugins/sound/SoundPlugin.d.ts.map +1 -0
- package/dist/plugins/sound/SoundPlugin.types.d.ts +102 -0
- package/dist/plugins/sound/SoundPlugin.types.d.ts.map +1 -0
- package/dist/plugins/sound/SoundTestGUI.d.ts +42 -0
- package/dist/plugins/sound/SoundTestGUI.d.ts.map +1 -0
- package/dist/plugins/sound/index.d.ts +4 -0
- package/dist/plugins/sound/index.d.ts.map +1 -0
- package/dist/state-machine/ConfigBuilder.d.ts +239 -0
- package/dist/state-machine/ConfigBuilder.d.ts.map +1 -0
- package/dist/state-machine/StateMachine.d.ts +251 -0
- package/dist/state-machine/StateMachine.d.ts.map +1 -0
- package/dist/state-machine/guards.d.ts +151 -0
- package/dist/state-machine/guards.d.ts.map +1 -0
- package/dist/state-machine/index.d.ts +5 -0
- package/dist/state-machine/index.d.ts.map +1 -0
- package/dist/state-machine/index.js +954 -0
- package/dist/state-machine/index.js.map +1 -0
- package/dist/state-machine/types.d.ts +65 -0
- package/dist/state-machine/types.d.ts.map +1 -0
- package/dist/store/DataStore.d.ts +167 -0
- package/dist/store/DataStore.d.ts.map +1 -0
- package/dist/store/index.d.ts +3 -0
- package/dist/store/index.d.ts.map +1 -0
- package/dist/store/index.js +197 -0
- package/dist/store/index.js.map +1 -0
- package/dist/ui/behaviors/ButtonBehavior.d.ts +245 -0
- package/dist/ui/behaviors/ButtonBehavior.d.ts.map +1 -0
- package/dist/ui/behaviors/InputBehavior.d.ts +169 -0
- package/dist/ui/behaviors/InputBehavior.d.ts.map +1 -0
- package/dist/ui/behaviors/ScrollbarBehavior.d.ts +371 -0
- package/dist/ui/behaviors/ScrollbarBehavior.d.ts.map +1 -0
- package/dist/ui/behaviors/index.d.ts +4 -0
- package/dist/ui/behaviors/index.d.ts.map +1 -0
- package/dist/ui/components/ButtonComp.d.ts +138 -0
- package/dist/ui/components/ButtonComp.d.ts.map +1 -0
- package/dist/ui/components/Comp.utils.d.ts +390 -0
- package/dist/ui/components/Comp.utils.d.ts.map +1 -0
- package/dist/ui/components/Component.types.d.ts +41 -0
- package/dist/ui/components/Component.types.d.ts.map +1 -0
- package/dist/ui/components/InputComp.d.ts +43 -0
- package/dist/ui/components/InputComp.d.ts.map +1 -0
- package/dist/ui/components/LabelBox.d.ts +49 -0
- package/dist/ui/components/LabelBox.d.ts.map +1 -0
- package/dist/ui/components/ListTableComp.d.ts +106 -0
- package/dist/ui/components/ListTableComp.d.ts.map +1 -0
- package/dist/ui/components/Skinable.d.ts +261 -0
- package/dist/ui/components/Skinable.d.ts.map +1 -0
- package/dist/ui/components/SliderComp.d.ts +60 -0
- package/dist/ui/components/SliderComp.d.ts.map +1 -0
- package/dist/ui/components/SpriteTextBBCode.d.ts +16 -0
- package/dist/ui/components/SpriteTextBBCode.d.ts.map +1 -0
- package/dist/ui/components/StepperComp.d.ts +89 -0
- package/dist/ui/components/StepperComp.d.ts.map +1 -0
- package/dist/ui/components/index.d.ts +12 -0
- package/dist/ui/components/index.d.ts.map +1 -0
- package/dist/ui/components/spriteText/SpriteText.d.ts +114 -0
- package/dist/ui/components/spriteText/SpriteText.d.ts.map +1 -0
- package/dist/ui/components/spriteText/SpriteText.types.d.ts +109 -0
- package/dist/ui/components/spriteText/SpriteText.types.d.ts.map +1 -0
- package/dist/ui/components/spriteText/SpriteTextAlignment.d.ts +25 -0
- package/dist/ui/components/spriteText/SpriteTextAlignment.d.ts.map +1 -0
- package/dist/ui/components/spriteText/SpriteTextBezier.d.ts +20 -0
- package/dist/ui/components/spriteText/SpriteTextBezier.d.ts.map +1 -0
- package/dist/ui/components/spriteText/SpriteTextCurve.d.ts +4 -0
- package/dist/ui/components/spriteText/SpriteTextCurve.d.ts.map +1 -0
- package/dist/ui/components/spriteText/SpriteTextKerning.d.ts +7 -0
- package/dist/ui/components/spriteText/SpriteTextKerning.d.ts.map +1 -0
- package/dist/ui/components/spriteText/SpriteTextTexture.d.ts +16 -0
- package/dist/ui/components/spriteText/SpriteTextTexture.d.ts.map +1 -0
- package/dist/ui/components/spriteText/SpriteTextWrap.d.ts +19 -0
- package/dist/ui/components/spriteText/SpriteTextWrap.d.ts.map +1 -0
- package/dist/ui/components/spriteText/index.d.ts +3 -0
- package/dist/ui/components/spriteText/index.d.ts.map +1 -0
- package/dist/ui/index.d.ts +3 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/index.js +4778 -0
- package/dist/ui/index.js.map +1 -0
- package/dist/utils/ArrayUtils.d.ts +24 -0
- package/dist/utils/ArrayUtils.d.ts.map +1 -0
- package/dist/utils/ColorUtils.d.ts +34 -0
- package/dist/utils/ColorUtils.d.ts.map +1 -0
- package/dist/utils/DataInjector.d.ts +67 -0
- package/dist/utils/DataInjector.d.ts.map +1 -0
- package/dist/utils/Logger.d.ts +332 -0
- package/dist/utils/Logger.d.ts.map +1 -0
- package/dist/utils/NumberFormatter.d.ts +126 -0
- package/dist/utils/NumberFormatter.d.ts.map +1 -0
- package/dist/utils/ObjectUtils.d.ts +64 -0
- package/dist/utils/ObjectUtils.d.ts.map +1 -0
- package/dist/utils/PixiUtils.d.ts +118 -0
- package/dist/utils/PixiUtils.d.ts.map +1 -0
- package/dist/utils/Throttle.d.ts +103 -0
- package/dist/utils/Throttle.d.ts.map +1 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +899 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/vite/index.d.ts +3 -0
- package/dist/vite/index.d.ts.map +1 -0
- package/dist/vite/index.js +126 -0
- package/dist/vite/index.js.map +1 -0
- package/dist/vite/mergeLocalesPlugin.d.ts +22 -0
- package/dist/vite/mergeLocalesPlugin.d.ts.map +1 -0
- package/package.json +143 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { IEmitterBehavior, BehaviorOrder } from './Behaviors';
|
|
2
|
+
import { BehaviorEditorConfig } from './editor/Types';
|
|
3
|
+
/**
|
|
4
|
+
* Configuration for SpineAnimationBehavior
|
|
5
|
+
*/
|
|
6
|
+
export interface SpineAnimationConfig {
|
|
7
|
+
/**
|
|
8
|
+
* Animation name to play
|
|
9
|
+
*/
|
|
10
|
+
animation: string;
|
|
11
|
+
/**
|
|
12
|
+
* Whether the animation should loop. Defaults to false.
|
|
13
|
+
*/
|
|
14
|
+
loop?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Time scale for the animation. Defaults to 1.
|
|
17
|
+
*/
|
|
18
|
+
timeScale?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Single skin name to use. If not provided, uses default skin.
|
|
21
|
+
*/
|
|
22
|
+
skin?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Array of skin names to randomly choose from.
|
|
25
|
+
* Takes precedence over 'skin' if provided.
|
|
26
|
+
*/
|
|
27
|
+
skins?: string[];
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A behavior that sets up Spine animation and skin for SpineParticles.
|
|
31
|
+
* Supports single skin or random skin selection from a list.
|
|
32
|
+
*
|
|
33
|
+
* Example config:
|
|
34
|
+
* ```javascript
|
|
35
|
+
* {
|
|
36
|
+
* type: 'spineAnimation',
|
|
37
|
+
* config: {
|
|
38
|
+
* animation: 'burst',
|
|
39
|
+
* loop: false,
|
|
40
|
+
* timeScale: 1,
|
|
41
|
+
* // Option 1: Single skin
|
|
42
|
+
* skin: 'gold',
|
|
43
|
+
* // Option 2: Random skin from list
|
|
44
|
+
* skins: ['gold', 'silver', 'bronze'],
|
|
45
|
+
* }
|
|
46
|
+
* }
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
export declare class SpineAnimationBehavior implements IEmitterBehavior {
|
|
50
|
+
static type: string;
|
|
51
|
+
static editorConfig: BehaviorEditorConfig;
|
|
52
|
+
order: BehaviorOrder;
|
|
53
|
+
private animation;
|
|
54
|
+
private loop;
|
|
55
|
+
private timeScale;
|
|
56
|
+
private skin;
|
|
57
|
+
private skins;
|
|
58
|
+
constructor(config: SpineAnimationConfig);
|
|
59
|
+
/**
|
|
60
|
+
* Initialize particles with Spine animation and skin
|
|
61
|
+
*/
|
|
62
|
+
initParticles(first: any): void;
|
|
63
|
+
/**
|
|
64
|
+
* Update is not needed - Spine handles its own animation updates
|
|
65
|
+
*/
|
|
66
|
+
updateParticle(_particle: any, _deltaSec: number): void;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* A behavior that randomly selects a skin for each SpineParticle.
|
|
70
|
+
* Use this if you want to set skin separately from animation.
|
|
71
|
+
*
|
|
72
|
+
* Example config:
|
|
73
|
+
* ```javascript
|
|
74
|
+
* {
|
|
75
|
+
* type: 'spineRandomSkin',
|
|
76
|
+
* config: {
|
|
77
|
+
* skins: ['PIC1', 'PIC2', 'PIC3', 'PIC4'],
|
|
78
|
+
* }
|
|
79
|
+
* }
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
export declare class SpineRandomSkinBehavior implements IEmitterBehavior {
|
|
83
|
+
static type: string;
|
|
84
|
+
static editorConfig: BehaviorEditorConfig;
|
|
85
|
+
order: number;
|
|
86
|
+
private skins;
|
|
87
|
+
constructor(config: {
|
|
88
|
+
skins: string[];
|
|
89
|
+
});
|
|
90
|
+
initParticles(first: any): void;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Animation keyframe for sequence behavior
|
|
94
|
+
*/
|
|
95
|
+
export interface SpineAnimationKeyframe {
|
|
96
|
+
/**
|
|
97
|
+
* Animation name to play
|
|
98
|
+
*/
|
|
99
|
+
value: string;
|
|
100
|
+
/**
|
|
101
|
+
* Time in particle lifetime (0-1) when this animation should start
|
|
102
|
+
*/
|
|
103
|
+
time: number;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Configuration for SpineAnimationSequence behavior
|
|
107
|
+
*/
|
|
108
|
+
export interface SpineAnimationSequenceConfig {
|
|
109
|
+
/**
|
|
110
|
+
* List of animation keyframes with time values (0-1)
|
|
111
|
+
* Similar to alpha behavior's list format
|
|
112
|
+
*/
|
|
113
|
+
animation: {
|
|
114
|
+
list: SpineAnimationKeyframe[];
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* Whether animations should loop. Defaults to false.
|
|
118
|
+
*/
|
|
119
|
+
loop?: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Time scale for animations. Defaults to 1.
|
|
122
|
+
*/
|
|
123
|
+
timeScale?: number;
|
|
124
|
+
/**
|
|
125
|
+
* Single skin name to use.
|
|
126
|
+
*/
|
|
127
|
+
skin?: string;
|
|
128
|
+
/**
|
|
129
|
+
* Array of skin names to randomly choose from.
|
|
130
|
+
*/
|
|
131
|
+
skins?: string[];
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* A behavior that plays different Spine animations at different points
|
|
135
|
+
* in the particle's lifetime, similar to how alpha behavior works.
|
|
136
|
+
*
|
|
137
|
+
* Example config:
|
|
138
|
+
* ```javascript
|
|
139
|
+
* {
|
|
140
|
+
* type: 'spineAnimationSequence',
|
|
141
|
+
* config: {
|
|
142
|
+
* animation: {
|
|
143
|
+
* list: [
|
|
144
|
+
* { value: 'idle', time: 0 },
|
|
145
|
+
* { value: 'burst', time: 0.8 },
|
|
146
|
+
* ]
|
|
147
|
+
* },
|
|
148
|
+
* loop: false,
|
|
149
|
+
* skins: ['pic1', 'pic2', 'pic3'],
|
|
150
|
+
* }
|
|
151
|
+
* }
|
|
152
|
+
* ```
|
|
153
|
+
*/
|
|
154
|
+
export declare class SpineAnimationSequenceBehavior implements IEmitterBehavior {
|
|
155
|
+
static type: string;
|
|
156
|
+
static editorConfig: BehaviorEditorConfig;
|
|
157
|
+
order: BehaviorOrder;
|
|
158
|
+
private animationList;
|
|
159
|
+
private loop;
|
|
160
|
+
private timeScale;
|
|
161
|
+
private skin;
|
|
162
|
+
private skins;
|
|
163
|
+
constructor(config: SpineAnimationSequenceConfig);
|
|
164
|
+
/**
|
|
165
|
+
* Initialize particles with skin and first animation
|
|
166
|
+
*/
|
|
167
|
+
initParticles(first: any): void;
|
|
168
|
+
/**
|
|
169
|
+
* Update particle - check if we need to switch to next animation
|
|
170
|
+
*/
|
|
171
|
+
updateParticle(particle: any, _deltaSec: number): void;
|
|
172
|
+
}
|
|
173
|
+
//# sourceMappingURL=SpineTexture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpineTexture.d.ts","sourceRoot":"","sources":["../../../particle/behaviors/SpineTexture.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,qBAAa,sBAAuB,YAAW,gBAAgB;IAC7D,OAAc,IAAI,SAAoB;IACtC,OAAc,YAAY,EAAE,oBAAoB,CAAe;IAExD,KAAK,gBAAwB;IAEpC,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,IAAI,CAAU;IACtB,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,IAAI,CAAgB;IAC5B,OAAO,CAAC,KAAK,CAAkB;gBAEnB,MAAM,EAAE,oBAAoB;IAQxC;;OAEG;IACH,aAAa,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IA+B/B;;OAEG;IACH,cAAc,CAAC,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI;CAIxD;AAED;;;;;;;;;;;;;GAaG;AACH,qBAAa,uBAAwB,YAAW,gBAAgB;IAC9D,OAAc,IAAI,SAAqB;IACvC,OAAc,YAAY,EAAE,oBAAoB,CAAe;IAExD,KAAK,SAA4B;IAExC,OAAO,CAAC,KAAK,CAAW;gBAEZ,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,EAAE,CAAA;KAAE;IAIvC,aAAa,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;CAgBhC;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;;OAGG;IACH,SAAS,EAAE;QACT,IAAI,EAAE,sBAAsB,EAAE,CAAC;KAChC,CAAC;IACF;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBAAa,8BAA+B,YAAW,gBAAgB;IACrE,OAAc,IAAI,SAA4B;IAC9C,OAAc,YAAY,EAAE,oBAAoB,CAAe;IAExD,KAAK,gBAAwB;IAEpC,OAAO,CAAC,aAAa,CAA2B;IAChD,OAAO,CAAC,IAAI,CAAU;IACtB,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,IAAI,CAAgB;IAC5B,OAAO,CAAC,KAAK,CAAkB;gBAEnB,MAAM,EAAE,4BAA4B;IAQhD;;OAEG;IACH,aAAa,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAmC/B;;OAEG;IACH,cAAc,CAAC,QAAQ,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI;CAoBvD"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Particle } from '../Particle';
|
|
2
|
+
import { IEmitterBehavior, BehaviorOrder } from './Behaviors';
|
|
3
|
+
import { BehaviorEditorConfig } from './editor/Types';
|
|
4
|
+
import { ValueList } from '../PropertyNode';
|
|
5
|
+
export declare class ZIndexBehavior implements IEmitterBehavior {
|
|
6
|
+
static type: string;
|
|
7
|
+
static editorConfig: BehaviorEditorConfig;
|
|
8
|
+
order: BehaviorOrder;
|
|
9
|
+
private list;
|
|
10
|
+
constructor(config: {
|
|
11
|
+
zIndex: ValueList<number>;
|
|
12
|
+
});
|
|
13
|
+
initParticles(first: Particle): void;
|
|
14
|
+
updateParticle(particle: Particle): void;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=ZindexBehavior.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZindexBehavior.d.ts","sourceRoot":"","sources":["../../../particle/behaviors/ZindexBehavior.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAEtD,OAAO,EAAgB,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE1D,qBAAa,cAAe,YAAW,gBAAgB;IACnD,OAAc,IAAI,SAAY;IAC9B,OAAc,YAAY,EAAE,oBAAoB,CAAC;IAE1C,KAAK,gBAAwB;IACpC,OAAO,CAAC,IAAI,CAAuB;gBACvB,MAAM,EAAE;QAAE,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,CAAA;KAAE;IAKjD,aAAa,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI;IAQpC,cAAc,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI;CAG3C"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
export interface NumberProperty {
|
|
2
|
+
type: 'number';
|
|
3
|
+
name: string;
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
default: number;
|
|
7
|
+
min?: number;
|
|
8
|
+
max?: number;
|
|
9
|
+
}
|
|
10
|
+
export interface ColorProperty {
|
|
11
|
+
type: 'color';
|
|
12
|
+
name: string;
|
|
13
|
+
title: string;
|
|
14
|
+
description: string;
|
|
15
|
+
default: string;
|
|
16
|
+
}
|
|
17
|
+
export interface BooleanProperty {
|
|
18
|
+
type: 'boolean';
|
|
19
|
+
name: string;
|
|
20
|
+
title: string;
|
|
21
|
+
description: string;
|
|
22
|
+
default: boolean;
|
|
23
|
+
}
|
|
24
|
+
export interface TextProperty {
|
|
25
|
+
type: 'text';
|
|
26
|
+
name: string;
|
|
27
|
+
title: string;
|
|
28
|
+
description: string;
|
|
29
|
+
default: string;
|
|
30
|
+
}
|
|
31
|
+
export interface PointProperty {
|
|
32
|
+
type: 'point';
|
|
33
|
+
name: string;
|
|
34
|
+
title: string;
|
|
35
|
+
description: string;
|
|
36
|
+
default: {
|
|
37
|
+
x: number;
|
|
38
|
+
y: number;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export interface NumberListProperty {
|
|
42
|
+
type: 'numberList';
|
|
43
|
+
name: string;
|
|
44
|
+
title: string;
|
|
45
|
+
description: string;
|
|
46
|
+
default: number;
|
|
47
|
+
min?: number;
|
|
48
|
+
max?: number;
|
|
49
|
+
}
|
|
50
|
+
export interface ColorListProperty {
|
|
51
|
+
type: 'colorList';
|
|
52
|
+
name: string;
|
|
53
|
+
title: string;
|
|
54
|
+
description: string;
|
|
55
|
+
default: string;
|
|
56
|
+
}
|
|
57
|
+
export interface ImageProperty {
|
|
58
|
+
type: 'image';
|
|
59
|
+
name: string;
|
|
60
|
+
title: string;
|
|
61
|
+
description: string;
|
|
62
|
+
}
|
|
63
|
+
export interface ListProperty {
|
|
64
|
+
type: 'list';
|
|
65
|
+
name: string;
|
|
66
|
+
title: string;
|
|
67
|
+
description: string;
|
|
68
|
+
entryType: Property;
|
|
69
|
+
}
|
|
70
|
+
export interface ObjectProperty {
|
|
71
|
+
type: 'object';
|
|
72
|
+
name: string;
|
|
73
|
+
title: string;
|
|
74
|
+
description: string;
|
|
75
|
+
props: Property[];
|
|
76
|
+
}
|
|
77
|
+
export interface SelectProperty {
|
|
78
|
+
type: 'select';
|
|
79
|
+
name: string;
|
|
80
|
+
title: string;
|
|
81
|
+
description: string;
|
|
82
|
+
options: {
|
|
83
|
+
label: string;
|
|
84
|
+
value: string;
|
|
85
|
+
}[];
|
|
86
|
+
default: string;
|
|
87
|
+
}
|
|
88
|
+
export interface SelectSubConfigProperty {
|
|
89
|
+
type: 'subconfig';
|
|
90
|
+
/** Name of property where the type of the config is stored */
|
|
91
|
+
name: string;
|
|
92
|
+
title: string;
|
|
93
|
+
description: string;
|
|
94
|
+
dictionaryProp: string;
|
|
95
|
+
/** Name of property in which the config should be stored */
|
|
96
|
+
configName: string;
|
|
97
|
+
}
|
|
98
|
+
export type Property = NumberProperty | ColorProperty | BooleanProperty | TextProperty | PointProperty | NumberListProperty | ColorListProperty | ImageProperty | ListProperty | ObjectProperty | SelectProperty | SelectSubConfigProperty;
|
|
99
|
+
export interface BehaviorEditorConfig {
|
|
100
|
+
category: 'art' | 'color' | 'alpha' | 'scale' | 'movement' | 'rotation' | 'blend' | 'spawn' | 'other';
|
|
101
|
+
title: string;
|
|
102
|
+
props: Property[];
|
|
103
|
+
}
|
|
104
|
+
//# sourceMappingURL=Types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Types.d.ts","sourceRoot":"","sources":["../../../../particle/behaviors/editor/Types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAE3B,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,aAAa;IAE1B,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,eAAe;IAE5B,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,YAAY;IAEzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,aAAa;IAE1B,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC;CACnC;AAED,MAAM,WAAW,kBAAkB;IAE/B,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,iBAAiB;IAE9B,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,aAAa;IAE1B,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,YAAY;IAEzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,QAAQ,CAAC;CACvB;AAED,MAAM,WAAW,cAAc;IAE3B,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,QAAQ,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAE3B,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,EAAE,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,uBAAuB;IAEpC,IAAI,EAAE,WAAW,CAAC;IAClB,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,MAAM,QAAQ,GAAG,cAAc,GAAG,aAAa,GAAG,eAAe,GAAG,YAAY,GAAG,aAAa,GAAG,kBAAkB,GACvH,iBAAiB,GAAG,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,cAAc,GAAG,uBAAuB,CAAC;AAEjH,MAAM,WAAW,oBAAoB;IAEjC,QAAQ,EAAE,KAAK,GAAC,OAAO,GAAC,OAAO,GAAC,OAAO,GAAC,UAAU,GAAC,UAAU,GAAC,OAAO,GAAC,OAAO,GAAC,OAAO,CAAC;IACtF,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,QAAQ,EAAE,CAAC;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccelerationMovement.d.ts","sourceRoot":"","sources":["../../../../../particle/behaviors/editor/behaviors/AccelerationMovement.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alpha.d.ts","sourceRoot":"","sources":["../../../../../particle/behaviors/editor/behaviors/Alpha.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedTexture.d.ts","sourceRoot":"","sources":["../../../../../particle/behaviors/editor/behaviors/AnimatedTexture.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlendMode.d.ts","sourceRoot":"","sources":["../../../../../particle/behaviors/editor/behaviors/BlendMode.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BurstSpawn.d.ts","sourceRoot":"","sources":["../../../../../particle/behaviors/editor/behaviors/BurstSpawn.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Color.d.ts","sourceRoot":"","sources":["../../../../../particle/behaviors/editor/behaviors/Color.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrderedTexture.d.ts","sourceRoot":"","sources":["../../../../../particle/behaviors/editor/behaviors/OrderedTexture.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PathMovement.d.ts","sourceRoot":"","sources":["../../../../../particle/behaviors/editor/behaviors/PathMovement.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PointSpawn.d.ts","sourceRoot":"","sources":["../../../../../particle/behaviors/editor/behaviors/PointSpawn.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RandomTexture.d.ts","sourceRoot":"","sources":["../../../../../particle/behaviors/editor/behaviors/RandomTexture.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Rotation.d.ts","sourceRoot":"","sources":["../../../../../particle/behaviors/editor/behaviors/Rotation.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Scale.d.ts","sourceRoot":"","sources":["../../../../../particle/behaviors/editor/behaviors/Scale.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShapeSpawn.d.ts","sourceRoot":"","sources":["../../../../../particle/behaviors/editor/behaviors/ShapeSpawn.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SingleTexture.d.ts","sourceRoot":"","sources":["../../../../../particle/behaviors/editor/behaviors/SingleTexture.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpeedMovement.d.ts","sourceRoot":"","sources":["../../../../../particle/behaviors/editor/behaviors/SpeedMovement.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import './AccelerationMovement';
|
|
2
|
+
import './Alpha';
|
|
3
|
+
import './AnimatedTexture';
|
|
4
|
+
import './BlendMode';
|
|
5
|
+
import './BurstSpawn';
|
|
6
|
+
import './Color';
|
|
7
|
+
import './OrderedTexture';
|
|
8
|
+
import './PathMovement';
|
|
9
|
+
import './RandomTexture';
|
|
10
|
+
import './Rotation';
|
|
11
|
+
import './Scale';
|
|
12
|
+
import './ShapeSpawn';
|
|
13
|
+
import './SingleTexture';
|
|
14
|
+
import './SpeedMovement';
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../particle/behaviors/editor/behaviors/index.ts"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAC;AAChC,OAAO,SAAS,CAAC;AACjB,OAAO,mBAAmB,CAAC;AAC3B,OAAO,aAAa,CAAC;AACrB,OAAO,cAAc,CAAC;AACtB,OAAO,SAAS,CAAC;AACjB,OAAO,kBAAkB,CAAC;AAC1B,OAAO,gBAAgB,CAAC;AACxB,OAAO,iBAAiB,CAAC;AACzB,OAAO,YAAY,CAAC;AACpB,OAAO,SAAS,CAAC;AACjB,OAAO,cAAc,CAAC;AACtB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../particle/behaviors/editor/index.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AACjC,OAAO,oBAAoB,CAAC;AAC5B,OAAO,gBAAgB,CAAC;AAExB,OAAO,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PolygonalChain.d.ts","sourceRoot":"","sources":["../../../../../particle/behaviors/editor/shapes/PolygonalChain.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Rectangle.d.ts","sourceRoot":"","sources":["../../../../../particle/behaviors/editor/shapes/Rectangle.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Torus.d.ts","sourceRoot":"","sources":["../../../../../particle/behaviors/editor/shapes/Torus.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as spawnShapes from './shapes';
|
|
2
|
+
export { spawnShapes };
|
|
3
|
+
export * from './Behaviors';
|
|
4
|
+
import * as editor from './editor/Types';
|
|
5
|
+
export { editor };
|
|
6
|
+
export * from './AccelerationMovement';
|
|
7
|
+
export * from './Alpha';
|
|
8
|
+
export * from './AnimatedTexture';
|
|
9
|
+
export * from './BlendMode';
|
|
10
|
+
export * from './BurstSpawn';
|
|
11
|
+
export * from './Color';
|
|
12
|
+
export * from './OrderedTexture';
|
|
13
|
+
export * from './PathMovement';
|
|
14
|
+
export * from './PointSpawn';
|
|
15
|
+
export * from './RandomTexture';
|
|
16
|
+
export * from './Rotation';
|
|
17
|
+
export * from './Scale';
|
|
18
|
+
export * from './ShapeSpawn';
|
|
19
|
+
export * from './SingleTexture';
|
|
20
|
+
export * from './SpeedMovement';
|
|
21
|
+
export * from './RandomColor';
|
|
22
|
+
export * from './ZindexBehavior';
|
|
23
|
+
export * from './MultiStateAnimatedTexture';
|
|
24
|
+
export * from './SpineTexture';
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../particle/behaviors/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,WAAW,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,cAAc,aAAa,CAAC;AAE5B,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,CAAC;AAGlB,cAAc,wBAAwB,CAAC;AACvC,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { PointData } from 'pixi.js';
|
|
2
|
+
import { ListProperty } from '../editor/Types';
|
|
3
|
+
import { SpawnShape } from './SpawnShape';
|
|
4
|
+
/**
|
|
5
|
+
* Data structure for internal parsed data in PolygonalChain spawn shapes.
|
|
6
|
+
*/
|
|
7
|
+
export interface Segment {
|
|
8
|
+
p1: PointData;
|
|
9
|
+
p2: PointData;
|
|
10
|
+
l: number;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* A spawn shape that picks a random position along a series of line segments. If those
|
|
14
|
+
* line segments form a polygon, particles will only be placed on the perimeter of that polygon.
|
|
15
|
+
*
|
|
16
|
+
* Example config:
|
|
17
|
+
* ```javascript
|
|
18
|
+
* {
|
|
19
|
+
* type: 'polygonalChain',
|
|
20
|
+
* data: [
|
|
21
|
+
* [{x: 0, y: 0}, {x: 10, y: 10}, {x: 20, y: 0}],
|
|
22
|
+
* [{x: 0, y, -10}, {x: 10, y: 0}, {x: 20, y: -10}]
|
|
23
|
+
* ]
|
|
24
|
+
* }
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class PolygonalChain implements SpawnShape {
|
|
28
|
+
static type: string;
|
|
29
|
+
static editorConfig: ListProperty;
|
|
30
|
+
/**
|
|
31
|
+
* List of segment objects in the chain.
|
|
32
|
+
*/
|
|
33
|
+
private segments;
|
|
34
|
+
/**
|
|
35
|
+
* Total length of all segments of the chain.
|
|
36
|
+
*/
|
|
37
|
+
private totalLength;
|
|
38
|
+
/**
|
|
39
|
+
* Total length of segments up to and including the segment of the same index.
|
|
40
|
+
* Used for weighted random selection of segment.
|
|
41
|
+
*/
|
|
42
|
+
private countingLengths;
|
|
43
|
+
/**
|
|
44
|
+
* @param data Point data for polygon chains. Either a list of points for a single chain, or a list of chains.
|
|
45
|
+
*/
|
|
46
|
+
constructor(data: PointData[] | PointData[][]);
|
|
47
|
+
/**
|
|
48
|
+
* @param data Point data for polygon chains. Either a list of points for a single chain, or a list of chains.
|
|
49
|
+
*/
|
|
50
|
+
private init;
|
|
51
|
+
/**
|
|
52
|
+
* Gets a random point in the chain.
|
|
53
|
+
* @param out The point to store the selected position in.
|
|
54
|
+
*/
|
|
55
|
+
getRandPos(out: PointData): void;
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=PolygonalChain.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PolygonalChain.d.ts","sourceRoot":"","sources":["../../../../particle/behaviors/shapes/PolygonalChain.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;GAEG;AACH,MAAM,WAAW,OAAO;IACpB,EAAE,EAAE,SAAS,CAAC;IACd,EAAE,EAAE,SAAS,CAAC;IACd,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;;;;;;;;;;;;;GAcG;AACH,qBAAa,cAAe,YAAW,UAAU;IAC7C,OAAc,IAAI,SAAoB;IACtC,OAAc,YAAY,EAAE,YAAY,CAAe;IACvD;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAY;IAC5B;;OAEG;IACH,OAAO,CAAC,WAAW,CAAS;IAC5B;;;OAGG;IACH,OAAO,CAAC,eAAe,CAAW;IAElC;;OAEG;gBACS,IAAI,EAAE,SAAS,EAAE,GAAG,SAAS,EAAE,EAAE;IAO7C;;OAEG;IACH,OAAO,CAAC,IAAI;IA6CZ;;;OAGG;IACI,UAAU,CAAC,GAAG,EAAE,SAAS,GAAG,IAAI;CAgC1C"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Particle } from '../../Particle';
|
|
2
|
+
import type { ObjectProperty } from '../editor/Types';
|
|
3
|
+
import { SpawnShape } from './SpawnShape';
|
|
4
|
+
/**
|
|
5
|
+
* A SpawnShape that randomly picks locations inside a rectangle.
|
|
6
|
+
*
|
|
7
|
+
* Example config:
|
|
8
|
+
* ```javascript
|
|
9
|
+
* {
|
|
10
|
+
* type: 'rect',
|
|
11
|
+
* data: {
|
|
12
|
+
* x: 0,
|
|
13
|
+
* y: 0,
|
|
14
|
+
* w: 10,
|
|
15
|
+
* h: 100
|
|
16
|
+
* }
|
|
17
|
+
* }
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare class Rectangle implements SpawnShape {
|
|
21
|
+
static type: string;
|
|
22
|
+
static editorConfig: ObjectProperty;
|
|
23
|
+
/**
|
|
24
|
+
* X (left) position of the rectangle.
|
|
25
|
+
*/
|
|
26
|
+
x: number;
|
|
27
|
+
/**
|
|
28
|
+
* Y (top) position of the rectangle.
|
|
29
|
+
*/
|
|
30
|
+
y: number;
|
|
31
|
+
/**
|
|
32
|
+
* Width of the rectangle.
|
|
33
|
+
*/
|
|
34
|
+
w: number;
|
|
35
|
+
/**
|
|
36
|
+
* Height of the rectangle.
|
|
37
|
+
*/
|
|
38
|
+
h: number;
|
|
39
|
+
constructor(config: {
|
|
40
|
+
/**
|
|
41
|
+
* X (left) position of the rectangle.
|
|
42
|
+
*/
|
|
43
|
+
x: number;
|
|
44
|
+
/**
|
|
45
|
+
* Y (top) position of the rectangle.
|
|
46
|
+
*/
|
|
47
|
+
y: number;
|
|
48
|
+
/**
|
|
49
|
+
* Width of the rectangle.
|
|
50
|
+
*/
|
|
51
|
+
w: number;
|
|
52
|
+
/**
|
|
53
|
+
* Height of the rectangle.
|
|
54
|
+
*/
|
|
55
|
+
h: number;
|
|
56
|
+
});
|
|
57
|
+
getRandPos(particle: Particle): void;
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=Rectangle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Rectangle.d.ts","sourceRoot":"","sources":["../../../../particle/behaviors/shapes/Rectangle.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,qBAAa,SAAU,YAAW,UAAU;IACxC,OAAc,IAAI,SAAU;IAC5B,OAAc,YAAY,EAAE,cAAc,CAAe;IACzD;;OAEG;IACI,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACI,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACI,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACI,CAAC,EAAE,MAAM,CAAC;gBAEL,MAAM,EAAE;QAChB;;WAEG;QACH,CAAC,EAAE,MAAM,CAAC;QACV;;WAEG;QACH,CAAC,EAAE,MAAM,CAAC;QACV;;WAEG;QACH,CAAC,EAAE,MAAM,CAAC;QACV;;WAEG;QACH,CAAC,EAAE,MAAM,CAAC;KACb;IAOD,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI;CAKvC"}
|