@caperjs/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/LICENSE +22 -0
- package/README.md +62 -0
- package/cli/add.mjs +197 -0
- package/cli/audio/cc.mjs +128 -0
- package/cli/audio/index.mjs +42 -0
- package/cli/audio/utils.mjs +56 -0
- package/cli/create-caper.mjs +8 -0
- package/cli/create.mjs +351 -0
- package/cli/install-peerdeps.mjs +57 -0
- package/cli/update.mjs +9 -0
- package/cli/utils.mjs +81 -0
- package/cli/vite.mjs +55 -0
- package/cli/voiceover/generateVoiceoverCSV.mjs +158 -0
- package/cli/voiceover/index.mjs +1 -0
- package/cli.mjs +157 -0
- package/client.d.ts +7 -0
- package/config/assetpack.mjs +212 -0
- package/config/tsconfig.base.json +28 -0
- package/config/vite.mjs +2464 -0
- package/extras/css/accessibility.css +9 -0
- package/extras/css/fullscreen.css +28 -0
- package/extras/css/loader.css +67 -0
- package/extras/llms.txt +1602 -0
- package/lib/CaptionsPlugin-Dc8fIrjy.js +277 -0
- package/lib/CaptionsPlugin-Dc8fIrjy.js.map +1 -0
- package/lib/DataAdapter-BY2114sp.js +84 -0
- package/lib/DataAdapter-BY2114sp.js.map +1 -0
- package/lib/DebugRenderer-BJMLILqI.js +1385 -0
- package/lib/DebugRenderer-BJMLILqI.js.map +1 -0
- package/lib/DevToolsPlugin-wQ5rOkn0.js +31 -0
- package/lib/DevToolsPlugin-wQ5rOkn0.js.map +1 -0
- package/lib/GSAPPlugin-DHhSZKv8.js +350 -0
- package/lib/GSAPPlugin-DHhSZKv8.js.map +1 -0
- package/lib/LayoutPlugin-B-DF9SYM.js +1271 -0
- package/lib/LayoutPlugin-B-DF9SYM.js.map +1 -0
- package/lib/SpinePlugin-Dz_3dljz.js +6077 -0
- package/lib/SpinePlugin-Dz_3dljz.js.map +1 -0
- package/lib/StatsPlugin-Cg82JMBD.js +70 -0
- package/lib/StatsPlugin-Cg82JMBD.js.map +1 -0
- package/lib/VoiceOverPlugin-BR3ImT8C.js +114 -0
- package/lib/VoiceOverPlugin-BR3ImT8C.js.map +1 -0
- package/lib/caper.mjs +1233 -0
- package/lib/caper.mjs.map +1 -0
- package/lib/core/Application.d.ts +268 -0
- package/lib/core/Application.d.ts.map +1 -0
- package/lib/core/config.d.ts +39 -0
- package/lib/core/config.d.ts.map +1 -0
- package/lib/core/create.d.ts +41 -0
- package/lib/core/create.d.ts.map +1 -0
- package/lib/core/globals.d.ts +51 -0
- package/lib/core/globals.d.ts.map +1 -0
- package/lib/core/index.d.ts +7 -0
- package/lib/core/index.d.ts.map +1 -0
- package/lib/core/interfaces/IApplication.d.ts +566 -0
- package/lib/core/interfaces/IApplication.d.ts.map +1 -0
- package/lib/core/interfaces/IApplicationOptions.d.ts +65 -0
- package/lib/core/interfaces/IApplicationOptions.d.ts.map +1 -0
- package/lib/core/interfaces/ICoreFunctions.d.ts +49 -0
- package/lib/core/interfaces/ICoreFunctions.d.ts.map +1 -0
- package/lib/core/interfaces/ICoreSignals.d.ts +57 -0
- package/lib/core/interfaces/ICoreSignals.d.ts.map +1 -0
- package/lib/core/interfaces/IStorageCapability.d.ts +20 -0
- package/lib/core/interfaces/IStorageCapability.d.ts.map +1 -0
- package/lib/core/interfaces/IStorageCapability.test.d.ts +2 -0
- package/lib/core/interfaces/IStorageCapability.test.d.ts.map +1 -0
- package/lib/core/interfaces/index.d.ts +7 -0
- package/lib/core/interfaces/index.d.ts.map +1 -0
- package/lib/core/registries.d.ts +8 -0
- package/lib/core/registries.d.ts.map +1 -0
- package/lib/core/types.d.ts +12 -0
- package/lib/core/types.d.ts.map +1 -0
- package/lib/display/AnimatedSprite.d.ts +40 -0
- package/lib/display/AnimatedSprite.d.ts.map +1 -0
- package/lib/display/Camera.d.ts +102 -0
- package/lib/display/Camera.d.ts.map +1 -0
- package/lib/display/Container.d.ts +115 -0
- package/lib/display/Container.d.ts.map +1 -0
- package/lib/display/Entity.d.ts +46 -0
- package/lib/display/Entity.d.ts.map +1 -0
- package/lib/display/ParticleContainer.d.ts +58 -0
- package/lib/display/ParticleContainer.d.ts.map +1 -0
- package/lib/display/Scene.d.ts +250 -0
- package/lib/display/Scene.d.ts.map +1 -0
- package/lib/display/SceneTransition.d.ts +41 -0
- package/lib/display/SceneTransition.d.ts.map +1 -0
- package/lib/display/SpineAnimation.d.ts +76 -0
- package/lib/display/SpineAnimation.d.ts.map +1 -0
- package/lib/display/Svg.d.ts +5 -0
- package/lib/display/Svg.d.ts.map +1 -0
- package/lib/display/index.d.ts +10 -0
- package/lib/display/index.d.ts.map +1 -0
- package/lib/env.d.ts +6 -0
- package/lib/hello.d.ts +2 -0
- package/lib/hello.d.ts.map +1 -0
- package/lib/index.d.ts +15 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/mixins/animated.d.ts +53 -0
- package/lib/mixins/animated.d.ts.map +1 -0
- package/lib/mixins/factory/Factory.d.ts +8 -0
- package/lib/mixins/factory/Factory.d.ts.map +1 -0
- package/lib/mixins/factory/const.d.ts +67 -0
- package/lib/mixins/factory/const.d.ts.map +1 -0
- package/lib/mixins/factory/index.d.ts +8 -0
- package/lib/mixins/factory/index.d.ts.map +1 -0
- package/lib/mixins/factory/methods.d.ts +3 -0
- package/lib/mixins/factory/methods.d.ts.map +1 -0
- package/lib/mixins/factory/props.d.ts +160 -0
- package/lib/mixins/factory/props.d.ts.map +1 -0
- package/lib/mixins/factory/registry.d.ts +27 -0
- package/lib/mixins/factory/registry.d.ts.map +1 -0
- package/lib/mixins/factory/registry.test.d.ts +2 -0
- package/lib/mixins/factory/registry.test.d.ts.map +1 -0
- package/lib/mixins/factory/schema.d.ts +71 -0
- package/lib/mixins/factory/schema.d.ts.map +1 -0
- package/lib/mixins/factory/ui-registry.d.ts +20 -0
- package/lib/mixins/factory/ui-registry.d.ts.map +1 -0
- package/lib/mixins/factory/utils.d.ts +11 -0
- package/lib/mixins/factory/utils.d.ts.map +1 -0
- package/lib/mixins/focus.d.ts +15 -0
- package/lib/mixins/focus.d.ts.map +1 -0
- package/lib/mixins/index.d.ts +6 -0
- package/lib/mixins/index.d.ts.map +1 -0
- package/lib/mixins/interaction.d.ts +20 -0
- package/lib/mixins/interaction.d.ts.map +1 -0
- package/lib/mixins/signals.d.ts +15 -0
- package/lib/mixins/signals.d.ts.map +1 -0
- package/lib/plugins/AssetsPlugin.d.ts +79 -0
- package/lib/plugins/AssetsPlugin.d.ts.map +1 -0
- package/lib/plugins/DataAdapter.d.ts +95 -0
- package/lib/plugins/DataAdapter.d.ts.map +1 -0
- package/lib/plugins/DevToolsPlugin.d.ts +97 -0
- package/lib/plugins/DevToolsPlugin.d.ts.map +1 -0
- package/lib/plugins/FullScreenPlugin.d.ts +240 -0
- package/lib/plugins/FullScreenPlugin.d.ts.map +1 -0
- package/lib/plugins/GSAPPlugin.d.ts +634 -0
- package/lib/plugins/GSAPPlugin.d.ts.map +1 -0
- package/lib/plugins/KeyboardPlugin.d.ts +53 -0
- package/lib/plugins/KeyboardPlugin.d.ts.map +1 -0
- package/lib/plugins/LayoutPlugin.d.ts +100 -0
- package/lib/plugins/LayoutPlugin.d.ts.map +1 -0
- package/lib/plugins/LookupPlugin.d.ts +223 -0
- package/lib/plugins/LookupPlugin.d.ts.map +1 -0
- package/lib/plugins/Plugin.d.ts +132 -0
- package/lib/plugins/Plugin.d.ts.map +1 -0
- package/lib/plugins/Plugin.test.d.ts +2 -0
- package/lib/plugins/Plugin.test.d.ts.map +1 -0
- package/lib/plugins/PopupManagerPlugin.d.ts +108 -0
- package/lib/plugins/PopupManagerPlugin.d.ts.map +1 -0
- package/lib/plugins/ResizerPlugin.d.ts +62 -0
- package/lib/plugins/ResizerPlugin.d.ts.map +1 -0
- package/lib/plugins/SceneManagerPlugin.d.ts +122 -0
- package/lib/plugins/SceneManagerPlugin.d.ts.map +1 -0
- package/lib/plugins/StatsPlugin.d.ts +8 -0
- package/lib/plugins/StatsPlugin.d.ts.map +1 -0
- package/lib/plugins/TimerPlugin.d.ts +401 -0
- package/lib/plugins/TimerPlugin.d.ts.map +1 -0
- package/lib/plugins/WebEventsPlugin.d.ts +60 -0
- package/lib/plugins/WebEventsPlugin.d.ts.map +1 -0
- package/lib/plugins/actions/ActionsPlugin.d.ts +39 -0
- package/lib/plugins/actions/ActionsPlugin.d.ts.map +1 -0
- package/lib/plugins/actions/constants.d.ts +52 -0
- package/lib/plugins/actions/constants.d.ts.map +1 -0
- package/lib/plugins/actions/index.d.ts +5 -0
- package/lib/plugins/actions/index.d.ts.map +1 -0
- package/lib/plugins/actions/methods.d.ts +11 -0
- package/lib/plugins/actions/methods.d.ts.map +1 -0
- package/lib/plugins/actions/types.d.ts +25 -0
- package/lib/plugins/actions/types.d.ts.map +1 -0
- package/lib/plugins/audio/AudioChannel.d.ts +46 -0
- package/lib/plugins/audio/AudioChannel.d.ts.map +1 -0
- package/lib/plugins/audio/AudioChannel.test.d.ts +2 -0
- package/lib/plugins/audio/AudioChannel.test.d.ts.map +1 -0
- package/lib/plugins/audio/AudioInstance.d.ts +79 -0
- package/lib/plugins/audio/AudioInstance.d.ts.map +1 -0
- package/lib/plugins/audio/AudioManagerPlugin.d.ts +323 -0
- package/lib/plugins/audio/AudioManagerPlugin.d.ts.map +1 -0
- package/lib/plugins/audio/VoiceOverPlugin.d.ts +69 -0
- package/lib/plugins/audio/VoiceOverPlugin.d.ts.map +1 -0
- package/lib/plugins/audio/index.d.ts +4 -0
- package/lib/plugins/audio/index.d.ts.map +1 -0
- package/lib/plugins/breakpoints/BreakpointPlugin.d.ts +109 -0
- package/lib/plugins/breakpoints/BreakpointPlugin.d.ts.map +1 -0
- package/lib/plugins/breakpoints/BreakpointPlugin.test.d.ts +2 -0
- package/lib/plugins/breakpoints/BreakpointPlugin.test.d.ts.map +1 -0
- package/lib/plugins/breakpoints/evaluate.d.ts +53 -0
- package/lib/plugins/breakpoints/evaluate.d.ts.map +1 -0
- package/lib/plugins/breakpoints/evaluate.test.d.ts +2 -0
- package/lib/plugins/breakpoints/evaluate.test.d.ts.map +1 -0
- package/lib/plugins/breakpoints/index.d.ts +4 -0
- package/lib/plugins/breakpoints/index.d.ts.map +1 -0
- package/lib/plugins/breakpoints/methods.d.ts +23 -0
- package/lib/plugins/breakpoints/methods.d.ts.map +1 -0
- package/lib/plugins/breakpoints/types.d.ts +70 -0
- package/lib/plugins/breakpoints/types.d.ts.map +1 -0
- package/lib/plugins/captions/CaptionsPlugin.d.ts +150 -0
- package/lib/plugins/captions/CaptionsPlugin.d.ts.map +1 -0
- package/lib/plugins/captions/CaptionsRenderer.d.ts +37 -0
- package/lib/plugins/captions/CaptionsRenderer.d.ts.map +1 -0
- package/lib/plugins/captions/index.d.ts +3 -0
- package/lib/plugins/captions/index.d.ts.map +1 -0
- package/lib/plugins/defaults.d.ts +4 -0
- package/lib/plugins/defaults.d.ts.map +1 -0
- package/lib/plugins/focus/FocusManagerPlugin.d.ts +148 -0
- package/lib/plugins/focus/FocusManagerPlugin.d.ts.map +1 -0
- package/lib/plugins/focus/FocusOutliner.d.ts +32 -0
- package/lib/plugins/focus/FocusOutliner.d.ts.map +1 -0
- package/lib/plugins/focus/index.d.ts +3 -0
- package/lib/plugins/focus/index.d.ts.map +1 -0
- package/lib/plugins/i18nPlugin.d.ts +128 -0
- package/lib/plugins/i18nPlugin.d.ts.map +1 -0
- package/lib/plugins/index.d.ts +18 -0
- package/lib/plugins/index.d.ts.map +1 -0
- package/lib/plugins/input/AbstractControls.d.ts +8 -0
- package/lib/plugins/input/AbstractControls.d.ts.map +1 -0
- package/lib/plugins/input/Controls.d.ts +16 -0
- package/lib/plugins/input/Controls.d.ts.map +1 -0
- package/lib/plugins/input/InputPlugin.d.ts +52 -0
- package/lib/plugins/input/InputPlugin.d.ts.map +1 -0
- package/lib/plugins/input/constants.d.ts +8 -0
- package/lib/plugins/input/constants.d.ts.map +1 -0
- package/lib/plugins/input/index.d.ts +10 -0
- package/lib/plugins/input/index.d.ts.map +1 -0
- package/lib/plugins/input/interfaces.d.ts +30 -0
- package/lib/plugins/input/interfaces.d.ts.map +1 -0
- package/lib/plugins/input/keyboard/KeyboardContols.d.ts +28 -0
- package/lib/plugins/input/keyboard/KeyboardContols.d.ts.map +1 -0
- package/lib/plugins/input/keyboard/index.d.ts +3 -0
- package/lib/plugins/input/keyboard/index.d.ts.map +1 -0
- package/lib/plugins/input/keyboard/interfaces.d.ts +18 -0
- package/lib/plugins/input/keyboard/interfaces.d.ts.map +1 -0
- package/lib/plugins/input/methods.d.ts +4 -0
- package/lib/plugins/input/methods.d.ts.map +1 -0
- package/lib/plugins/input/touch/TouchControls.d.ts +35 -0
- package/lib/plugins/input/touch/TouchControls.d.ts.map +1 -0
- package/lib/plugins/input/touch/constants.d.ts +14 -0
- package/lib/plugins/input/touch/constants.d.ts.map +1 -0
- package/lib/plugins/input/touch/index.d.ts +4 -0
- package/lib/plugins/input/touch/index.d.ts.map +1 -0
- package/lib/plugins/input/touch/interfaces.d.ts +15 -0
- package/lib/plugins/input/touch/interfaces.d.ts.map +1 -0
- package/lib/plugins/input/types.d.ts +32 -0
- package/lib/plugins/input/types.d.ts.map +1 -0
- package/lib/plugins/input/utils.d.ts +23 -0
- package/lib/plugins/input/utils.d.ts.map +1 -0
- package/lib/plugins/spine/SpinePlugin.d.ts +6 -0
- package/lib/plugins/spine/SpinePlugin.d.ts.map +1 -0
- package/lib/plugins/spine/pixi-spine/BatchableSpineSlot.d.ts +31 -0
- package/lib/plugins/spine/pixi-spine/BatchableSpineSlot.d.ts.map +1 -0
- package/lib/plugins/spine/pixi-spine/Spine.d.ts +211 -0
- package/lib/plugins/spine/pixi-spine/Spine.d.ts.map +1 -0
- package/lib/plugins/spine/pixi-spine/SpineDebugRenderer.d.ts +81 -0
- package/lib/plugins/spine/pixi-spine/SpineDebugRenderer.d.ts.map +1 -0
- package/lib/plugins/spine/pixi-spine/SpinePipe.d.ts +21 -0
- package/lib/plugins/spine/pixi-spine/SpinePipe.d.ts.map +1 -0
- package/lib/plugins/spine/pixi-spine/SpineTexture.d.ts +16 -0
- package/lib/plugins/spine/pixi-spine/SpineTexture.d.ts.map +1 -0
- package/lib/plugins/spine/pixi-spine/assets/atlasLoader.d.ts +10 -0
- package/lib/plugins/spine/pixi-spine/assets/atlasLoader.d.ts.map +1 -0
- package/lib/plugins/spine/pixi-spine/assets/skeletonLoader.d.ts +6 -0
- package/lib/plugins/spine/pixi-spine/assets/skeletonLoader.d.ts.map +1 -0
- package/lib/plugins/spine/pixi-spine/darktint/DarkTintBatchGeometry.d.ts +5 -0
- package/lib/plugins/spine/pixi-spine/darktint/DarkTintBatchGeometry.d.ts.map +1 -0
- package/lib/plugins/spine/pixi-spine/darktint/DarkTintBatcher.d.ts +22 -0
- package/lib/plugins/spine/pixi-spine/darktint/DarkTintBatcher.d.ts.map +1 -0
- package/lib/plugins/spine/pixi-spine/darktint/DarkTintShader.d.ts +5 -0
- package/lib/plugins/spine/pixi-spine/darktint/DarkTintShader.d.ts.map +1 -0
- package/lib/plugins/spine/pixi-spine/darktint/darkTintBit.d.ts +51 -0
- package/lib/plugins/spine/pixi-spine/darktint/darkTintBit.d.ts.map +1 -0
- package/lib/plugins/spine/pixi-spine/index.d.ts +9 -0
- package/lib/plugins/spine/pixi-spine/index.d.ts.map +1 -0
- package/lib/plugins/spine/pixi-spine/require-shim.d.ts +34 -0
- package/lib/plugins/spine/pixi-spine/require-shim.d.ts.map +1 -0
- package/lib/registries-CYCaYKZI.js +6885 -0
- package/lib/registries-CYCaYKZI.js.map +1 -0
- package/lib/signals/Signal.d.ts +16 -0
- package/lib/signals/Signal.d.ts.map +1 -0
- package/lib/signals/Signal.test.d.ts +2 -0
- package/lib/signals/Signal.test.d.ts.map +1 -0
- package/lib/signals/index.d.ts +3 -0
- package/lib/signals/index.d.ts.map +1 -0
- package/lib/store/Store.d.ts +56 -0
- package/lib/store/Store.d.ts.map +1 -0
- package/lib/store/Store.test.d.ts +2 -0
- package/lib/store/Store.test.d.ts.map +1 -0
- package/lib/store/index.d.ts +2 -0
- package/lib/store/index.d.ts.map +1 -0
- package/lib/types/framework.d.ts +46 -0
- package/lib/types/gsap.d.ts +23 -0
- package/lib/ui/Button.d.ts +162 -0
- package/lib/ui/Button.d.ts.map +1 -0
- package/lib/ui/FlexContainer.d.ts +109 -0
- package/lib/ui/FlexContainer.d.ts.map +1 -0
- package/lib/ui/Input.d.ts +384 -0
- package/lib/ui/Input.d.ts.map +1 -0
- package/lib/ui/Joystick.d.ts +61 -0
- package/lib/ui/Joystick.d.ts.map +1 -0
- package/lib/ui/Popup.d.ts +109 -0
- package/lib/ui/Popup.d.ts.map +1 -0
- package/lib/ui/Toast.d.ts +131 -0
- package/lib/ui/Toast.d.ts.map +1 -0
- package/lib/ui/Toaster.d.ts +188 -0
- package/lib/ui/Toaster.d.ts.map +1 -0
- package/lib/ui/UICanvas.d.ts +155 -0
- package/lib/ui/UICanvas.d.ts.map +1 -0
- package/lib/ui/index.d.ts +9 -0
- package/lib/ui/index.d.ts.map +1 -0
- package/lib/utils/array.d.ts +11 -0
- package/lib/utils/array.d.ts.map +1 -0
- package/lib/utils/bind.d.ts +21 -0
- package/lib/utils/bind.d.ts.map +1 -0
- package/lib/utils/canvas.d.ts +2 -0
- package/lib/utils/canvas.d.ts.map +1 -0
- package/lib/utils/color.d.ts +66 -0
- package/lib/utils/color.d.ts.map +1 -0
- package/lib/utils/console/Logger.d.ts +15 -0
- package/lib/utils/console/Logger.d.ts.map +1 -0
- package/lib/utils/console/index.d.ts +2 -0
- package/lib/utils/console/index.d.ts.map +1 -0
- package/lib/utils/debug.d.ts +34 -0
- package/lib/utils/debug.d.ts.map +1 -0
- package/lib/utils/define.d.ts +100 -0
- package/lib/utils/define.d.ts.map +1 -0
- package/lib/utils/env.d.ts +4 -0
- package/lib/utils/env.d.ts.map +1 -0
- package/lib/utils/events.d.ts +12 -0
- package/lib/utils/events.d.ts.map +1 -0
- package/lib/utils/framework.d.ts +12 -0
- package/lib/utils/framework.d.ts.map +1 -0
- package/lib/utils/index.d.ts +28 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/lib/utils/map.d.ts +31 -0
- package/lib/utils/map.d.ts.map +1 -0
- package/lib/utils/math.d.ts +15 -0
- package/lib/utils/math.d.ts.map +1 -0
- package/lib/utils/misc.d.ts +13 -0
- package/lib/utils/misc.d.ts.map +1 -0
- package/lib/utils/number.d.ts +2 -0
- package/lib/utils/number.d.ts.map +1 -0
- package/lib/utils/object.d.ts +21 -0
- package/lib/utils/object.d.ts.map +1 -0
- package/lib/utils/padding.d.ts +4 -0
- package/lib/utils/padding.d.ts.map +1 -0
- package/lib/utils/pixi.d.ts +42 -0
- package/lib/utils/pixi.d.ts.map +1 -0
- package/lib/utils/platform.d.ts +20 -0
- package/lib/utils/platform.d.ts.map +1 -0
- package/lib/utils/point.d.ts +66 -0
- package/lib/utils/point.d.ts.map +1 -0
- package/lib/utils/promise/Queue.d.ts +60 -0
- package/lib/utils/promise/Queue.d.ts.map +1 -0
- package/lib/utils/promise/functions.d.ts +14 -0
- package/lib/utils/promise/functions.d.ts.map +1 -0
- package/lib/utils/promise/index.d.ts +3 -0
- package/lib/utils/promise/index.d.ts.map +1 -0
- package/lib/utils/random.d.ts +42 -0
- package/lib/utils/random.d.ts.map +1 -0
- package/lib/utils/rect.d.ts +26 -0
- package/lib/utils/rect.d.ts.map +1 -0
- package/lib/utils/set.d.ts +15 -0
- package/lib/utils/set.d.ts.map +1 -0
- package/lib/utils/string.d.ts +3 -0
- package/lib/utils/string.d.ts.map +1 -0
- package/lib/utils/text.d.ts +3 -0
- package/lib/utils/text.d.ts.map +1 -0
- package/lib/utils/typefilters.d.ts +4 -0
- package/lib/utils/typefilters.d.ts.map +1 -0
- package/lib/utils/types.d.ts +209 -0
- package/lib/utils/types.d.ts.map +1 -0
- package/lib/utils/vite.d.ts +25 -0
- package/lib/utils/vite.d.ts.map +1 -0
- package/lib/utils/web.d.ts +3 -0
- package/lib/utils/web.d.ts.map +1 -0
- package/lib/version.d.ts +3 -0
- package/lib/version.d.ts.map +1 -0
- package/lib/webgl-check.d.ts +2 -0
- package/lib/webgl-check.d.ts.map +1 -0
- package/package.json +138 -0
- package/src/core/Application.ts +1091 -0
- package/src/core/config.ts +168 -0
- package/src/core/create.ts +186 -0
- package/src/core/globals.ts +299 -0
- package/src/core/index.ts +6 -0
- package/src/core/interfaces/IApplication.ts +628 -0
- package/src/core/interfaces/IApplicationOptions.ts +81 -0
- package/src/core/interfaces/ICoreFunctions.ts +86 -0
- package/src/core/interfaces/ICoreSignals.ts +77 -0
- package/src/core/interfaces/IStorageCapability.test.ts +27 -0
- package/src/core/interfaces/IStorageCapability.ts +26 -0
- package/src/core/interfaces/index.ts +6 -0
- package/src/core/registries.ts +7 -0
- package/src/core/types.ts +13 -0
- package/src/display/AnimatedSprite.ts +227 -0
- package/src/display/Camera.ts +371 -0
- package/src/display/Container.ts +240 -0
- package/src/display/Entity.ts +50 -0
- package/src/display/ParticleContainer.ts +107 -0
- package/src/display/Scene.ts +305 -0
- package/src/display/SceneTransition.ts +108 -0
- package/src/display/SpineAnimation.ts +170 -0
- package/src/display/Svg.ts +9 -0
- package/src/display/index.ts +11 -0
- package/src/env.d.ts +6 -0
- package/src/hello.ts +20 -0
- package/src/index.ts +17 -0
- package/src/mixins/animated.ts +340 -0
- package/src/mixins/factory/Factory.ts +24 -0
- package/src/mixins/factory/const.ts +363 -0
- package/src/mixins/factory/index.ts +7 -0
- package/src/mixins/factory/methods.ts +21 -0
- package/src/mixins/factory/props.ts +207 -0
- package/src/mixins/factory/registry.test.ts +83 -0
- package/src/mixins/factory/registry.ts +61 -0
- package/src/mixins/factory/schema.ts +153 -0
- package/src/mixins/factory/ui-registry.ts +54 -0
- package/src/mixins/factory/utils.ts +130 -0
- package/src/mixins/focus.ts +124 -0
- package/src/mixins/index.ts +5 -0
- package/src/mixins/interaction.ts +74 -0
- package/src/mixins/signals.ts +49 -0
- package/src/plugins/AssetsPlugin.ts +407 -0
- package/src/plugins/DataAdapter.ts +259 -0
- package/src/plugins/DevToolsPlugin.ts +103 -0
- package/src/plugins/FullScreenPlugin.ts +359 -0
- package/src/plugins/GSAPPlugin.ts +811 -0
- package/src/plugins/KeyboardPlugin.ts +160 -0
- package/src/plugins/LayoutPlugin.ts +127 -0
- package/src/plugins/LookupPlugin.ts +308 -0
- package/src/plugins/Plugin.test.ts +73 -0
- package/src/plugins/Plugin.ts +200 -0
- package/src/plugins/PopupManagerPlugin.ts +263 -0
- package/src/plugins/ResizerPlugin.ts +220 -0
- package/src/plugins/SceneManagerPlugin.ts +669 -0
- package/src/plugins/StatsPlugin.ts +24 -0
- package/src/plugins/TimerPlugin.ts +841 -0
- package/src/plugins/WebEventsPlugin.ts +132 -0
- package/src/plugins/actions/ActionsPlugin.ts +113 -0
- package/src/plugins/actions/constants.ts +45 -0
- package/src/plugins/actions/index.ts +4 -0
- package/src/plugins/actions/methods.ts +28 -0
- package/src/plugins/actions/types.ts +47 -0
- package/src/plugins/audio/AudioChannel.test.ts +101 -0
- package/src/plugins/audio/AudioChannel.ts +164 -0
- package/src/plugins/audio/AudioInstance.ts +228 -0
- package/src/plugins/audio/AudioManagerPlugin.ts +903 -0
- package/src/plugins/audio/VoiceOverPlugin.ts +354 -0
- package/src/plugins/audio/index.ts +3 -0
- package/src/plugins/breakpoints/BreakpointPlugin.test.ts +228 -0
- package/src/plugins/breakpoints/BreakpointPlugin.ts +293 -0
- package/src/plugins/breakpoints/evaluate.test.ts +239 -0
- package/src/plugins/breakpoints/evaluate.ts +201 -0
- package/src/plugins/breakpoints/index.ts +3 -0
- package/src/plugins/breakpoints/methods.ts +22 -0
- package/src/plugins/breakpoints/types.ts +86 -0
- package/src/plugins/captions/CaptionsPlugin.ts +468 -0
- package/src/plugins/captions/CaptionsRenderer.ts +184 -0
- package/src/plugins/captions/font/Sans.fnt +116 -0
- package/src/plugins/captions/font/Sans.png +0 -0
- package/src/plugins/captions/index.ts +2 -0
- package/src/plugins/defaults.ts +95 -0
- package/src/plugins/focus/FocusManagerPlugin.ts +773 -0
- package/src/plugins/focus/FocusOutliner.ts +111 -0
- package/src/plugins/focus/index.ts +2 -0
- package/src/plugins/i18nPlugin.ts +284 -0
- package/src/plugins/index.ts +17 -0
- package/src/plugins/input/AbstractControls.ts +15 -0
- package/src/plugins/input/Controls.ts +55 -0
- package/src/plugins/input/InputPlugin.ts +168 -0
- package/src/plugins/input/constants.ts +12 -0
- package/src/plugins/input/index.ts +9 -0
- package/src/plugins/input/interfaces.ts +37 -0
- package/src/plugins/input/keyboard/KeyboardContols.ts +182 -0
- package/src/plugins/input/keyboard/index.ts +2 -0
- package/src/plugins/input/keyboard/interfaces.ts +21 -0
- package/src/plugins/input/methods.ts +9 -0
- package/src/plugins/input/touch/TouchControls.ts +237 -0
- package/src/plugins/input/touch/constants.ts +34 -0
- package/src/plugins/input/touch/index.ts +3 -0
- package/src/plugins/input/touch/interfaces.ts +15 -0
- package/src/plugins/input/types.ts +41 -0
- package/src/plugins/input/utils.ts +10 -0
- package/src/plugins/spine/SpinePlugin.ts +14 -0
- package/src/plugins/spine/pixi-spine/BatchableSpineSlot.ts +138 -0
- package/src/plugins/spine/pixi-spine/Spine.ts +897 -0
- package/src/plugins/spine/pixi-spine/SpineDebugRenderer.ts +615 -0
- package/src/plugins/spine/pixi-spine/SpinePipe.ts +197 -0
- package/src/plugins/spine/pixi-spine/SpineTexture.ts +143 -0
- package/src/plugins/spine/pixi-spine/assets/atlasLoader.ts +156 -0
- package/src/plugins/spine/pixi-spine/assets/skeletonLoader.ts +80 -0
- package/src/plugins/spine/pixi-spine/darktint/DarkTintBatchGeometry.ts +92 -0
- package/src/plugins/spine/pixi-spine/darktint/DarkTintBatcher.ts +186 -0
- package/src/plugins/spine/pixi-spine/darktint/DarkTintShader.ts +74 -0
- package/src/plugins/spine/pixi-spine/darktint/darkTintBit.ts +77 -0
- package/src/plugins/spine/pixi-spine/index.ts +43 -0
- package/src/plugins/spine/pixi-spine/require-shim.ts +43 -0
- package/src/signals/Signal.test.ts +54 -0
- package/src/signals/Signal.ts +68 -0
- package/src/signals/index.ts +10 -0
- package/src/store/Store.test.ts +146 -0
- package/src/store/Store.ts +192 -0
- package/src/store/index.ts +1 -0
- package/src/types/framework.d.ts +47 -0
- package/src/types/gsap.d.ts +26 -0
- package/src/ui/Button.ts +454 -0
- package/src/ui/FlexContainer.ts +526 -0
- package/src/ui/Input.ts +1274 -0
- package/src/ui/Joystick.ts +288 -0
- package/src/ui/Popup.ts +242 -0
- package/src/ui/Toast.ts +399 -0
- package/src/ui/Toaster.ts +409 -0
- package/src/ui/UICanvas.ts +812 -0
- package/src/ui/index.ts +8 -0
- package/src/utils/array.ts +24 -0
- package/src/utils/bind.ts +79 -0
- package/src/utils/canvas.ts +26 -0
- package/src/utils/color.ts +126 -0
- package/src/utils/console/Logger.ts +86 -0
- package/src/utils/console/index.ts +1 -0
- package/src/utils/debug.ts +69 -0
- package/src/utils/define.ts +120 -0
- package/src/utils/env.ts +3 -0
- package/src/utils/events.ts +10 -0
- package/src/utils/framework.ts +45 -0
- package/src/utils/index.ts +27 -0
- package/src/utils/map.ts +59 -0
- package/src/utils/math.ts +19 -0
- package/src/utils/misc.ts +45 -0
- package/src/utils/number.ts +3 -0
- package/src/utils/object.ts +43 -0
- package/src/utils/padding.ts +43 -0
- package/src/utils/pixi.ts +116 -0
- package/src/utils/platform.ts +33 -0
- package/src/utils/point.ts +123 -0
- package/src/utils/promise/Queue.ts +125 -0
- package/src/utils/promise/functions.ts +16 -0
- package/src/utils/promise/index.ts +2 -0
- package/src/utils/random.ts +69 -0
- package/src/utils/rect.ts +50 -0
- package/src/utils/set.ts +32 -0
- package/src/utils/string.ts +9 -0
- package/src/utils/text.ts +30 -0
- package/src/utils/typefilters.ts +29 -0
- package/src/utils/types.ts +426 -0
- package/src/utils/vite.ts +41 -0
- package/src/utils/web.ts +7 -0
- package/src/version.ts +3 -0
- package/src/webgl-check.ts +12 -0
- package/templates/app/default/.eslintrc.json +21 -0
- package/templates/app/default/.meta.json +4 -0
- package/templates/app/default/.nvmrc +1 -0
- package/templates/app/default/.prettierrc.json +7 -0
- package/templates/app/default/README.md +8 -0
- package/templates/app/default/assets/audio{m}/music/Cheerful Annoyance.ogg +0 -0
- package/templates/app/default/assets/audio{m}/music/Drumming Sticks.ogg +0 -0
- package/templates/app/default/assets/audio{m}/music/Game Over.ogg +0 -0
- package/templates/app/default/assets/audio{m}/music/Mishief Stroll.ogg +0 -0
- package/templates/app/default/assets/audio{m}/music/Night at the Beach.ogg +0 -0
- package/templates/app/default/assets/audio{m}/sfx/click.ogg +0 -0
- package/templates/app/default/assets/audio{m}/sfx/hover.ogg +0 -0
- package/templates/app/default/assets/required{m}/caper.png +0 -0
- package/templates/app/default/assets/required{m}/fonts{fix}/SpaceGrotesk-Bold{family=Space Grotesk}{wf}.ttf +0 -0
- package/templates/app/default/assets/required{m}/fonts{fix}/SpaceGrotesk-Medium{family=Space Grotesk}{wf}.ttf +0 -0
- package/templates/app/default/assets/required{m}/fonts{fix}/SpaceGrotesk-Regular{family=Space Grotesk}{wf}.ttf +0 -0
- package/templates/app/default/assets/required{m}/fonts{fix}/Syncopate-Bold{family=Syncopate}{wf}.ttf +0 -0
- package/templates/app/default/assets/required{m}/ui{tps}/btn/blue.png +0 -0
- package/templates/app/default/assets/required{m}/ui{tps}/btn/green.png +0 -0
- package/templates/app/default/assets/required{m}/ui{tps}/btn/grey.png +0 -0
- package/templates/app/default/assets/required{m}/ui{tps}/btn/orange.png +0 -0
- package/templates/app/default/assets/required{m}/ui{tps}/btn/purple.png +0 -0
- package/templates/app/default/assets/required{m}/ui{tps}/btn/red.png +0 -0
- package/templates/app/default/assets/required{m}/ui{tps}/btn/yellow.png +0 -0
- package/templates/app/default/assets/required{m}/ui{tps}/btn_a/down.png +0 -0
- package/templates/app/default/assets/required{m}/ui{tps}/btn_a/over.png +0 -0
- package/templates/app/default/assets/required{m}/ui{tps}/btn_a/up.png +0 -0
- package/templates/app/default/assets/required{m}/ui{tps}/btn_b/down.png +0 -0
- package/templates/app/default/assets/required{m}/ui{tps}/btn_b/over.png +0 -0
- package/templates/app/default/assets/required{m}/ui{tps}/btn_b/up.png +0 -0
- package/templates/app/default/assets/required{m}/ui{tps}/joystick/base.png +0 -0
- package/templates/app/default/assets/required{m}/ui{tps}/joystick/handle.png +0 -0
- package/templates/app/default/assets/required{m}/wordmark.svg +1 -0
- package/templates/app/default/assets/spine{m}/spineboy-pro.png +0 -0
- package/templates/app/default/assets/spine{m}/spineboy-pro.skel +0 -0
- package/templates/app/default/assets/spine{m}/spineboy-pro{fix}.atlas +94 -0
- package/templates/app/default/caper.config.ts +60 -0
- package/templates/app/default/index.html +23 -0
- package/templates/app/default/package.template.json +17 -0
- package/templates/app/default/public/favicon.ico +0 -0
- package/templates/app/default/src/__APPLICATION_NAME__.ts +3 -0
- package/templates/app/default/src/main.ts +9 -0
- package/templates/app/default/src/scenes/Base.ts +39 -0
- package/templates/app/default/src/scenes/Game.ts +34 -0
- package/templates/app/default/src/scenes/Splash.ts +70 -0
- package/templates/app/default/src/scenes/Start.ts +90 -0
- package/templates/app/default/src/utils/Constants.ts +3 -0
- package/templates/app/default/tsconfig.json +1 -0
- package/templates/plugin/package.template.json +33 -0
- package/templates/plugin/src/Plugin.template.ts +24 -0
- package/templates/plugin/src/index.template.ts +3 -0
- package/templates/plugin/tsconfig.template.json +43 -0
- package/templates/plugin/vite-env.template.d.ts +16 -0
- package/templates/plugin/vite.config.template.ts +19 -0
package/src/version.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export function checkWebGL() {
|
|
2
|
+
if (typeof document === 'undefined') {
|
|
3
|
+
return;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
const checkerCanvas = document.createElement('canvas');
|
|
7
|
+
const gl = checkerCanvas.getContext('webgl') || checkerCanvas.getContext('experimental-webgl');
|
|
8
|
+
|
|
9
|
+
if (!gl) {
|
|
10
|
+
console.error('Your browser does not support WebGL.');
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"env": {
|
|
3
|
+
"browser": true
|
|
4
|
+
},
|
|
5
|
+
"extends": [
|
|
6
|
+
"eslint:recommended",
|
|
7
|
+
"plugin:@typescript-eslint/recommended"
|
|
8
|
+
],
|
|
9
|
+
"parser": "@typescript-eslint/parser",
|
|
10
|
+
"parserOptions": {
|
|
11
|
+
"ecmaVersion": "latest",
|
|
12
|
+
"sourceType": "module"
|
|
13
|
+
},
|
|
14
|
+
"plugins": [
|
|
15
|
+
"@typescript-eslint",
|
|
16
|
+
"simple-import-sort"
|
|
17
|
+
],
|
|
18
|
+
"rules": {
|
|
19
|
+
"@typescript-eslint/no-explicit-any": "off"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
20.12.0
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/templates/app/default/assets/required{m}/fonts{fix}/Syncopate-Bold{family=Syncopate}{wf}.ttf
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2" viewBox="0 0 931 200"><path d="M1484.29-6.95h1272.16v1272.16H1484.29z" style="fill:none" transform="matrix(.73107 0 0 .15721 -1085.125 1.09)"/><path d="M203.566 1564.75c-4.488 4.21-9.007 8-13.558 11.36q-6.825 5.055-14.118 8.73c-4.862 2.46-9.989 4.31-15.381 5.57-5.392 1.27-11.174 1.9-17.345 1.9-13.09 0-25.136-3.16-36.137-9.47q-16.503-9.465-28.425-28.5c-7.947-12.69-14.134-28.54-18.559-47.54q-6.639-28.5-6.639-66.57c0-25.39 2.213-47.58 6.639-66.58 4.425-19 10.612-34.85 18.559-47.54q11.922-19.035 28.425-28.5c11.001-6.31 23.047-9.47 36.137-9.47 6.171 0 11.953.63 17.345 1.9 5.392 1.26 10.519 3.11 15.381 5.57q7.293 3.675 14.118 8.73c4.551 3.36 9.07 7.15 13.558 11.36v70.25a304 304 0 0 0-11.22-12.93 86.2 86.2 0 0 0-12.997-11.57c-4.737-3.44-9.942-6.24-15.614-8.41q-8.51-3.27-19.168-3.27c-10.908 0-19.962 2.53-27.162 7.58-7.199 5.04-12.95 11.78-17.251 20.19s-7.324 18.06-9.069 28.92c-1.746 10.87-2.618 22.13-2.618 33.77 0 7.71.374 15.32 1.122 22.82q1.122 11.25 3.74 21.24c1.745 6.66 4.02 12.8 6.825 18.41s6.296 10.45 10.472 14.51q6.265 6.105 14.633 9.57 8.368 3.48 19.308 3.48 10.659 0 19.168-3.06c5.672-2.03 10.877-4.73 15.614-8.09a82.4 82.4 0 0 0 12.997-11.47c3.927-4.27 7.667-8.66 11.22-13.14z" style="fill:#597a35;fill-rule:nonzero" transform="matrix(1.04901 0 0 .53376 -37.818 -666.91)"/><path d="M206.028 1574.9q-6.955 6.51-14.005 11.73a102 102 0 0 1-14.711 9.1 72.6 72.6 0 0 1-16.127 5.85c-5.602 1.31-11.609 1.97-18.021 1.97-13.671 0-26.25-3.33-37.74-9.92-11.782-6.75-21.917-16.98-30.428-30.57-8.627-13.77-15.35-30.96-20.154-51.58-4.738-20.34-7.158-44.08-7.158-71.25 0-27.18 2.42-50.92 7.158-71.26 4.804-20.62 11.527-37.81 20.154-51.58 8.511-13.6 18.646-23.81 30.428-30.57 11.49-6.59 24.069-9.92 37.74-9.92 6.412 0 12.419.66 18.021 1.97a72.6 72.6 0 0 1 16.127 5.85c5.066 2.56 9.97 5.59 14.711 9.1 4.7 3.48 9.369 7.38 14.005 11.73 1.99 1.87 3.257 5.81 3.257 10.15v70.25c0 4.09-1.126 7.85-2.942 9.83s-4.037 1.87-5.8-.28c-3.474-4.25-7.13-8.47-10.97-12.65a81.4 81.4 0 0 0-12.204-10.86c-4.468-3.24-9.379-5.87-14.729-7.92-5.348-2.05-11.373-3.05-18.073-3.05-10.133 0-18.552 2.22-25.24 6.91-6.304 4.42-11.372 10.21-15.138 17.58-3.621 7.08-6.18 15.18-7.65 24.34-1.57 9.78-2.353 19.9-2.353 30.38 0 6.98.338 13.86 1.016 20.66.643 6.44 1.712 12.53 3.212 18.26 1.487 5.67 3.43 10.89 5.82 15.67 2.388 4.78 5.375 8.86 8.932 12.32 3.787 3.69 8.215 6.55 13.274 8.65 5.237 2.17 11.281 3.22 18.127 3.22 6.725 0 12.773-.94 18.141-2.86 5.339-1.92 10.238-4.45 14.697-7.61a77.7 77.7 0 0 0 12.168-10.73c3.815-4.16 7.449-8.41 10.9-12.77 1.761-2.22 3.998-2.38 5.834-.41s2.978 5.75 2.978 9.87v70.25c0 4.34-1.267 8.28-3.257 10.15m-2.462-10.15v-70.25a237 237 0 0 1-11.22 13.14 82.4 82.4 0 0 1-12.997 11.47c-4.737 3.36-9.942 6.06-15.614 8.09q-8.51 3.06-19.168 3.06-10.94 0-19.308-3.48-8.368-3.465-14.633-9.57c-4.176-4.06-7.667-8.9-10.472-14.51s-5.08-11.75-6.825-18.41q-2.618-9.99-3.74-21.24a230 230 0 0 1-1.122-22.82c0-11.64.872-22.9 2.618-33.77 1.745-10.86 4.768-20.51 9.069-28.92s10.052-15.15 17.251-20.19c7.2-5.05 16.254-7.58 27.162-7.58q10.659 0 19.168 3.27c5.672 2.17 10.877 4.97 15.614 8.41a86.2 86.2 0 0 1 12.997 11.57q5.89 6.42 11.22 12.93v-70.25c-4.488-4.21-9.007-8-13.558-11.36q-6.825-5.055-14.118-8.73c-4.862-2.46-9.989-4.31-15.381-5.57-5.392-1.27-11.174-1.9-17.345-1.9-13.09 0-25.136 3.16-36.137 9.47q-16.503 9.465-28.425 28.5c-7.947 12.69-14.134 28.54-18.559 47.54s-6.639 41.19-6.639 66.58q0 38.07 6.639 66.57c4.425 19 10.612 34.85 18.559 47.54q11.922 19.035 28.425 28.5c11.001 6.31 23.047 9.47 36.137 9.47 6.171 0 11.953-.63 17.345-1.9 5.392-1.26 10.519-3.11 15.381-5.57q7.293-3.675 14.118-8.73c4.551-3.36 9.07-7.15 13.558-11.36" style="fill:#344a1e" transform="matrix(1.04901 0 0 .53376 -37.818 -666.91)"/><path d="m1395.67 2918.44-12.66 29.19h-40.6l70.52-154.26h40.61l70.52 154.26h-40.61l-12.65-29.19-37.37-86.9z" style="fill:#597a35" transform="translate(-1150.87 -2768.779)"/><path d="m1401.17 2920.83-12.65 29.19a6.01 6.01 0 0 1-5.51 3.61h-40.6c-2.05 0-3.95-1.03-5.05-2.75a5.99 5.99 0 0 1-.41-5.74l70.52-154.27c.98-2.13 3.11-3.5 5.46-3.5h40.61c2.34 0 4.48 1.37 5.45 3.5l70.52 154.27c.85 1.86.7 4.02-.4 5.74a6 6 0 0 1-5.05 2.75h-40.61a6.02 6.02 0 0 1-5.51-3.61l-12.65-29.19v-.02l-31.89-74.15zm-5.5-2.39 37.76-86.9 37.37 86.9 12.65 29.19h40.61l-70.52-154.26h-40.61l-70.52 154.26h40.6z" style="fill:#344a1e" transform="translate(-1150.87 -2768.779)"/><path d="M452.922 1719.77c-23.259.17-36.201-10.01-36.437-32.87h116.808c9.94 0 18.375 1.29 25.306 3.88q10.397 3.87 16.919 10.89c4.349 4.67 7.504 10.23 9.465 16.67s2.943 13.51 2.943 21.22-.981 14.8-2.943 21.28c-1.961 6.47-5.116 12.05-9.465 16.73-4.348 4.67-9.988 8.32-16.919 10.94q-10.396 3.93-25.306 3.93h-60.419v48.73h-36.389l.4-82.54c-.109-8.61 20.06-28.83 35.989-28.83v29.75h52.573q7.16 0 12.064-.96c3.27-.64 5.918-1.72 7.945-3.26q3.04-2.295 4.365-6c.882-2.47 1.324-5.5 1.324-9.1 0-3.59-.442-6.68-1.324-9.26s-2.338-4.7-4.365-6.34c-2.027-1.65-4.675-2.87-7.945-3.65-3.269-.79-7.291-1.18-12.064-1.18z" style="fill:#597a35" transform="translate(-41.23 -1662.32)"/><path d="m462.611 1725.78-9.673-.01c-13.38.09-23.707-3.08-30.811-9.28-7.3-6.36-11.502-16.01-11.642-29.53a6 6 0 0 1 6-6.06h116.808c10.766 0 19.893 1.46 27.401 4.25 7.884 2.94 14.273 7.11 19.219 12.43 4.96 5.34 8.572 11.67 10.81 19.01 2.123 6.97 3.203 14.62 3.203 22.97 0 8.34-1.078 16.01-3.2 23.02-2.238 7.38-5.853 13.73-10.813 19.07-4.939 5.31-11.319 9.5-19.193 12.47-7.514 2.85-16.651 4.32-27.427 4.32h-54.419v42.73c0 3.31-2.686 6-6 6h-36.389a6 6 0 0 1-4.253-1.77 5.99 5.99 0 0 1-1.747-4.26l.4-82.51c-.016-4.41 3.482-11.49 9.688-18.01 5.873-6.17 13.955-11.93 22.038-14.84m14.72 0a6 6 0 0 1 1.543 4.02v23.75h46.573c4.319 0 7.96-.27 10.918-.85 2.238-.43 4.082-1.1 5.469-2.15 1.091-.82 1.861-1.91 2.337-3.24.686-1.92.974-4.28.974-7.08 0-2.83-.305-5.28-1.002-7.32-.503-1.47-1.315-2.69-2.47-3.63-1.412-1.14-3.287-1.92-5.564-2.47-2.889-.69-6.445-1.01-10.662-1.01zm-24.409-6.01 72.525.03c4.773 0 8.795.39 12.064 1.18 3.27.78 5.918 2 7.945 3.65 2.027 1.64 3.482 3.76 4.365 6.34.882 2.58 1.324 5.67 1.324 9.26 0 3.6-.442 6.63-1.324 9.1q-1.325 3.705-4.365 6c-2.027 1.54-4.675 2.62-7.945 3.26q-4.904.96-12.064.96h-52.573v-29.75c-15.929 0-36.098 20.22-35.989 28.83l-.4 82.54h36.389v-48.73h60.419q14.91 0 25.306-3.93c6.931-2.62 12.571-6.27 16.919-10.94 4.349-4.68 7.504-10.26 9.465-16.73 1.962-6.48 2.943-13.57 2.943-21.28s-.981-14.78-2.943-21.22c-1.961-6.44-5.116-12-9.465-16.67q-6.522-7.02-16.919-10.89c-6.931-2.59-15.366-3.88-25.306-3.88H416.485c.236 22.86 13.178 33.04 36.437 32.87" style="fill:#344a1e" transform="translate(-41.23 -1662.32)"/><path d="M584.954 1584.53V1295.5h130.059v61.64h-94.436v70.23h89.574V1489h-89.574v33.89h95.745v61.64z" style="fill:#597a35;fill-rule:nonzero" transform="matrix(1.04901 0 0 .53376 -36.818 -666.91)"/><path d="M579.234 1584.53V1295.5c0-6.2 2.561-11.24 5.72-11.24h130.059c3.159 0 5.719 5.04 5.719 11.24v61.64c0 6.21-2.56 11.24-5.719 11.24h-88.716v47.75h83.854c3.159 0 5.719 5.03 5.719 11.24V1489c0 6.21-2.56 11.24-5.719 11.24h-83.854v11.41h90.025c3.159 0 5.719 5.03 5.719 11.24v61.64c0 6.2-2.56 11.24-5.719 11.24H584.954c-3.159 0-5.72-5.04-5.72-11.24m5.72 0h131.368v-61.64h-95.745V1489h89.574v-61.63h-89.574v-70.23h94.436v-61.64H584.954z" style="fill:#344a1e" transform="matrix(1.04901 0 0 .53376 -36.818 -666.91)"/><path d="M827.348 1719.12v122.05h-36.389V1686.9h91.217q14.713 0 24.963 3.48c6.833 2.32 12.391 5.62 16.674 9.88 4.283 4.27 7.389 9.41 9.318 15.44s2.893 12.74 2.893 20.15q0 9.78-2.403 17.07c-1.602 4.87-3.76 9.04-6.473 12.52s-5.869 6.42-9.465 8.81a60 60 0 0 1-11.378 5.95l44.137 60.97h-42.568s-58.878-79.47-58.878-89.04h28.178c4.25 0 7.798-.29 10.642-.89 2.845-.6 5.117-1.56 6.817-2.87q2.55-1.965 3.58-5.1c.687-2.1 1.03-4.65 1.03-7.64s-.343-5.54-1.03-7.63c-.687-2.1-1.88-3.8-3.58-5.11s-3.972-2.27-6.817-2.87q-4.266-.9-10.642-.9z" style="fill:#597a35" transform="translate(-41.23 -1662.32)"/><path d="M833.348 1841.17c0 3.31-2.687 6-6 6h-36.389c-3.314 0-6-2.69-6-6V1686.9c0-3.31 2.686-6 6-6h91.217c10.569 0 19.529 1.3 26.892 3.8 7.789 2.65 14.097 6.45 18.979 11.31 4.957 4.94 8.565 10.89 10.798 17.86 2.104 6.57 3.179 13.9 3.179 21.98 0 7.23-.925 13.54-2.704 18.95-1.835 5.57-4.331 10.34-7.441 14.33-3.116 3.99-6.741 7.37-10.871 10.12a67 67 0 0 1-5.573 3.33l39.867 55.07a6.01 6.01 0 0 1 .484 6.25 5.99 5.99 0 0 1-5.344 3.27h-42.568c-1.901 0-3.689-.9-4.821-2.43 0 0-37.916-51.19-53.085-76.6-2.87-4.8-4.957-8.77-5.968-11.42-.742-1.95-1.004-3.52-1.004-4.59 0-3.31 2.686-6 6-6h28.178c3.756 0 6.893-.24 9.406-.76 1.818-.39 3.304-.91 4.391-1.75.737-.57 1.242-1.31 1.54-2.22.518-1.58.732-3.51.732-5.77s-.214-4.19-.732-5.77c-.298-.91-.803-1.65-1.54-2.22-1.087-.84-2.573-1.36-4.391-1.75-2.513-.52-5.65-.77-9.406-.77h-43.826zm-6-122.05h49.826q6.376 0 10.642.9c2.845.6 5.117 1.56 6.817 2.87s2.893 3.01 3.58 5.11c.687 2.09 1.03 4.64 1.03 7.63s-.343 5.54-1.03 7.64q-1.03 3.135-3.58 5.1c-1.7 1.31-3.972 2.27-6.817 2.87-2.844.6-6.392.89-10.642.89h-28.178c0 9.57 58.878 89.04 58.878 89.04h42.568l-44.137-60.97a60 60 0 0 0 11.378-5.95c3.596-2.39 6.751-5.33 9.465-8.81s4.871-7.65 6.473-12.52q2.403-7.29 2.403-17.07c0-7.41-.964-14.12-2.893-20.15s-5.035-11.17-9.318-15.44c-4.283-4.26-9.841-7.56-16.674-9.88q-10.25-3.48-24.963-3.48h-91.217v154.27h36.389z" style="fill:#344a1e" transform="translate(-41.23 -1662.32)"/><g transform="matrix(1.04901 0 0 .53376 -36.818 -666.91)"><clipPath id="a"><path d="M1.773 1287.28h968.426v172.462H1.773z"/></clipPath><g clip-path="url(#a)"><path d="M203.566 1564.75c-4.488 4.21-9.007 8-13.558 11.36q-6.825 5.055-14.118 8.73c-4.862 2.46-9.989 4.31-15.381 5.57-5.392 1.27-11.174 1.9-17.345 1.9-13.09 0-25.136-3.16-36.137-9.47q-16.503-9.465-28.425-28.5c-7.947-12.69-14.134-28.54-18.559-47.54q-6.639-28.5-6.639-66.57c0-25.39 2.213-47.58 6.639-66.58 4.425-19 10.612-34.85 18.559-47.54q11.922-19.035 28.425-28.5c11.001-6.31 23.047-9.47 36.137-9.47 6.171 0 11.953.63 17.345 1.9 5.392 1.26 10.519 3.11 15.381 5.57q7.293 3.675 14.118 8.73c4.551 3.36 9.07 7.15 13.558 11.36v70.25a304 304 0 0 0-11.22-12.93 86.2 86.2 0 0 0-12.997-11.57c-4.737-3.44-9.942-6.24-15.614-8.41q-8.51-3.27-19.168-3.27c-10.908 0-19.962 2.53-27.162 7.58-7.199 5.04-12.95 11.78-17.251 20.19s-7.324 18.06-9.069 28.92c-1.746 10.87-2.618 22.13-2.618 33.77 0 7.71.374 15.32 1.122 22.82q1.122 11.25 3.74 21.24c1.745 6.66 4.02 12.8 6.825 18.41s6.296 10.45 10.472 14.51q6.265 6.105 14.633 9.57 8.368 3.48 19.308 3.48 10.659 0 19.168-3.06c5.672-2.03 10.877-4.73 15.614-8.09a82.4 82.4 0 0 0 12.997-11.47c3.927-4.27 7.667-8.66 11.22-13.14z" style="fill:#99be3a;fill-rule:nonzero" transform="translate(-.953)"/><path d="M206.028 1574.9q-6.955 6.51-14.005 11.73a102 102 0 0 1-14.711 9.1 72.6 72.6 0 0 1-16.127 5.85c-5.602 1.31-11.609 1.97-18.021 1.97-13.671 0-26.25-3.33-37.74-9.92-11.782-6.75-21.917-16.98-30.428-30.57-8.627-13.77-15.35-30.96-20.154-51.58-4.738-20.34-7.158-44.08-7.158-71.25 0-27.18 2.42-50.92 7.158-71.26 4.804-20.62 11.527-37.81 20.154-51.58 8.511-13.6 18.646-23.81 30.428-30.57 11.49-6.59 24.069-9.92 37.74-9.92 6.412 0 12.419.66 18.021 1.97a72.6 72.6 0 0 1 16.127 5.85c5.066 2.56 9.97 5.59 14.711 9.1 4.7 3.48 9.369 7.38 14.005 11.73 1.99 1.87 3.257 5.81 3.257 10.15v70.25c0 4.09-1.126 7.85-2.942 9.83s-4.037 1.87-5.8-.28c-3.474-4.25-7.13-8.47-10.97-12.65a81.4 81.4 0 0 0-12.204-10.86c-4.468-3.24-9.379-5.87-14.729-7.92-5.348-2.05-11.373-3.05-18.073-3.05-10.133 0-18.552 2.22-25.24 6.91-6.304 4.42-11.372 10.21-15.138 17.58-3.621 7.08-6.18 15.18-7.65 24.34-1.57 9.78-2.353 19.9-2.353 30.38 0 6.98.338 13.86 1.016 20.66.643 6.44 1.712 12.53 3.212 18.26 1.487 5.67 3.43 10.89 5.82 15.67 2.388 4.78 5.375 8.86 8.932 12.32 3.787 3.69 8.215 6.55 13.274 8.65 5.237 2.17 11.281 3.22 18.127 3.22 6.725 0 12.773-.94 18.141-2.86 5.339-1.92 10.238-4.45 14.697-7.61a77.7 77.7 0 0 0 12.168-10.73c3.815-4.16 7.449-8.41 10.9-12.77 1.761-2.22 3.998-2.38 5.834-.41s2.978 5.75 2.978 9.87v70.25c0 4.34-1.267 8.28-3.257 10.15m-2.462-10.15v-70.25a237 237 0 0 1-11.22 13.14 82.4 82.4 0 0 1-12.997 11.47c-4.737 3.36-9.942 6.06-15.614 8.09q-8.51 3.06-19.168 3.06-10.94 0-19.308-3.48-8.368-3.465-14.633-9.57c-4.176-4.06-7.667-8.9-10.472-14.51s-5.08-11.75-6.825-18.41q-2.618-9.99-3.74-21.24a230 230 0 0 1-1.122-22.82c0-11.64.872-22.9 2.618-33.77 1.745-10.86 4.768-20.51 9.069-28.92s10.052-15.15 17.251-20.19c7.2-5.05 16.254-7.58 27.162-7.58q10.659 0 19.168 3.27c5.672 2.17 10.877 4.97 15.614 8.41a86.2 86.2 0 0 1 12.997 11.57q5.89 6.42 11.22 12.93v-70.25c-4.488-4.21-9.007-8-13.558-11.36q-6.825-5.055-14.118-8.73c-4.862-2.46-9.989-4.31-15.381-5.57-5.392-1.27-11.174-1.9-17.345-1.9-13.09 0-25.136 3.16-36.137 9.47q-16.503 9.465-28.425 28.5c-7.947 12.69-14.134 28.54-18.559 47.54s-6.639 41.19-6.639 66.58q0 38.07 6.639 66.57c4.425 19 10.612 34.85 18.559 47.54q11.922 19.035 28.425 28.5c11.001 6.31 23.047 9.47 36.137 9.47 6.171 0 11.953-.63 17.345-1.9 5.392-1.26 10.519-3.11 15.381-5.57q7.293-3.675 14.118-8.73c4.551-3.36 9.07-7.15 13.558-11.36" style="fill:#344a1e" transform="translate(-.953)"/><path d="M340.076 1529.83h-71.621l-12.062 54.7h-38.709l67.227-289.03h38.709l67.227 289.03h-38.709zm-71.621 0h71.621l-35.623-162.81z" style="fill:#99be3a;fill-rule:nonzero"/><path d="M336.322 1541.08H272.21L261.641 1589c-.906 4.11-2.968 6.77-5.248 6.77h-38.709c-1.947 0-3.76-1.95-4.812-5.17s-1.199-7.27-.39-10.75l67.227-289.02c.931-4 2.964-6.57 5.202-6.57h38.709c2.239 0 4.271 2.57 5.202 6.57l67.227 289.02c.809 3.48.662 7.53-.39 10.75s-2.865 5.17-4.812 5.17h-38.709c-2.28 0-4.342-2.66-5.248-6.77zm-67.867-11.25 35.998-162.81 35.623 162.81 12.062 54.7h38.709L323.62 1295.5h-38.709l-67.227 289.03h38.709zm62.936-11.24-26.966-123.24-27.248 123.24z" style="fill:#344a1e"/><path d="M452.922 1719.77c-23.259.17-36.201-10.01-36.437-32.87h116.808c9.94 0 18.375 1.29 25.306 3.88q10.397 3.87 16.919 10.89c4.349 4.67 7.504 10.23 9.465 16.67s2.943 13.51 2.943 21.22-.981 14.8-2.943 21.28c-1.961 6.47-5.116 12.05-9.465 16.73-4.348 4.67-9.988 8.32-16.919 10.94q-10.396 3.93-25.306 3.93h-60.419v48.73h-36.389l.4-82.54c-.109-8.61 20.06-28.83 35.989-28.83v29.75h52.573q7.16 0 12.064-.96c3.27-.64 5.918-1.72 7.945-3.26q3.04-2.295 4.365-6c.882-2.47 1.324-5.5 1.324-9.1 0-3.59-.442-6.68-1.324-9.26s-2.338-4.7-4.365-6.34c-2.027-1.65-4.675-2.87-7.945-3.65-3.269-.79-7.291-1.18-12.064-1.18z" style="fill:#99be3a" transform="matrix(.95327 0 0 1.87349 -4.205 -1864.9)"/><path d="m462.611 1725.78-9.673-.01c-13.38.09-23.707-3.08-30.811-9.28-7.3-6.36-11.502-16.01-11.642-29.53a6 6 0 0 1 6-6.06h116.808c10.766 0 19.893 1.46 27.401 4.25 7.884 2.94 14.273 7.11 19.219 12.43 4.96 5.34 8.572 11.67 10.81 19.01 2.123 6.97 3.203 14.62 3.203 22.97 0 8.34-1.078 16.01-3.2 23.02-2.238 7.38-5.853 13.73-10.813 19.07-4.939 5.31-11.319 9.5-19.193 12.47-7.514 2.85-16.651 4.32-27.427 4.32h-54.419v42.73c0 3.31-2.686 6-6 6h-36.389a6 6 0 0 1-4.253-1.77 5.99 5.99 0 0 1-1.747-4.26l.4-82.51c-.016-4.41 3.482-11.49 9.688-18.01 5.873-6.17 13.955-11.93 22.038-14.84m14.72 0a6 6 0 0 1 1.543 4.02v23.75h46.573c4.319 0 7.96-.27 10.918-.85 2.238-.43 4.082-1.1 5.469-2.15 1.091-.82 1.861-1.91 2.337-3.24.686-1.92.974-4.28.974-7.08 0-2.83-.305-5.28-1.002-7.32-.503-1.47-1.315-2.69-2.47-3.63-1.412-1.14-3.287-1.92-5.564-2.47-2.889-.69-6.445-1.01-10.662-1.01zm-24.409-6.01 72.525.03c4.773 0 8.795.39 12.064 1.18 3.27.78 5.918 2 7.945 3.65 2.027 1.64 3.482 3.76 4.365 6.34.882 2.58 1.324 5.67 1.324 9.26 0 3.6-.442 6.63-1.324 9.1q-1.325 3.705-4.365 6c-2.027 1.54-4.675 2.62-7.945 3.26q-4.904.96-12.064.96h-52.573v-29.75c-15.929 0-36.098 20.22-35.989 28.83l-.4 82.54h36.389v-48.73h60.419q14.91 0 25.306-3.93c6.931-2.62 12.571-6.27 16.919-10.94 4.349-4.68 7.504-10.26 9.465-16.73 1.962-6.48 2.943-13.57 2.943-21.28s-.981-14.78-2.943-21.22c-1.961-6.44-5.116-12-9.465-16.67q-6.522-7.02-16.919-10.89c-6.931-2.59-15.366-3.88-25.306-3.88H416.485c.236 22.86 13.178 33.04 36.437 32.87" style="fill:#344a1e" transform="matrix(.95327 0 0 1.87349 -4.205 -1864.9)"/><path d="M584.954 1584.53V1295.5h130.059v61.64h-94.436v70.23h89.574V1489h-89.574v33.89h95.745v61.64z" style="fill:#99be3a;fill-rule:nonzero"/><path d="M579.234 1584.53V1295.5c0-6.2 2.561-11.24 5.72-11.24h130.059c3.159 0 5.719 5.04 5.719 11.24v61.64c0 6.21-2.56 11.24-5.719 11.24h-88.716v47.75h83.854c3.159 0 5.719 5.03 5.719 11.24V1489c0 6.21-2.56 11.24-5.719 11.24h-83.854v11.41h90.025c3.159 0 5.719 5.03 5.719 11.24v61.64c0 6.2-2.56 11.24-5.719 11.24H584.954c-3.159 0-5.72-5.04-5.72-11.24m5.72 0h131.368v-61.64h-95.745V1489h89.574v-61.63h-89.574v-70.23h94.436v-61.64H584.954z" style="fill:#344a1e"/><path d="M827.348 1719.12v122.05h-36.389V1686.9h91.217q14.713 0 24.963 3.48c6.833 2.32 12.391 5.62 16.674 9.88 4.283 4.27 7.389 9.41 9.318 15.44s2.893 12.74 2.893 20.15q0 9.78-2.403 17.07c-1.602 4.87-3.76 9.04-6.473 12.52s-5.869 6.42-9.465 8.81a60 60 0 0 1-11.378 5.95l44.137 60.97h-42.568s-58.878-79.47-58.878-89.04h28.178c4.25 0 7.798-.29 10.642-.89 2.845-.6 5.117-1.56 6.817-2.87q2.55-1.965 3.58-5.1c.687-2.1 1.03-4.65 1.03-7.64s-.343-5.54-1.03-7.63c-.687-2.1-1.88-3.8-3.58-5.11s-3.972-2.27-6.817-2.87q-4.266-.9-10.642-.9z" style="fill:#99be3a" transform="matrix(.95327 0 0 1.87349 -4.205 -1864.9)"/><path d="M833.348 1841.17c0 3.31-2.687 6-6 6h-36.389c-3.314 0-6-2.69-6-6V1686.9c0-3.31 2.686-6 6-6h91.217c10.569 0 19.529 1.3 26.892 3.8 7.789 2.65 14.097 6.45 18.979 11.31 4.957 4.94 8.565 10.89 10.798 17.86 2.104 6.57 3.179 13.9 3.179 21.98 0 7.23-.925 13.54-2.704 18.95-1.835 5.57-4.331 10.34-7.441 14.33-3.116 3.99-6.741 7.37-10.871 10.12a67 67 0 0 1-5.573 3.33l39.867 55.07a6.01 6.01 0 0 1 .484 6.25 5.99 5.99 0 0 1-5.344 3.27h-42.568c-1.901 0-3.689-.9-4.821-2.43 0 0-37.916-51.19-53.085-76.6-2.87-4.8-4.957-8.77-5.968-11.42-.742-1.95-1.004-3.52-1.004-4.59 0-3.31 2.686-6 6-6h28.178c3.756 0 6.893-.24 9.406-.76 1.818-.39 3.304-.91 4.391-1.75.737-.57 1.242-1.31 1.54-2.22.518-1.58.732-3.51.732-5.77s-.214-4.19-.732-5.77c-.298-.91-.803-1.65-1.54-2.22-1.087-.84-2.573-1.36-4.391-1.75-2.513-.52-5.65-.77-9.406-.77h-43.826zm-6-122.05h49.826q6.376 0 10.642.9c2.845.6 5.117 1.56 6.817 2.87s2.893 3.01 3.58 5.11c.687 2.09 1.03 4.64 1.03 7.63s-.343 5.54-1.03 7.64q-1.03 3.135-3.58 5.1c-1.7 1.31-3.972 2.27-6.817 2.87-2.844.6-6.392.89-10.642.89h-28.178c0 9.57 58.878 89.04 58.878 89.04h42.568l-44.137-60.97a60 60 0 0 0 11.378-5.95c3.596-2.39 6.751-5.33 9.465-8.81s4.871-7.65 6.473-12.52q2.403-7.29 2.403-17.07c0-7.41-.964-14.12-2.893-20.15s-5.035-11.17-9.318-15.44c-4.283-4.26-9.841-7.56-16.674-9.88q-10.25-3.48-24.963-3.48h-91.217v154.27h36.389z" style="fill:#344a1e" transform="matrix(.95327 0 0 1.87349 -4.205 -1864.9)"/></g></g></svg>
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
spineboy-pro.png
|
|
2
|
+
size: 1024, 256
|
|
3
|
+
filter: Linear, Linear
|
|
4
|
+
scale: 0.5
|
|
5
|
+
crosshair
|
|
6
|
+
bounds: 352, 7, 45, 45
|
|
7
|
+
eye-indifferent
|
|
8
|
+
bounds: 862, 105, 47, 45
|
|
9
|
+
eye-surprised
|
|
10
|
+
bounds: 505, 79, 47, 45
|
|
11
|
+
front-bracer
|
|
12
|
+
bounds: 826, 66, 29, 40
|
|
13
|
+
front-fist-closed
|
|
14
|
+
bounds: 786, 65, 38, 41
|
|
15
|
+
front-fist-open
|
|
16
|
+
bounds: 710, 51, 43, 44
|
|
17
|
+
rotate: 90
|
|
18
|
+
front-foot
|
|
19
|
+
bounds: 210, 6, 63, 35
|
|
20
|
+
front-shin
|
|
21
|
+
bounds: 665, 128, 41, 92
|
|
22
|
+
rotate: 90
|
|
23
|
+
front-thigh
|
|
24
|
+
bounds: 2, 2, 23, 56
|
|
25
|
+
rotate: 90
|
|
26
|
+
front-upper-arm
|
|
27
|
+
bounds: 250, 205, 23, 49
|
|
28
|
+
goggles
|
|
29
|
+
bounds: 665, 171, 131, 83
|
|
30
|
+
gun
|
|
31
|
+
bounds: 798, 152, 105, 102
|
|
32
|
+
head
|
|
33
|
+
bounds: 2, 27, 136, 149
|
|
34
|
+
hoverboard-board
|
|
35
|
+
bounds: 2, 178, 246, 76
|
|
36
|
+
hoverboard-thruster
|
|
37
|
+
bounds: 722, 96, 30, 32
|
|
38
|
+
rotate: 90
|
|
39
|
+
hoverglow-small
|
|
40
|
+
bounds: 275, 81, 137, 38
|
|
41
|
+
mouth-grind
|
|
42
|
+
bounds: 614, 97, 47, 30
|
|
43
|
+
mouth-oooo
|
|
44
|
+
bounds: 612, 65, 47, 30
|
|
45
|
+
mouth-smile
|
|
46
|
+
bounds: 661, 64, 47, 30
|
|
47
|
+
muzzle-glow
|
|
48
|
+
bounds: 382, 54, 25, 25
|
|
49
|
+
muzzle-ring
|
|
50
|
+
bounds: 275, 54, 25, 105
|
|
51
|
+
rotate: 90
|
|
52
|
+
muzzle01
|
|
53
|
+
bounds: 911, 95, 67, 40
|
|
54
|
+
rotate: 90
|
|
55
|
+
muzzle02
|
|
56
|
+
bounds: 792, 108, 68, 42
|
|
57
|
+
muzzle03
|
|
58
|
+
bounds: 956, 171, 83, 53
|
|
59
|
+
rotate: 90
|
|
60
|
+
muzzle04
|
|
61
|
+
bounds: 275, 7, 75, 45
|
|
62
|
+
muzzle05
|
|
63
|
+
bounds: 140, 3, 68, 38
|
|
64
|
+
neck
|
|
65
|
+
bounds: 250, 182, 18, 21
|
|
66
|
+
portal-bg
|
|
67
|
+
bounds: 140, 43, 133, 133
|
|
68
|
+
portal-flare1
|
|
69
|
+
bounds: 554, 65, 56, 30
|
|
70
|
+
portal-flare2
|
|
71
|
+
bounds: 759, 112, 57, 31
|
|
72
|
+
rotate: 90
|
|
73
|
+
portal-flare3
|
|
74
|
+
bounds: 554, 97, 58, 30
|
|
75
|
+
portal-shade
|
|
76
|
+
bounds: 275, 121, 133, 133
|
|
77
|
+
portal-streaks1
|
|
78
|
+
bounds: 410, 126, 126, 128
|
|
79
|
+
portal-streaks2
|
|
80
|
+
bounds: 538, 129, 125, 125
|
|
81
|
+
rear-bracer
|
|
82
|
+
bounds: 857, 67, 28, 36
|
|
83
|
+
rear-foot
|
|
84
|
+
bounds: 663, 96, 57, 30
|
|
85
|
+
rear-shin
|
|
86
|
+
bounds: 414, 86, 38, 89
|
|
87
|
+
rotate: 90
|
|
88
|
+
rear-thigh
|
|
89
|
+
bounds: 756, 63, 28, 47
|
|
90
|
+
rear-upper-arm
|
|
91
|
+
bounds: 60, 5, 20, 44
|
|
92
|
+
rotate: 90
|
|
93
|
+
torso
|
|
94
|
+
bounds: 905, 164, 49, 90
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { __APPLICATION_NAME__ } from '@/__APPLICATION_NAME__';
|
|
2
|
+
import { defineActions, defineButtons, defineConfig, defineContexts, defineControls, defineData } from '@caperjs/core';
|
|
3
|
+
/** Default template */
|
|
4
|
+
// uncomment this to use the splash screen
|
|
5
|
+
// import { Splash } from '@/scenes/Splash';
|
|
6
|
+
|
|
7
|
+
// TODO: Add custom contexts here if desired
|
|
8
|
+
// by default, we use the default contexts
|
|
9
|
+
export const contexts = defineContexts(); // e.g.
|
|
10
|
+
|
|
11
|
+
// TODO: Add actions here
|
|
12
|
+
export const actions = defineActions(contexts, {});
|
|
13
|
+
|
|
14
|
+
// TODO: Add buttons here
|
|
15
|
+
const buttons = defineButtons();
|
|
16
|
+
|
|
17
|
+
// TODO: Add controls here
|
|
18
|
+
export const controls = defineControls(actions, buttons);
|
|
19
|
+
/** End of Default Template */
|
|
20
|
+
|
|
21
|
+
// TODO: Define your data schema here
|
|
22
|
+
export const initialData = defineData({
|
|
23
|
+
tangy: 'dill',
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
export default defineConfig({
|
|
27
|
+
id: '__APPLICATION_NAME__',
|
|
28
|
+
application: __APPLICATION_NAME__,
|
|
29
|
+
// uncomment this to use the splash screen
|
|
30
|
+
// splash: {
|
|
31
|
+
// view: Splash,
|
|
32
|
+
// },
|
|
33
|
+
defaultSceneLoadMethod: 'immediate',
|
|
34
|
+
defaultScene: 'start',
|
|
35
|
+
useLayout: true,
|
|
36
|
+
data: {
|
|
37
|
+
initial: initialData,
|
|
38
|
+
backupKeys: [],
|
|
39
|
+
backupAll: false,
|
|
40
|
+
},
|
|
41
|
+
actions,
|
|
42
|
+
input: {
|
|
43
|
+
controls,
|
|
44
|
+
},
|
|
45
|
+
assets: {
|
|
46
|
+
preload: {
|
|
47
|
+
bundles: ['required'],
|
|
48
|
+
},
|
|
49
|
+
background: {
|
|
50
|
+
bundles: ['audio'],
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
plugins: [],
|
|
54
|
+
resizer: {
|
|
55
|
+
minWidth: 500,
|
|
56
|
+
minHeight: 768,
|
|
57
|
+
},
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
/** End of User config */
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<link href="/favicon.ico" rel="icon" type="image/ico" />
|
|
5
|
+
<meta charset="UTF-8" />
|
|
6
|
+
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
|
|
7
|
+
<meta content="yes" name="mobile-web-app-capable" />
|
|
8
|
+
<meta content="yes" name="apple-mobile-web-app-capable" />
|
|
9
|
+
<title>~NAME~</title>
|
|
10
|
+
<style>
|
|
11
|
+
/* Imported CSS gets inlined */
|
|
12
|
+
/* Import the fullscreen.css file from caper. */
|
|
13
|
+
@import url('@caperjs/core/extras/css/fullscreen.css');
|
|
14
|
+
|
|
15
|
+
/* Importing the loader.css file from caper. */
|
|
16
|
+
/* A css overlay while application is in bootstrap */
|
|
17
|
+
/* requires the game container element to be present in the html. */
|
|
18
|
+
/* gets hidden when the initial scene is loaded */
|
|
19
|
+
@import url('@caperjs/core/extras/css/loader.css');
|
|
20
|
+
</style>
|
|
21
|
+
</head>
|
|
22
|
+
<body></body>
|
|
23
|
+
</html>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "~NAME~",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"private": true,
|
|
5
|
+
"main": "index.html",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"clean": "rimraf .assetpack .cache dist",
|
|
8
|
+
"start": "~PACKAGE_MANAGER~ clean && caper start",
|
|
9
|
+
"dev": "~PACKAGE_MANAGER~ clean && caper dev",
|
|
10
|
+
"preview": "~PACKAGE_MANAGER~ clean && caper preview",
|
|
11
|
+
"build": "~PACKAGE_MANAGER~ clean && caper build",
|
|
12
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"@caperjs/core": "latest"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// delete this file if you don't need it
|
|
2
|
+
// otherwise, the runtime will boostrap your app with your caper.config.ts
|
|
3
|
+
// and pass it to "main" below
|
|
4
|
+
|
|
5
|
+
import { __APPLICATION_NAME__ } from '@/__APPLICATION_NAME__';
|
|
6
|
+
|
|
7
|
+
export default async function main(app: __APPLICATION_NAME__) {
|
|
8
|
+
console.log(app);
|
|
9
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { COLOR_SLATE } from '@/utils/Constants';
|
|
2
|
+
import { Scene } from '@caperjs/core';
|
|
3
|
+
|
|
4
|
+
// include this scene in the bundle
|
|
5
|
+
export const dynamic = false;
|
|
6
|
+
|
|
7
|
+
// make it inactive in the scene list (debug mode)
|
|
8
|
+
export const active = false;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Base scene
|
|
12
|
+
* this is a nice way to make a scene that can be extended by other scenes
|
|
13
|
+
* it allows you to add custom logic to the scene that can be shared across scenes
|
|
14
|
+
* commented out is an example of how you can use enter / exit animations
|
|
15
|
+
* don't forget to uncomment the comment in the constructor to use the enter / exit animations, too!
|
|
16
|
+
* you'll also want to change the defaultSceneLoadMethod in `caper.config.ts` to 'exitEnter' or 'exitTransitionEnter' if you want to use enter / exit animations
|
|
17
|
+
*/
|
|
18
|
+
export default class Base extends Scene {
|
|
19
|
+
constructor() {
|
|
20
|
+
super();
|
|
21
|
+
this.addColoredBackground(COLOR_SLATE);
|
|
22
|
+
|
|
23
|
+
/* for enter / exit animations you could start the scene with 0 opacity, and fade in / out */
|
|
24
|
+
|
|
25
|
+
// this.alpha = 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* enter / exit animations (basic) */
|
|
29
|
+
|
|
30
|
+
/* fade in on enter */
|
|
31
|
+
// async enter() {
|
|
32
|
+
// return this.animate({ alpha: 1, duration: 1, ease: 'sine.out' });
|
|
33
|
+
// }
|
|
34
|
+
|
|
35
|
+
/* fade out on exit */
|
|
36
|
+
// async exit() {
|
|
37
|
+
// return this.animate({ alpha: 0, duration: 0.5, ease: 'sine.in' });
|
|
38
|
+
// }
|
|
39
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import Base from '@/scenes/Base';
|
|
2
|
+
|
|
3
|
+
export const id = 'game';
|
|
4
|
+
export const debug = {
|
|
5
|
+
label: 'Game',
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export default class Game extends Base {
|
|
9
|
+
initialize() {
|
|
10
|
+
// some title text
|
|
11
|
+
this.add.text({
|
|
12
|
+
text: 'My Game',
|
|
13
|
+
anchor: 0.5,
|
|
14
|
+
style: { align: 'center', fontFamily: 'Space Grotesk', fontSize: 48, fill: 0xffffff },
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
destroy() {
|
|
19
|
+
super.destroy();
|
|
20
|
+
// clean up the scene when it gets removed
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
resize() {
|
|
24
|
+
// any layout changes on resize go here
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
start() {
|
|
28
|
+
// start the scene's jobs here
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
update() {
|
|
32
|
+
// the game loop
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { COLOR_GREEN } from '@/utils/Constants';
|
|
2
|
+
import { FlexContainer, SceneTransition } from '@caperjs/core';
|
|
3
|
+
import { gsap } from 'gsap';
|
|
4
|
+
import { Sprite, Text } from 'pixi.js';
|
|
5
|
+
|
|
6
|
+
export class Splash extends SceneTransition {
|
|
7
|
+
private _labelPercent: Text;
|
|
8
|
+
private _textContainer: FlexContainer;
|
|
9
|
+
private _bg: Sprite;
|
|
10
|
+
private _percent: number = 0;
|
|
11
|
+
|
|
12
|
+
constructor() {
|
|
13
|
+
super(true);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
added() {
|
|
17
|
+
this._bg = this.addColoredBackground({
|
|
18
|
+
color: COLOR_GREEN,
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
this._textContainer = this.add.flexContainer({
|
|
22
|
+
bindToAppSize: true,
|
|
23
|
+
layout: {
|
|
24
|
+
gap: 10,
|
|
25
|
+
flexDirection: 'column',
|
|
26
|
+
justifyContent: 'center',
|
|
27
|
+
alignItems: 'center',
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
this._textContainer.add.text({
|
|
32
|
+
text: 'Loading...',
|
|
33
|
+
style: {
|
|
34
|
+
fontWeight: 'bold',
|
|
35
|
+
fontSize: 36,
|
|
36
|
+
fill: 'white',
|
|
37
|
+
dropShadow: true,
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
this._labelPercent = this._textContainer.add.text({
|
|
42
|
+
style: {
|
|
43
|
+
fontWeight: 'bold',
|
|
44
|
+
fontSize: 72,
|
|
45
|
+
fill: 'white',
|
|
46
|
+
dropShadow: true,
|
|
47
|
+
},
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
async exit() {
|
|
52
|
+
// ensure percentage completes
|
|
53
|
+
await gsap.to(this, { _percent: 100, duration: 1, ease: 'sine.out' });
|
|
54
|
+
return gsap.to(this, { alpha: 0, duration: 1, ease: 'sine.in' });
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
update() {
|
|
58
|
+
this._labelPercent.text = `${Math.round(this._percent)}%`;
|
|
59
|
+
this._textContainer.updateLayout();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
resize() {
|
|
63
|
+
this._textContainer.position.set(-this.app.size.width / 2, -this.app.size.height / 2);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
protected override handleLoadProgress(progress: number) {
|
|
67
|
+
super.handleLoadProgress(progress);
|
|
68
|
+
gsap.to(this, { _percent: Math.ceil(this.progress * 100), duration: 1, ease: 'sine.out' });
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import Base from '@/scenes/Base';
|
|
2
|
+
import { FlexContainer } from '@caperjs/core';
|
|
3
|
+
|
|
4
|
+
export const id = 'start';
|
|
5
|
+
export const debug = {
|
|
6
|
+
label: 'Start',
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export default class Start extends Base {
|
|
10
|
+
private container: FlexContainer;
|
|
11
|
+
|
|
12
|
+
initialize() {
|
|
13
|
+
this.app.focus.addFocusLayer(this.id);
|
|
14
|
+
|
|
15
|
+
// a layout container
|
|
16
|
+
this.container = this.add.flexContainer({
|
|
17
|
+
label: 'Main Container',
|
|
18
|
+
bindToAppSize: true,
|
|
19
|
+
layout: {
|
|
20
|
+
flexDirection: 'column',
|
|
21
|
+
alignItems: 'center',
|
|
22
|
+
justifyContent: 'center',
|
|
23
|
+
gap: 20,
|
|
24
|
+
},
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
// some title text
|
|
28
|
+
this.container.add.text({
|
|
29
|
+
text: 'Hello Caper',
|
|
30
|
+
style: { fontFamily: 'Space Grotesk', fontSize: 48, fill: 0xffffff },
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
// from src/assets.json
|
|
34
|
+
// maintain the logo's aspect ratio while scaling it in the layout container
|
|
35
|
+
this.container.add.sprite({
|
|
36
|
+
asset: 'caper',
|
|
37
|
+
label: 'Caper Logo',
|
|
38
|
+
scale: 0.5,
|
|
39
|
+
anchor: 0.5,
|
|
40
|
+
layout: { applySizeDirectly: true, width: 150, height: 150, aspectRatio: 1, flexGrow: 0, flexShrink: 0 },
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
const btn = this.container.add.button({
|
|
44
|
+
label: 'Button',
|
|
45
|
+
anchor: 0.5,
|
|
46
|
+
cursor: 'pointer',
|
|
47
|
+
y: 50,
|
|
48
|
+
textures: {
|
|
49
|
+
default: 'btn/blue',
|
|
50
|
+
hover: 'btn/yellow',
|
|
51
|
+
disabled: 'btn/grey',
|
|
52
|
+
active: 'btn/red',
|
|
53
|
+
},
|
|
54
|
+
textLabel: {
|
|
55
|
+
text: 'Play',
|
|
56
|
+
style: { fontFamily: 'Space Grotesk', fontSize: 32, fill: 0xffffff },
|
|
57
|
+
},
|
|
58
|
+
layout: {
|
|
59
|
+
transformOrigin: 'top left',
|
|
60
|
+
width: 256,
|
|
61
|
+
height: 70,
|
|
62
|
+
applySizeDirectly: true,
|
|
63
|
+
isLeaf: true,
|
|
64
|
+
},
|
|
65
|
+
sounds: {
|
|
66
|
+
click: 'click',
|
|
67
|
+
hover: 'hover',
|
|
68
|
+
},
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
btn.onClick.connectOnce(() => this.app.scenes.loadScene('game'));
|
|
72
|
+
|
|
73
|
+
this.app.focus.add(btn);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
destroy() {
|
|
77
|
+
super.destroy();
|
|
78
|
+
// clean up the scene when it gets removed
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
resize() {
|
|
82
|
+
// the layout container binds to the app size,
|
|
83
|
+
// but we still need to center it
|
|
84
|
+
this.container.position.set(-this.app.size.width * 0.5, -this.app.size.height * 0.5);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
start() {
|
|
88
|
+
// start the scene's jobs here
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "extends": "@caperjs/core/tsconfig" }
|