@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,174 @@
|
|
|
1
|
+
import { PluginConfig } from '../Plugin.types';
|
|
2
|
+
/**
|
|
3
|
+
* Alignment options for canvas positioning.
|
|
4
|
+
*/
|
|
5
|
+
export type DisplayAlignment = 'center' | 'top' | 'bottom' | 'left' | 'right' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
6
|
+
/**
|
|
7
|
+
* Scale mode options.
|
|
8
|
+
*
|
|
9
|
+
* - `contain`: Fit entire game within window (letterboxing/pillarboxing may occur)
|
|
10
|
+
* - `cover`: Fill entire window (some content may be cropped)
|
|
11
|
+
* - `safe`: Cover mode with safe area constraints
|
|
12
|
+
*/
|
|
13
|
+
export type DisplayScaleMode = 'contain' | 'cover' | 'safe';
|
|
14
|
+
/**
|
|
15
|
+
* Safe area margins in pixels.
|
|
16
|
+
*
|
|
17
|
+
* Defines the safe area that should never be cropped when using safe mode.
|
|
18
|
+
* The scale will be calculated to ensure the safe area always fits within the viewport.
|
|
19
|
+
*/
|
|
20
|
+
export interface SafeAreaConfig {
|
|
21
|
+
top?: number;
|
|
22
|
+
right?: number;
|
|
23
|
+
bottom?: number;
|
|
24
|
+
left?: number;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Configuration for a specific orientation (landscape or portrait).
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```typescript
|
|
31
|
+
* const landscapeConfig: OrientationConfig = {
|
|
32
|
+
* width: 1920,
|
|
33
|
+
* height: 1080,
|
|
34
|
+
* scaleMode: 'safe',
|
|
35
|
+
* safeArea: { left: 100, right: 100 },
|
|
36
|
+
* alignment: 'center'
|
|
37
|
+
* };
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export interface OrientationConfig {
|
|
41
|
+
/**
|
|
42
|
+
* Design width in pixels for this orientation.
|
|
43
|
+
*/
|
|
44
|
+
width: number;
|
|
45
|
+
/**
|
|
46
|
+
* Design height in pixels for this orientation.
|
|
47
|
+
*/
|
|
48
|
+
height: number;
|
|
49
|
+
/**
|
|
50
|
+
* Scaling mode (default: 'contain').
|
|
51
|
+
*/
|
|
52
|
+
scaleMode?: DisplayScaleMode;
|
|
53
|
+
/**
|
|
54
|
+
* Safe area margins in pixels (only applies to 'safe' mode).
|
|
55
|
+
*/
|
|
56
|
+
safeArea?: SafeAreaConfig;
|
|
57
|
+
/**
|
|
58
|
+
* Alignment of the game canvas within the window (default: 'center').
|
|
59
|
+
*/
|
|
60
|
+
alignment?: DisplayAlignment;
|
|
61
|
+
/**
|
|
62
|
+
* Supported aspect ratio range for this orientation.
|
|
63
|
+
* When window aspect ratio is outside this range, it will be clamped
|
|
64
|
+
* to the nearest supported ratio. The clamped area is always centered
|
|
65
|
+
* on screen, and the stage is positioned within it according to alignment.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```typescript
|
|
69
|
+
* // Portrait: support 9:16 to 9:21 (0.428 to 0.5625)
|
|
70
|
+
* aspectRatioRange: {
|
|
71
|
+
* min: 9 / 21, // 0.428 - narrowest supported
|
|
72
|
+
* max: 9 / 16 // 0.5625 - widest supported
|
|
73
|
+
* }
|
|
74
|
+
*
|
|
75
|
+
* // Landscape: support 16:9 to 21:9 (1.78 to 2.33)
|
|
76
|
+
* aspectRatioRange: {
|
|
77
|
+
* min: 16 / 9, // 1.78 - tallest supported
|
|
78
|
+
* max: 21 / 9 // 2.33 - widest supported
|
|
79
|
+
* }
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
aspectRatioRange?: {
|
|
83
|
+
min: number;
|
|
84
|
+
max: number;
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Configuration for DisplayPlugin.
|
|
89
|
+
*
|
|
90
|
+
* Controls the game's design resolution, scaling behavior, and alignment within the browser window.
|
|
91
|
+
* DisplayPlugin maintains a fixed design resolution and scales the game to fit the window while
|
|
92
|
+
* preserving aspect ratio. Supports separate configurations for landscape and portrait orientations.
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* ```typescript
|
|
96
|
+
* const config: DisplayPluginConfig = {
|
|
97
|
+
* landscape: {
|
|
98
|
+
* width: 1920,
|
|
99
|
+
* height: 1080,
|
|
100
|
+
* scaleMode: 'safe',
|
|
101
|
+
* safeArea: { left: 100, right: 100 },
|
|
102
|
+
* alignment: 'center'
|
|
103
|
+
* },
|
|
104
|
+
* portrait: {
|
|
105
|
+
* width: 1080,
|
|
106
|
+
* height: 1920,
|
|
107
|
+
* scaleMode: 'contain',
|
|
108
|
+
* alignment: 'center'
|
|
109
|
+
* }
|
|
110
|
+
* };
|
|
111
|
+
* ```
|
|
112
|
+
*
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export interface DisplayPluginConfig extends PluginConfig {
|
|
116
|
+
/**
|
|
117
|
+
* Configuration for landscape orientation (required).
|
|
118
|
+
*/
|
|
119
|
+
landscape: OrientationConfig;
|
|
120
|
+
/**
|
|
121
|
+
* Configuration for portrait orientation (optional).
|
|
122
|
+
* If not provided, landscape config will be used with a warning.
|
|
123
|
+
*/
|
|
124
|
+
portrait?: OrientationConfig;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Payload emitted on `display:resize`.
|
|
128
|
+
*/
|
|
129
|
+
export interface DisplayResizeData {
|
|
130
|
+
designWidth: number;
|
|
131
|
+
designHeight: number;
|
|
132
|
+
windowWidth: number;
|
|
133
|
+
windowHeight: number;
|
|
134
|
+
width: number;
|
|
135
|
+
height: number;
|
|
136
|
+
scale: number;
|
|
137
|
+
left: number;
|
|
138
|
+
top: number;
|
|
139
|
+
offsetX: number;
|
|
140
|
+
offsetY: number;
|
|
141
|
+
resolution: number;
|
|
142
|
+
orientation: 'landscape' | 'portrait';
|
|
143
|
+
/** Clamped viewport left edge in design coordinates: `-left / scale`. */
|
|
144
|
+
uiViewportLeftX: number;
|
|
145
|
+
/** Clamped viewport top edge in design coordinates: `-top / scale`. */
|
|
146
|
+
uiViewportTopY: number;
|
|
147
|
+
/** Clamped viewport right edge in design coordinates: `(width - left) / scale`. */
|
|
148
|
+
uiViewportRightX: number;
|
|
149
|
+
/** Clamped viewport bottom edge in design coordinates: `(height - top) / scale`. */
|
|
150
|
+
uiViewportBottomY: number;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Display events emitted by DisplayPlugin.
|
|
154
|
+
*/
|
|
155
|
+
export interface DisplayEvents {
|
|
156
|
+
/**
|
|
157
|
+
* Emitted when the display is resized.
|
|
158
|
+
*/
|
|
159
|
+
'display:resize': (data: DisplayResizeData) => void;
|
|
160
|
+
/**
|
|
161
|
+
* Emitted when the orientation changes.
|
|
162
|
+
*/
|
|
163
|
+
'display:orientationChange': (data: {
|
|
164
|
+
oldOrientation: 'landscape' | 'portrait';
|
|
165
|
+
newOrientation: 'landscape' | 'portrait';
|
|
166
|
+
}) => void;
|
|
167
|
+
/**
|
|
168
|
+
* Emitted when fullscreen state changes.
|
|
169
|
+
*/
|
|
170
|
+
'display:fullscreenChange': (data: {
|
|
171
|
+
isFullscreen: boolean;
|
|
172
|
+
}) => void;
|
|
173
|
+
}
|
|
174
|
+
//# sourceMappingURL=DisplayPlugin.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DisplayPlugin.types.d.ts","sourceRoot":"","sources":["../../../plugins/display/DisplayPlugin.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,QAAQ,GACR,KAAK,GACL,QAAQ,GACR,MAAM,GACN,OAAO,GACP,UAAU,GACV,WAAW,GACX,aAAa,GACb,cAAc,CAAC;AAEnB;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAE5D;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAE7B;;OAEG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC;IAE1B;;OAEG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAE7B;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,gBAAgB,CAAC,EAAE;QACjB,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;CACH;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD;;OAEG;IACH,SAAS,EAAE,iBAAiB,CAAC;IAE7B;;;OAGG;IACH,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,WAAW,GAAG,UAAU,CAAC;IACtC,yEAAyE;IACzE,eAAe,EAAE,MAAM,CAAC;IACxB,uEAAuE;IACvE,cAAc,EAAE,MAAM,CAAC;IACvB,mFAAmF;IACnF,gBAAgB,EAAE,MAAM,CAAC;IACzB,oFAAoF;IACpF,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,gBAAgB,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAEpD;;OAEG;IACH,2BAA2B,EAAE,CAAC,IAAI,EAAE;QAClC,cAAc,EAAE,WAAW,GAAG,UAAU,CAAC;QACzC,cAAc,EAAE,WAAW,GAAG,UAAU,CAAC;KAC1C,KAAK,IAAI,CAAC;IAEX;;OAEG;IACH,0BAA0B,EAAE,CAAC,IAAI,EAAE;QACjC,YAAY,EAAE,OAAO,CAAC;KACvB,KAAK,IAAI,CAAC;CACZ"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { DisplayResizeData } from './DisplayPlugin.types';
|
|
2
|
+
export interface DesignViewportRect {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
}
|
|
8
|
+
/** Maps DisplayPlugin clamp geometry to a rectangle in design coordinates. */
|
|
9
|
+
export declare function computeDesignViewportRect(data: DisplayResizeData): DesignViewportRect;
|
|
10
|
+
//# sourceMappingURL=displayViewport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"displayViewport.d.ts","sourceRoot":"","sources":["../../../plugins/display/displayViewport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,MAAM,WAAW,kBAAkB;IACjC,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,8EAA8E;AAC9E,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,iBAAiB,GAAG,kBAAkB,CAUrF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../plugins/display/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,YAAY,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter } from 'pixi.js';
|
|
2
|
+
import type { EnginePlugin } from '../Plugin.types';
|
|
3
|
+
import { ENGINE_HOOKS } from '../Plugin.types';
|
|
4
|
+
import type { PixiEngine } from '../../engine/PixiEngine';
|
|
5
|
+
import type { EventResult, EngineEvents } from './EventBusPlugin.types';
|
|
6
|
+
export declare class EventBusPlugin<TEvents extends EngineEvents = EngineEvents> extends EventEmitter<TEvents> implements EnginePlugin {
|
|
7
|
+
[ENGINE_HOOKS.onEngineReady]: (_engine: PixiEngine) => void;
|
|
8
|
+
[ENGINE_HOOKS.onPause]: (_engine: PixiEngine) => void;
|
|
9
|
+
[ENGINE_HOOKS.onResume]: (_engine: PixiEngine) => void;
|
|
10
|
+
[ENGINE_HOOKS.onResize]: (width: number, height: number) => boolean;
|
|
11
|
+
readonly name = "eventBusPlugin";
|
|
12
|
+
readonly priority = 5;
|
|
13
|
+
constructor();
|
|
14
|
+
initialize(_engine: PixiEngine): Promise<void>;
|
|
15
|
+
cleanup(): void;
|
|
16
|
+
emit<T extends EventEmitter.EventNames<TEvents>>(event: T, ...args: Parameters<EventEmitter.EventListener<TEvents, T>>): boolean;
|
|
17
|
+
emitAsync<T extends EventEmitter.EventNames<TEvents>>(event: T, ...args: Parameters<EventEmitter.EventListener<TEvents, T>>): Promise<any>;
|
|
18
|
+
emitCancellable<T extends keyof TEvents>(event: T, ...args: any[]): EventResult;
|
|
19
|
+
emitCancellableAsync<T extends keyof TEvents>(event: T, ...args: any[]): Promise<EventResult>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=EventBusPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventBusPlugin.d.ts","sourceRoot":"","sources":["../../../plugins/eventbus/EventBusPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAGxE,qBAAa,cAAc,CAAC,OAAO,SAAS,YAAY,GAAG,YAAY,CACrE,SAAQ,YAAY,CAAC,OAAO,CAC5B,YAAW,YAAY;IAavB,CAAC,YAAY,CAAC,aAAa,CAAC,YAAU,UAAU,KAAG,IAAI;IAKvD,CAAC,YAAY,CAAC,OAAO,CAAC,YAAU,UAAU,KAAG,IAAI;IAKjD,CAAC,YAAY,CAAC,QAAQ,CAAC,YAAU,UAAU,KAAG,IAAI;IAKlD,CAAC,YAAY,CAAC,QAAQ,CAAC,UAAQ,MAAM,UAAU,MAAM,KAAG,OAAO;IA3B/D,SAAgB,IAAI,oBAAoB;IACxC,SAAgB,QAAQ,KAAK;;IAOvB,UAAU,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IAyBpD,OAAO,IAAI,IAAI;IAcf,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,UAAU,CAAC,YAAY,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,GAAG,OAAO;IAU1H,SAAS,CAAC,CAAC,SAAS,YAAY,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,UAAU,CAAC,YAAY,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC;IAOhJ,eAAe,CAAC,CAAC,SAAS,MAAM,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,WAAW;IA4BzE,oBAAoB,CAAC,CAAC,SAAS,MAAM,OAAO,EAChD,KAAK,EAAE,CAAC,EACR,GAAG,IAAI,EAAE,GAAG,EAAE,GACb,OAAO,CAAC,WAAW,CAAC;CA+BxB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface EventResult {
|
|
2
|
+
cancelled: boolean;
|
|
3
|
+
data?: any;
|
|
4
|
+
priority: number;
|
|
5
|
+
cancel(priority?: number): void;
|
|
6
|
+
setData(data: any): void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Base game events interface
|
|
10
|
+
* This is intentionally minimal - specific game types (slot, plinko, etc.) should extend this
|
|
11
|
+
*
|
|
12
|
+
* Engine lifecycle events are automatically emitted by EventBusPlugin via PixiEngine hooks:
|
|
13
|
+
* - 'engine:ready' - Emitted in onEngineReady() hook when entire engine is initialized
|
|
14
|
+
* - 'engine:resize' - Emitted in onResize() hook when window is resized
|
|
15
|
+
* - 'engine:pause' - Emitted in onPause() hook when engine.pause() is called
|
|
16
|
+
* - 'engine:resume' - Emitted in onResume() hook when engine.resume() is called
|
|
17
|
+
*/
|
|
18
|
+
export interface EngineEvents {
|
|
19
|
+
'engine:ready': () => void;
|
|
20
|
+
'engine:resize': (width: number, height: number) => void;
|
|
21
|
+
'engine:pause': () => void;
|
|
22
|
+
'engine:resume': () => void;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=EventBusPlugin.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventBusPlugin.types.d.ts","sourceRoot":"","sources":["../../../plugins/eventbus/EventBusPlugin.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,OAAO,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAAC;CAC1B;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,YAAY;IAE3B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../plugins/eventbus/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
import { PixiEngine } from '../../engine/PixiEngine';
|
|
2
|
+
import { Container } from 'pixi.js';
|
|
3
|
+
import type { EnginePlugin } from '../Plugin.types';
|
|
4
|
+
/**
|
|
5
|
+
* GSAP animation integration plugin for PixiJS games.
|
|
6
|
+
*
|
|
7
|
+
* GsapPlugin integrates the powerful GSAP (GreenSock Animation Platform) library
|
|
8
|
+
* with PixiJS, providing a unified animation loop and convenient animation helpers.
|
|
9
|
+
*
|
|
10
|
+
* ## Features
|
|
11
|
+
*
|
|
12
|
+
* - **Unified Ticker**: Single animation loop driven by GSAP
|
|
13
|
+
* - **Animation Helpers**: Pre-built fade, scale, move animations
|
|
14
|
+
* - **Timeline Support**: Create complex animation sequences
|
|
15
|
+
* - **PixiJS Integration**: Direct access to stage management
|
|
16
|
+
* - **Type-Safe**: Full TypeScript support
|
|
17
|
+
*
|
|
18
|
+
* ## How It Works
|
|
19
|
+
*
|
|
20
|
+
* GsapPlugin replaces PixiJS's default ticker with GSAP's ticker, ensuring all
|
|
21
|
+
* animations (both GSAP and PixiJS) run on the same timeline. This prevents
|
|
22
|
+
* timing conflicts and improves performance.
|
|
23
|
+
*
|
|
24
|
+
* ### Ticker Integration
|
|
25
|
+
*
|
|
26
|
+
* 1. GSAP ticker runs at 60 FPS (or requestAnimationFrame)
|
|
27
|
+
* 2. On each tick, GSAP updates all its tweens
|
|
28
|
+
* 3. Plugin forwards tick to PixiJS ticker
|
|
29
|
+
* 4. Engine's onUpdate is called for game logic
|
|
30
|
+
*
|
|
31
|
+
* ## Animation Helpers
|
|
32
|
+
*
|
|
33
|
+
* The plugin provides convenient methods for common animations:
|
|
34
|
+
* - `fadeIn()` / `fadeOut()` - Opacity animations
|
|
35
|
+
* - `scaleIn()` / `scaleOut()` - Scale animations with easing
|
|
36
|
+
* - `moveTo()` - Position animations
|
|
37
|
+
* - `animate()` - Generic property animations
|
|
38
|
+
* - `sequence()` - Staggered animation sequences
|
|
39
|
+
* - `createTimeline()` - Complex animation timelines
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```typescript
|
|
43
|
+
* const gsapPlugin = new GsapPlugin();
|
|
44
|
+
* engine.registerPlugin(gsapPlugin);
|
|
45
|
+
* await engine.initialize();
|
|
46
|
+
*
|
|
47
|
+
* // Fade in a sprite
|
|
48
|
+
* const sprite = new Sprite(texture);
|
|
49
|
+
* gsapPlugin.addToStage(sprite);
|
|
50
|
+
* gsapPlugin.fadeIn(sprite, 1.0);
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```typescript
|
|
55
|
+
* // Create a complex animation sequence
|
|
56
|
+
* const timeline = gsapPlugin.createTimeline();
|
|
57
|
+
*
|
|
58
|
+
* timeline
|
|
59
|
+
* .add(gsapPlugin.fadeIn(logo, 0.5))
|
|
60
|
+
* .add(gsapPlugin.scaleIn(button, 0.3), '-=0.2')
|
|
61
|
+
* .add(gsapPlugin.moveTo(panel, 100, 200, 0.5));
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* ```typescript
|
|
66
|
+
* // Staggered animations
|
|
67
|
+
* const buttons = [button1, button2, button3];
|
|
68
|
+
*
|
|
69
|
+
* gsapPlugin.sequence(
|
|
70
|
+
* buttons.map(btn => () => gsapPlugin.fadeIn(btn, 0.3)),
|
|
71
|
+
* 0.1 // 0.1s delay between each
|
|
72
|
+
* );
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```typescript
|
|
77
|
+
* // Custom animation with callbacks
|
|
78
|
+
* gsapPlugin.animate(sprite, { rotation: Math.PI * 2 }, 2.0, {
|
|
79
|
+
* ease: 'elastic.out',
|
|
80
|
+
* onComplete: () => console.log('Rotation complete!')
|
|
81
|
+
* });
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* @category Plugins
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class GsapPlugin implements EnginePlugin {
|
|
88
|
+
/**
|
|
89
|
+
* Plugin name
|
|
90
|
+
*/
|
|
91
|
+
name: string;
|
|
92
|
+
/**
|
|
93
|
+
* High priority to ensure it runs before other plugins
|
|
94
|
+
*/
|
|
95
|
+
priority: number;
|
|
96
|
+
/**
|
|
97
|
+
* No dependencies - this is a core plugin
|
|
98
|
+
*/
|
|
99
|
+
dependencies: string[];
|
|
100
|
+
private engine;
|
|
101
|
+
private gsapTickerCallback;
|
|
102
|
+
private isInitialized;
|
|
103
|
+
/**
|
|
104
|
+
* Initializes the GSAP plugin.
|
|
105
|
+
*
|
|
106
|
+
* Sets up the unified ticker system by connecting GSAP's ticker to PixiJS.
|
|
107
|
+
* Called automatically by PixiEngine during plugin initialization.
|
|
108
|
+
*
|
|
109
|
+
* @param engine - PixiEngine instance
|
|
110
|
+
*/
|
|
111
|
+
initialize(engine: PixiEngine): void;
|
|
112
|
+
/**
|
|
113
|
+
* Plugin is ready immediately after initialization
|
|
114
|
+
*/
|
|
115
|
+
onReady(engine: PixiEngine): void;
|
|
116
|
+
/**
|
|
117
|
+
* Check if plugin is ready for use
|
|
118
|
+
*/
|
|
119
|
+
isReady(): boolean;
|
|
120
|
+
[key: symbol]: any;
|
|
121
|
+
/**
|
|
122
|
+
* Clean up when plugin is removed
|
|
123
|
+
*/
|
|
124
|
+
cleanup(): void;
|
|
125
|
+
/**
|
|
126
|
+
* Plugin hook that runs every tick
|
|
127
|
+
* @param deltaTime The time elapsed since the last update
|
|
128
|
+
* @returns Returns false because GsapPlugin allows other plugins to continue updating.
|
|
129
|
+
* GSAP ticker and plugin onUpdate loops are different mechanisms.
|
|
130
|
+
*/
|
|
131
|
+
onUpdate(_deltaTime: number): boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Creates a GSAP timeline for complex animation sequences.
|
|
134
|
+
*
|
|
135
|
+
* Timelines allow you to choreograph multiple animations with precise timing control.
|
|
136
|
+
*
|
|
137
|
+
* @param vars - Timeline configuration options
|
|
138
|
+
* @returns GSAP Timeline instance
|
|
139
|
+
*
|
|
140
|
+
* @example
|
|
141
|
+
* ```typescript
|
|
142
|
+
* const timeline = gsapPlugin.createTimeline({ repeat: -1, yoyo: true });
|
|
143
|
+
* timeline
|
|
144
|
+
* .to(sprite, { x: 100, duration: 1 })
|
|
145
|
+
* .to(sprite, { y: 100, duration: 1 })
|
|
146
|
+
* .to(sprite, { rotation: Math.PI, duration: 1 });
|
|
147
|
+
* ```
|
|
148
|
+
*/
|
|
149
|
+
createTimeline(vars?: gsap.TimelineVars): gsap.core.Timeline;
|
|
150
|
+
/**
|
|
151
|
+
* Fades in a container from transparent to opaque.
|
|
152
|
+
*
|
|
153
|
+
* Sets alpha to 0 and animates to 1.
|
|
154
|
+
*
|
|
155
|
+
* @param target - Container to animate
|
|
156
|
+
* @param duration - Animation duration in seconds (default: 0.5)
|
|
157
|
+
* @param vars - Additional GSAP tween options
|
|
158
|
+
* @returns Promise that resolves to GSAP Tween instance
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* ```typescript
|
|
162
|
+
* gsapPlugin.fadeIn(sprite, 1.0, {
|
|
163
|
+
* ease: 'power2.out',
|
|
164
|
+
* onComplete: () => console.log('Fade complete!')
|
|
165
|
+
* });
|
|
166
|
+
* ```
|
|
167
|
+
*/
|
|
168
|
+
fadeIn(target: Container, duration?: number, vars?: gsap.TweenVars): Promise<gsap.core.Tween>;
|
|
169
|
+
/**
|
|
170
|
+
* Fade out a Container
|
|
171
|
+
* @param target Container to animate
|
|
172
|
+
* @param duration Animation duration in seconds
|
|
173
|
+
* @param vars Additional animation variables
|
|
174
|
+
* @returns Promise that resolves to GSAP Tween instance
|
|
175
|
+
*/
|
|
176
|
+
fadeOut(target: Container, duration?: number, vars?: gsap.TweenVars): Promise<gsap.core.Tween>;
|
|
177
|
+
/**
|
|
178
|
+
* Scales in a container with a bounce effect.
|
|
179
|
+
*
|
|
180
|
+
* Starts from 0.5 scale and animates to original scale with back.out easing.
|
|
181
|
+
*
|
|
182
|
+
* @param target - Container to animate
|
|
183
|
+
* @param duration - Animation duration in seconds (default: 0.5)
|
|
184
|
+
* @param vars - Additional GSAP tween options
|
|
185
|
+
* @returns Promise that resolves to GSAP Tween instance
|
|
186
|
+
*
|
|
187
|
+
* @example
|
|
188
|
+
* ```typescript
|
|
189
|
+
* gsapPlugin.scaleIn(button, 0.3, {
|
|
190
|
+
* delay: 0.5,
|
|
191
|
+
* onComplete: () => button.interactive = true
|
|
192
|
+
* });
|
|
193
|
+
* ```
|
|
194
|
+
*/
|
|
195
|
+
scaleIn(target: Container, duration?: number, vars?: gsap.TweenVars): Promise<gsap.core.Tween>;
|
|
196
|
+
/**
|
|
197
|
+
* Scale out a Container
|
|
198
|
+
* @param target Container to animate
|
|
199
|
+
* @param duration Animation duration in seconds
|
|
200
|
+
* @param vars Additional animation variables
|
|
201
|
+
* @returns Promise that resolves to GSAP Tween instance
|
|
202
|
+
*/
|
|
203
|
+
scaleOut(target: Container, duration?: number, vars?: gsap.TweenVars): Promise<gsap.core.Tween>;
|
|
204
|
+
/**
|
|
205
|
+
* Moves a container to a new position.
|
|
206
|
+
*
|
|
207
|
+
* Animates x and y properties with power2.out easing.
|
|
208
|
+
*
|
|
209
|
+
* @param target - Container to animate
|
|
210
|
+
* @param x - Target x position
|
|
211
|
+
* @param y - Target y position
|
|
212
|
+
* @param duration - Animation duration in seconds (default: 0.5)
|
|
213
|
+
* @param vars - Additional GSAP tween options
|
|
214
|
+
* @returns Promise that resolves to GSAP Tween instance
|
|
215
|
+
*
|
|
216
|
+
* @example
|
|
217
|
+
* ```typescript
|
|
218
|
+
* gsapPlugin.moveTo(sprite, 400, 300, 1.0, {
|
|
219
|
+
* ease: 'elastic.out',
|
|
220
|
+
* onUpdate: () => console.log('Moving...')
|
|
221
|
+
* });
|
|
222
|
+
* ```
|
|
223
|
+
*/
|
|
224
|
+
moveTo(target: Container, x: number, y: number, duration?: number, vars?: gsap.TweenVars): Promise<gsap.core.Tween>;
|
|
225
|
+
/**
|
|
226
|
+
* Animates any properties of an object.
|
|
227
|
+
*
|
|
228
|
+
* Generic animation method for custom property animations.
|
|
229
|
+
*
|
|
230
|
+
* @param target - Object to animate (Container, Sprite, or any object)
|
|
231
|
+
* @param props - Properties to animate with target values
|
|
232
|
+
* @param duration - Animation duration in seconds (default: 0.5)
|
|
233
|
+
* @param vars - Additional GSAP tween options
|
|
234
|
+
* @returns Promise that resolves to GSAP Tween instance
|
|
235
|
+
*
|
|
236
|
+
* @example
|
|
237
|
+
* ```typescript
|
|
238
|
+
* gsapPlugin.animate(sprite, {
|
|
239
|
+
* rotation: Math.PI * 2,
|
|
240
|
+
* alpha: 0.5,
|
|
241
|
+
* scale: { x: 2, y: 2 }
|
|
242
|
+
* }, 2.0, {
|
|
243
|
+
* ease: 'bounce.out'
|
|
244
|
+
* });
|
|
245
|
+
* ```
|
|
246
|
+
*/
|
|
247
|
+
animate(target: gsap.TweenTarget, props: object, vars?: gsap.TweenVars): Promise<gsap.core.Tween>;
|
|
248
|
+
/**
|
|
249
|
+
* Creates a staggered sequence of animations.
|
|
250
|
+
*
|
|
251
|
+
* Executes multiple animations with a time delay between each.
|
|
252
|
+
*
|
|
253
|
+
* @param animations - Array of functions that return GSAP Tweens
|
|
254
|
+
* @param stagger - Time delay between each animation in seconds (default: 0.1)
|
|
255
|
+
* @returns Promise that resolves to GSAP Timeline instance
|
|
256
|
+
*
|
|
257
|
+
* @example
|
|
258
|
+
* ```typescript
|
|
259
|
+
* const items = [item1, item2, item3, item4];
|
|
260
|
+
*
|
|
261
|
+
* gsapPlugin.timeline(
|
|
262
|
+
* items.map(item => () => gsapPlugin.fadeIn(item, 0.3)),
|
|
263
|
+
* 0.15 // 0.15s delay between each
|
|
264
|
+
* );
|
|
265
|
+
* ```
|
|
266
|
+
*/
|
|
267
|
+
timeline(animations: Array<() => gsap.core.Tween>, stagger?: number): Promise<gsap.core.Timeline>;
|
|
268
|
+
/**
|
|
269
|
+
* Creates a delayed function call.
|
|
270
|
+
*
|
|
271
|
+
* Executes a callback after a specified delay.
|
|
272
|
+
*
|
|
273
|
+
* @param delay - Delay in seconds before executing the callback
|
|
274
|
+
* @param callback - Function to execute after the delay
|
|
275
|
+
* @param params - Optional parameters to pass to the callback
|
|
276
|
+
* @returns GSAP Tween instance (can be used to kill the delayed call)
|
|
277
|
+
*
|
|
278
|
+
* @example
|
|
279
|
+
* ```typescript
|
|
280
|
+
* // Simple delayed call
|
|
281
|
+
* gsapPlugin.delayedCall(2, () => console.log('2 seconds passed'));
|
|
282
|
+
*
|
|
283
|
+
* // With parameters
|
|
284
|
+
* gsapPlugin.delayedCall(1.5, (msg) => console.log(msg), ['Hello!']);
|
|
285
|
+
*
|
|
286
|
+
* // Store reference to cancel later
|
|
287
|
+
* const call = gsapPlugin.delayedCall(5, doSomething);
|
|
288
|
+
* call.kill(); // Cancel the delayed call
|
|
289
|
+
* ```
|
|
290
|
+
*/
|
|
291
|
+
delayedCall(delay: number, callback: gsap.Callback, params?: any[]): gsap.core.Tween;
|
|
292
|
+
/**
|
|
293
|
+
* Waits for a duration using GSAP delayedCall.
|
|
294
|
+
* Respects engine pause/resume via GSAP ticker sleep/wake.
|
|
295
|
+
*
|
|
296
|
+
* @param duration - Delay in seconds
|
|
297
|
+
* @returns Promise that resolves after the delay
|
|
298
|
+
*
|
|
299
|
+
* @example
|
|
300
|
+
* ```typescript
|
|
301
|
+
* await gsapPlugin.delay(0.5);
|
|
302
|
+
* showPopup();
|
|
303
|
+
* ```
|
|
304
|
+
*/
|
|
305
|
+
delay(duration: number): Promise<void>;
|
|
306
|
+
}
|
|
307
|
+
//# sourceMappingURL=GsapPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GsapPlugin.d.ts","sourceRoot":"","sources":["../../../plugins/gsap/GsapPlugin.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../plugins/gsap/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './device';
|
|
2
|
+
export * from './resource';
|
|
3
|
+
export * from './display';
|
|
4
|
+
export * from './eventbus';
|
|
5
|
+
export * from './gsap';
|
|
6
|
+
export * from './input';
|
|
7
|
+
export * from './language';
|
|
8
|
+
export * from './scene';
|
|
9
|
+
export * from './sentry';
|
|
10
|
+
export * from './service';
|
|
11
|
+
export * from './skin';
|
|
12
|
+
export * from './sound';
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../plugins/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
|