gdcore-tools 1.0.6 → 1.0.7
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/GDevelop/ExtLibs/7za.exe +0 -0
- package/GDevelop/ExtLibs/curl.exe +0 -0
- package/GDevelop/scripts/libgettextlib-0-17.dll +0 -0
- package/GDevelop/scripts/libgettextsrc-0-17.dll +0 -0
- package/LICENSE +1 -1
- package/dist/Runtime/AsyncTasksManager.js +5 -0
- package/dist/Runtime/AsyncTasksManager.js.map +7 -0
- package/dist/Runtime/Cordova/config.xml +44 -0
- package/dist/Runtime/Cordova/package.json +22 -0
- package/dist/Runtime/Cordova/www/index.html +45 -0
- package/dist/Runtime/CustomRuntimeObject.js +2 -0
- package/dist/Runtime/CustomRuntimeObject.js.map +7 -0
- package/dist/Runtime/CustomRuntimeObjectInstanceContainer.js +2 -0
- package/dist/Runtime/CustomRuntimeObjectInstanceContainer.js.map +7 -0
- package/dist/Runtime/Electron/main.js +65 -0
- package/dist/Runtime/Electron/package.json +26 -0
- package/dist/Runtime/Extensions/3D/A_RuntimeObject3D.js +2 -0
- package/dist/Runtime/Extensions/3D/A_RuntimeObject3D.js.map +7 -0
- package/dist/Runtime/Extensions/3D/A_RuntimeObject3DRenderer.js +2 -0
- package/dist/Runtime/Extensions/3D/A_RuntimeObject3DRenderer.js.map +7 -0
- package/dist/Runtime/Extensions/3D/AmbientLight.js +2 -0
- package/dist/Runtime/Extensions/3D/AmbientLight.js.map +7 -0
- package/dist/Runtime/Extensions/3D/Cube3DRuntimeObject.js +2 -0
- package/dist/Runtime/Extensions/3D/Cube3DRuntimeObject.js.map +7 -0
- package/dist/Runtime/Extensions/3D/Cube3DRuntimeObjectPixiRenderer.js +2 -0
- package/dist/Runtime/Extensions/3D/Cube3DRuntimeObjectPixiRenderer.js.map +7 -0
- package/dist/Runtime/Extensions/3D/DirectionalLight.js +2 -0
- package/dist/Runtime/Extensions/3D/DirectionalLight.js.map +7 -0
- package/dist/Runtime/Extensions/3D/ExponentialFog.js +2 -0
- package/dist/Runtime/Extensions/3D/ExponentialFog.js.map +7 -0
- package/dist/Runtime/Extensions/3D/HemisphereLight.js +2 -0
- package/dist/Runtime/Extensions/3D/HemisphereLight.js.map +7 -0
- package/dist/Runtime/Extensions/3D/JsExtension.js +2809 -0
- package/dist/Runtime/Extensions/3D/LinearFog.js +2 -0
- package/dist/Runtime/Extensions/3D/LinearFog.js.map +7 -0
- package/dist/Runtime/Extensions/3D/Model3DRuntimeObject.js +2 -0
- package/dist/Runtime/Extensions/3D/Model3DRuntimeObject.js.map +7 -0
- package/dist/Runtime/Extensions/3D/Model3DRuntimeObject3DRenderer.js +2 -0
- package/dist/Runtime/Extensions/3D/Model3DRuntimeObject3DRenderer.js.map +7 -0
- package/dist/Runtime/Extensions/3D/Scene3DTools.js +2 -0
- package/dist/Runtime/Extensions/3D/Scene3DTools.js.map +7 -0
- package/dist/Runtime/Extensions/AdMob/JsExtension.js +798 -0
- package/dist/Runtime/Extensions/AdMob/admobtools.js +2 -0
- package/dist/Runtime/Extensions/AdMob/admobtools.js.map +7 -0
- package/dist/Runtime/Extensions/AdvancedWindow/JsExtension.js +719 -0
- package/dist/Runtime/Extensions/AdvancedWindow/electron-advancedwindowtools.js +2 -0
- package/dist/Runtime/Extensions/AdvancedWindow/electron-advancedwindowtools.js.map +7 -0
- package/dist/Runtime/Extensions/AnchorBehavior/anchorruntimebehavior.js +2 -0
- package/dist/Runtime/Extensions/AnchorBehavior/anchorruntimebehavior.js.map +7 -0
- package/dist/Runtime/Extensions/BBText/JsExtension.js +639 -0
- package/dist/Runtime/Extensions/BBText/bbtextruntimeobject-pixi-renderer.js +2 -0
- package/dist/Runtime/Extensions/BBText/bbtextruntimeobject-pixi-renderer.js.map +7 -0
- package/dist/Runtime/Extensions/BBText/bbtextruntimeobject.js +2 -0
- package/dist/Runtime/Extensions/BBText/bbtextruntimeobject.js.map +7 -0
- package/dist/Runtime/Extensions/BBText/pixi-multistyle-text/dist/pixi-multistyle-text.umd.js +1 -0
- package/dist/Runtime/Extensions/BitmapText/JsExtension.js +756 -0
- package/dist/Runtime/Extensions/BitmapText/bitmaptextruntimeobject-pixi-renderer.js +2 -0
- package/dist/Runtime/Extensions/BitmapText/bitmaptextruntimeobject-pixi-renderer.js.map +7 -0
- package/dist/Runtime/Extensions/BitmapText/bitmaptextruntimeobject.js +2 -0
- package/dist/Runtime/Extensions/BitmapText/bitmaptextruntimeobject.js.map +7 -0
- package/dist/Runtime/Extensions/DebuggerTools/JsExtension.js +123 -0
- package/dist/Runtime/Extensions/DebuggerTools/debuggertools.js +2 -0
- package/dist/Runtime/Extensions/DebuggerTools/debuggertools.js.map +7 -0
- package/dist/Runtime/Extensions/DestroyOutsideBehavior/destroyoutsideruntimebehavior.js +2 -0
- package/dist/Runtime/Extensions/DestroyOutsideBehavior/destroyoutsideruntimebehavior.js.map +7 -0
- package/dist/Runtime/Extensions/DeviceSensors/JsExtension.js +461 -0
- package/dist/Runtime/Extensions/DeviceSensors/devicesensortools.js +2 -0
- package/dist/Runtime/Extensions/DeviceSensors/devicesensortools.js.map +7 -0
- package/dist/Runtime/Extensions/DeviceVibration/JsExtension.js +108 -0
- package/dist/Runtime/Extensions/DeviceVibration/devicevibrationtools.js +2 -0
- package/dist/Runtime/Extensions/DeviceVibration/devicevibrationtools.js.map +7 -0
- package/dist/Runtime/Extensions/DialogueTree/JsExtension.js +730 -0
- package/dist/Runtime/Extensions/DialogueTree/bondage.js/dist/bondage.min.js +11 -0
- package/dist/Runtime/Extensions/DialogueTree/dialoguetools.js +3 -0
- package/dist/Runtime/Extensions/DialogueTree/dialoguetools.js.map +7 -0
- package/dist/Runtime/Extensions/DraggableBehavior/draggableruntimebehavior.js +2 -0
- package/dist/Runtime/Extensions/DraggableBehavior/draggableruntimebehavior.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/JsExtension.js +1197 -0
- package/dist/Runtime/Extensions/Effects/adjustment-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/adjustment-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/advanced-bloom-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/advanced-bloom-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/ascii-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/ascii-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/bevel-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/bevel-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/black-and-white-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/black-and-white-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/blending-mode-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/blending-mode-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/blur-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/blur-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/brightness-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/brightness-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/bulge-pinch-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/bulge-pinch-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/color-map-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/color-map-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/color-replace-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/color-replace-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/crt-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/crt-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/displacement-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/displacement-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/dot-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/dot-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/drop-shadow-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/drop-shadow-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/glitch-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/glitch-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/glow-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/glow-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/godray-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/godray-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/kawase-blur-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/kawase-blur-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/light-night-pixi-filter.js +3 -0
- package/dist/Runtime/Extensions/Effects/light-night-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/night-pixi-filter.js +3 -0
- package/dist/Runtime/Extensions/Effects/night-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/noise-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/noise-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/old-film-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/old-film-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/outline-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/outline-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/pixelate-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/pixelate-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-adjustment.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-advanced-bloom.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-ascii.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-bevel.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-bulge-pinch.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-color-map.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-color-replace.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-crt.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-dot.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-drop-shadow.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-glitch.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-glow.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-godray.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-kawase-blur.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-old-film.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-outline.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-pixelate.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-radial-blur.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-reflection.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-rgb-split.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-tilt-shift.js +171 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-twist.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/filter-zoom-blur.js +8 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/adjustment/types.d.ts +29 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/advanced-bloom/types.d.ts +30 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/ascii/types.d.ts +11 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/bevel/types.d.ts +25 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/bloom/types.d.ts +18 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/bulge-pinch/types.d.ts +24 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/color-map/types.d.ts +22 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/color-overlay/types.d.ts +11 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/color-replace/types.d.ts +17 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/convolution/types.d.ts +13 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/cross-hatch/types.d.ts +10 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/crt/types.d.ts +35 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/dot/types.d.ts +12 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/drop-shadow/types.d.ts +33 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/emboss/types.d.ts +11 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/glitch/types.d.ts +38 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/glow/types.d.ts +23 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/godray/types.d.ts +27 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/kawase-blur/types.d.ts +15 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/motion-blur/types.d.ts +17 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/multi-color-replace/types.d.ts +18 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/old-film/types.d.ts +33 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/outline/types.d.ts +13 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/pixelate/types.d.ts +11 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/radial-blur/types.d.ts +19 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/reflection/types.d.ts +25 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/rgb-split/types.d.ts +13 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/shockwave/types.d.ts +25 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/simple-lightmap/types.d.ts +13 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/tilt-shift/types.d.ts +19 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/twist/types.d.ts +13 -0
- package/dist/Runtime/Extensions/Effects/pixi-filters/types/zoom-blur/types.d.ts +28 -0
- package/dist/Runtime/Extensions/Effects/radial-blur-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/radial-blur-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/reflection-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/reflection-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/rgb-split-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/rgb-split-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/sepia-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/sepia-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/tilt-shift-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/tilt-shift-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/twist-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/twist-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/Effects/zoom-blur-pixi-filter.js +2 -0
- package/dist/Runtime/Extensions/Effects/zoom-blur-pixi-filter.js.map +7 -0
- package/dist/Runtime/Extensions/ExampleJsExtension/JsExtension.js +589 -0
- package/dist/Runtime/Extensions/ExampleJsExtension/dummyeffect.js +3 -0
- package/dist/Runtime/Extensions/ExampleJsExtension/dummyeffect.js.map +7 -0
- package/dist/Runtime/Extensions/ExampleJsExtension/dummyruntimebehavior.js +2 -0
- package/dist/Runtime/Extensions/ExampleJsExtension/dummyruntimebehavior.js.map +7 -0
- package/dist/Runtime/Extensions/ExampleJsExtension/dummyruntimeobject-pixi-renderer.js +2 -0
- package/dist/Runtime/Extensions/ExampleJsExtension/dummyruntimeobject-pixi-renderer.js.map +7 -0
- package/dist/Runtime/Extensions/ExampleJsExtension/dummyruntimeobject.js +2 -0
- package/dist/Runtime/Extensions/ExampleJsExtension/dummyruntimeobject.js.map +7 -0
- package/dist/Runtime/Extensions/ExampleJsExtension/dummywithshareddataruntimebehavior.js +2 -0
- package/dist/Runtime/Extensions/ExampleJsExtension/dummywithshareddataruntimebehavior.js.map +7 -0
- package/dist/Runtime/Extensions/ExampleJsExtension/examplejsextensiontools.js +2 -0
- package/dist/Runtime/Extensions/ExampleJsExtension/examplejsextensiontools.js.map +7 -0
- package/dist/Runtime/Extensions/FacebookInstantGames/FBInstant.d.ts +2 -0
- package/dist/Runtime/Extensions/FacebookInstantGames/JsExtension.js +379 -0
- package/dist/Runtime/Extensions/FacebookInstantGames/facebookinstantgamestools.js +2 -0
- package/dist/Runtime/Extensions/FacebookInstantGames/facebookinstantgamestools.js.map +7 -0
- package/dist/Runtime/Extensions/FileSystem/JsExtension.js +559 -0
- package/dist/Runtime/Extensions/FileSystem/filesystemtools.js +2 -0
- package/dist/Runtime/Extensions/FileSystem/filesystemtools.js.map +7 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/A_firebase-base.js +2 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/A_firebase-base.js.map +1 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/B_firebase-analytics.js +2 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/B_firebase-analytics.js.map +1 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/B_firebase-auth.js +2 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/B_firebase-auth.js.map +1 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/B_firebase-database.js +2 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/B_firebase-database.js.map +1 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/B_firebase-firestore.js +2 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/B_firebase-firestore.js.map +1 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/B_firebase-functions.js +2 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/B_firebase-functions.js.map +1 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/B_firebase-messaging.js +2 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/B_firebase-messaging.js.map +1 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/B_firebase-performance.js +2 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/B_firebase-performance.js.map +1 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/B_firebase-remote-config.js +2 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/B_firebase-remote-config.js.map +1 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/B_firebase-storage.js +2 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/B_firebase-storage.js.map +1 -0
- package/dist/Runtime/Extensions/Firebase/A_firebasejs/firebase.d.ts +10191 -0
- package/dist/Runtime/Extensions/Firebase/B_firebasetools/C_firebasetools.js +2 -0
- package/dist/Runtime/Extensions/Firebase/B_firebasetools/C_firebasetools.js.map +7 -0
- package/dist/Runtime/Extensions/Firebase/B_firebasetools/D_analyticstools.js +2 -0
- package/dist/Runtime/Extensions/Firebase/B_firebasetools/D_analyticstools.js.map +7 -0
- package/dist/Runtime/Extensions/Firebase/B_firebasetools/D_authtools.js +2 -0
- package/dist/Runtime/Extensions/Firebase/B_firebasetools/D_authtools.js.map +7 -0
- package/dist/Runtime/Extensions/Firebase/B_firebasetools/D_cloudfirestoretools.js +2 -0
- package/dist/Runtime/Extensions/Firebase/B_firebasetools/D_cloudfirestoretools.js.map +7 -0
- package/dist/Runtime/Extensions/Firebase/B_firebasetools/D_databasetools.js +2 -0
- package/dist/Runtime/Extensions/Firebase/B_firebasetools/D_databasetools.js.map +7 -0
- package/dist/Runtime/Extensions/Firebase/B_firebasetools/D_functionstools.js +2 -0
- package/dist/Runtime/Extensions/Firebase/B_firebasetools/D_functionstools.js.map +7 -0
- package/dist/Runtime/Extensions/Firebase/B_firebasetools/D_performancetools.js +2 -0
- package/dist/Runtime/Extensions/Firebase/B_firebasetools/D_performancetools.js.map +7 -0
- package/dist/Runtime/Extensions/Firebase/B_firebasetools/D_remoteconfigtools.js +2 -0
- package/dist/Runtime/Extensions/Firebase/B_firebasetools/D_remoteconfigtools.js.map +7 -0
- package/dist/Runtime/Extensions/Firebase/B_firebasetools/D_storagetools.js +2 -0
- package/dist/Runtime/Extensions/Firebase/B_firebasetools/D_storagetools.js.map +7 -0
- package/dist/Runtime/Extensions/Firebase/JsExtension.js +2323 -0
- package/dist/Runtime/Extensions/Inventory/inventory.js +2 -0
- package/dist/Runtime/Extensions/Inventory/inventory.js.map +7 -0
- package/dist/Runtime/Extensions/Inventory/inventorytools.js +2 -0
- package/dist/Runtime/Extensions/Inventory/inventorytools.js.map +7 -0
- package/dist/Runtime/Extensions/JsExtensionTypes.flow.js +34 -0
- package/dist/Runtime/Extensions/Leaderboards/JsExtension.js +299 -0
- package/dist/Runtime/Extensions/Leaderboards/leaderboardstools.js +2 -0
- package/dist/Runtime/Extensions/Leaderboards/leaderboardstools.js.map +7 -0
- package/dist/Runtime/Extensions/Leaderboards/sha256.d.ts +234 -0
- package/dist/Runtime/Extensions/Leaderboards/sha256.js +21 -0
- package/dist/Runtime/Extensions/Lighting/JsExtension.js +371 -0
- package/dist/Runtime/Extensions/Lighting/lightobstacleruntimebehavior.js +2 -0
- package/dist/Runtime/Extensions/Lighting/lightobstacleruntimebehavior.js.map +7 -0
- package/dist/Runtime/Extensions/Lighting/lightruntimeobject-pixi-renderer.js +40 -0
- package/dist/Runtime/Extensions/Lighting/lightruntimeobject-pixi-renderer.js.map +7 -0
- package/dist/Runtime/Extensions/Lighting/lightruntimeobject.js +2 -0
- package/dist/Runtime/Extensions/Lighting/lightruntimeobject.js.map +7 -0
- package/dist/Runtime/Extensions/LinkedObjects/linkedobjects.js +2 -0
- package/dist/Runtime/Extensions/LinkedObjects/linkedobjects.js.map +7 -0
- package/dist/Runtime/Extensions/P2P/A_peer.js +4 -0
- package/dist/Runtime/Extensions/P2P/A_peer.js.map +1 -0
- package/dist/Runtime/Extensions/P2P/B_p2ptools.js +2 -0
- package/dist/Runtime/Extensions/P2P/B_p2ptools.js.map +7 -0
- package/dist/Runtime/Extensions/P2P/JsExtension.js +483 -0
- package/dist/Runtime/Extensions/P2P/peerjs.d.ts +509 -0
- package/dist/Runtime/Extensions/PanelSpriteObject/panelspriteruntimeobject-pixi-renderer.js +2 -0
- package/dist/Runtime/Extensions/PanelSpriteObject/panelspriteruntimeobject-pixi-renderer.js.map +7 -0
- package/dist/Runtime/Extensions/PanelSpriteObject/panelspriteruntimeobject.js +2 -0
- package/dist/Runtime/Extensions/PanelSpriteObject/panelspriteruntimeobject.js.map +7 -0
- package/dist/Runtime/Extensions/ParticleSystem/particleemitterobject-pixi-renderer.js +2 -0
- package/dist/Runtime/Extensions/ParticleSystem/particleemitterobject-pixi-renderer.js.map +7 -0
- package/dist/Runtime/Extensions/ParticleSystem/particleemitterobject.js +2 -0
- package/dist/Runtime/Extensions/ParticleSystem/particleemitterobject.js.map +7 -0
- package/dist/Runtime/Extensions/ParticleSystem/pixi-particles-pixi-renderer.min.js +3 -0
- package/dist/Runtime/Extensions/PathfindingBehavior/PathTools.js +2 -0
- package/dist/Runtime/Extensions/PathfindingBehavior/PathTools.js.map +7 -0
- package/dist/Runtime/Extensions/PathfindingBehavior/pathfindingobstacleruntimebehavior.js +2 -0
- package/dist/Runtime/Extensions/PathfindingBehavior/pathfindingobstacleruntimebehavior.js.map +7 -0
- package/dist/Runtime/Extensions/PathfindingBehavior/pathfindingruntimebehavior.js +2 -0
- package/dist/Runtime/Extensions/PathfindingBehavior/pathfindingruntimebehavior.js.map +7 -0
- package/dist/Runtime/Extensions/Physics2Behavior/Box2D_v2.3.1_min.wasm.js +2 -0
- package/dist/Runtime/Extensions/Physics2Behavior/Box2D_v2.3.1_min.wasm.js.map +7 -0
- package/dist/Runtime/Extensions/Physics2Behavior/Box2D_v2.3.1_min.wasm.wasm +0 -0
- package/dist/Runtime/Extensions/Physics2Behavior/JsExtension.js +4072 -0
- package/dist/Runtime/Extensions/Physics2Behavior/box2d.d.ts +1804 -0
- package/dist/Runtime/Extensions/Physics2Behavior/physics2runtimebehavior.js +2 -0
- package/dist/Runtime/Extensions/Physics2Behavior/physics2runtimebehavior.js.map +7 -0
- package/dist/Runtime/Extensions/Physics2Behavior/physics2tools.js +2 -0
- package/dist/Runtime/Extensions/Physics2Behavior/physics2tools.js.map +7 -0
- package/dist/Runtime/Extensions/PhysicsBehavior/box2djs/box2d.js +804 -0
- package/dist/Runtime/Extensions/PhysicsBehavior/physicsruntimebehavior.js +2 -0
- package/dist/Runtime/Extensions/PhysicsBehavior/physicsruntimebehavior.js.map +7 -0
- package/dist/Runtime/Extensions/PlatformBehavior/benchmarks/platformerobjectruntimebehavior.benchmark.js +2 -0
- package/dist/Runtime/Extensions/PlatformBehavior/benchmarks/platformerobjectruntimebehavior.benchmark.js.map +7 -0
- package/dist/Runtime/Extensions/PlatformBehavior/platformerobjectruntimebehavior.js +2 -0
- package/dist/Runtime/Extensions/PlatformBehavior/platformerobjectruntimebehavior.js.map +7 -0
- package/dist/Runtime/Extensions/PlatformBehavior/platformruntimebehavior.js +2 -0
- package/dist/Runtime/Extensions/PlatformBehavior/platformruntimebehavior.js.map +7 -0
- package/dist/Runtime/Extensions/PlatformBehavior/platformtools.js +2 -0
- package/dist/Runtime/Extensions/PlatformBehavior/platformtools.js.map +7 -0
- package/dist/Runtime/Extensions/PlayerAuthentication/JsExtension.js +218 -0
- package/dist/Runtime/Extensions/PlayerAuthentication/playerauthenticationcomponents.js +5 -0
- package/dist/Runtime/Extensions/PlayerAuthentication/playerauthenticationcomponents.js.map +7 -0
- package/dist/Runtime/Extensions/PlayerAuthentication/playerauthenticationtools.js +2 -0
- package/dist/Runtime/Extensions/PlayerAuthentication/playerauthenticationtools.js.map +7 -0
- package/dist/Runtime/Extensions/PrimitiveDrawing/pixi-graphics-extras/graphics-extras.min.js +10 -0
- package/dist/Runtime/Extensions/PrimitiveDrawing/pixi-graphics-extras/graphics-extras.min.js.map +1 -0
- package/dist/Runtime/Extensions/PrimitiveDrawing/shapepainterruntimeobject-pixi-renderer.js +2 -0
- package/dist/Runtime/Extensions/PrimitiveDrawing/shapepainterruntimeobject-pixi-renderer.js.map +7 -0
- package/dist/Runtime/Extensions/PrimitiveDrawing/shapepainterruntimeobject.js +2 -0
- package/dist/Runtime/Extensions/PrimitiveDrawing/shapepainterruntimeobject.js.map +7 -0
- package/dist/Runtime/Extensions/Screenshot/JsExtension.js +68 -0
- package/dist/Runtime/Extensions/Screenshot/screenshottools.js +2 -0
- package/dist/Runtime/Extensions/Screenshot/screenshottools.js.map +7 -0
- package/dist/Runtime/Extensions/Shopify/shopify-buy.umd.polyfilled.min.js +2 -0
- package/dist/Runtime/Extensions/Shopify/shopifytools.js +2 -0
- package/dist/Runtime/Extensions/Shopify/shopifytools.js.map +7 -0
- package/dist/Runtime/Extensions/SpatialSound/JsExtension.js +92 -0
- package/dist/Runtime/Extensions/SpatialSound/howler.spatial.min.js +2 -0
- package/dist/Runtime/Extensions/SpatialSound/spatialsoundtools.js +2 -0
- package/dist/Runtime/Extensions/SpatialSound/spatialsoundtools.js.map +7 -0
- package/dist/Runtime/Extensions/SystemInfo/systeminfotools.js +2 -0
- package/dist/Runtime/Extensions/SystemInfo/systeminfotools.js.map +7 -0
- package/dist/Runtime/Extensions/TextEntryObject/textentryruntimeobject-pixi-renderer.js +2 -0
- package/dist/Runtime/Extensions/TextEntryObject/textentryruntimeobject-pixi-renderer.js.map +7 -0
- package/dist/Runtime/Extensions/TextEntryObject/textentryruntimeobject.js +2 -0
- package/dist/Runtime/Extensions/TextEntryObject/textentryruntimeobject.js.map +7 -0
- package/dist/Runtime/Extensions/TextInput/JsExtension.js +790 -0
- package/dist/Runtime/Extensions/TextInput/textinputruntimeobject-pixi-renderer.js +2 -0
- package/dist/Runtime/Extensions/TextInput/textinputruntimeobject-pixi-renderer.js.map +7 -0
- package/dist/Runtime/Extensions/TextInput/textinputruntimeobject.js +2 -0
- package/dist/Runtime/Extensions/TextInput/textinputruntimeobject.js.map +7 -0
- package/dist/Runtime/Extensions/TextObject/textruntimeobject-pixi-renderer.js +2 -0
- package/dist/Runtime/Extensions/TextObject/textruntimeobject-pixi-renderer.js.map +7 -0
- package/dist/Runtime/Extensions/TextObject/textruntimeobject.js +2 -0
- package/dist/Runtime/Extensions/TextObject/textruntimeobject.js.map +7 -0
- package/dist/Runtime/Extensions/TileMap/JsExtension.js +1653 -0
- package/dist/Runtime/Extensions/TileMap/TileMapRuntimeManager.js +2 -0
- package/dist/Runtime/Extensions/TileMap/TileMapRuntimeManager.js.map +7 -0
- package/dist/Runtime/Extensions/TileMap/collision/TileMapCollisionMaskRenderer.js +2 -0
- package/dist/Runtime/Extensions/TileMap/collision/TileMapCollisionMaskRenderer.js.map +7 -0
- package/dist/Runtime/Extensions/TileMap/collision/TransformedTileMap.js +2 -0
- package/dist/Runtime/Extensions/TileMap/collision/TransformedTileMap.js.map +7 -0
- package/dist/Runtime/Extensions/TileMap/example/anotherIsland.json +5769 -0
- package/dist/Runtime/Extensions/TileMap/example/island.json +5823 -0
- package/dist/Runtime/Extensions/TileMap/helper/TileMapHelper.d.ts +25 -0
- package/dist/Runtime/Extensions/TileMap/helper/TileMapHelper.js +2 -0
- package/dist/Runtime/Extensions/TileMap/helper/TileMapHelper.js.map +7 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/index.d.ts +16 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/index.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/load/TileMapFileContent.d.ts +12 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/load/TileMapFileContent.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/load/TileMapLoader.d.ts +18 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/load/TileMapLoader.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/load/ldtk/LDtkFormat.d.ts +589 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/load/ldtk/LDtkFormat.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/load/ldtk/LDtkTileMapLoader.d.ts +16 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/load/ldtk/LDtkTileMapLoader.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/load/ldtk/LDtkTileMapLoaderHelper.d.ts +5 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/load/ldtk/LDtkTileMapLoaderHelper.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/load/tiled/TiledFormat.d.ts +343 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/load/tiled/TiledFormat.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/load/tiled/TiledTileMapLoader.d.ts +16 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/load/tiled/TiledTileMapLoader.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/load/tiled/TiledTileMapLoader.spec.d.ts +2 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/load/tiled/TiledTileMapLoader.spec.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/load/tiled/TiledTileMapLoaderHelper.d.ts +37 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/load/tiled/TiledTileMapLoaderHelper.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/model/CommonTypes.d.ts +5 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/model/CommonTypes.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/model/GID.d.ts +45 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/model/GID.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/model/TileMapModel.d.ts +361 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/model/TileMapModel.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/render/ResourceCache.d.ts +27 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/render/ResourceCache.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/render/TileMapManager.d.ts +70 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/render/TileMapManager.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/render/TileMapPixiHelper.d.ts +56 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/render/TileMapPixiHelper.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/render/TileTextureCache.d.ts +24 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/render/TileTextureCache.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/render/ldtk/LDtkPixiHelper.d.ts +26 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/render/ldtk/LDtkPixiHelper.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/render/tiled/TiledPixiHelper.d.ts +21 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/render/tiled/TiledPixiHelper.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/types/index.d.ts +12 -0
- package/dist/Runtime/Extensions/TileMap/helper/dts/types/index.d.ts.map +1 -0
- package/dist/Runtime/Extensions/TileMap/pako/dist/pako.d.ts +166 -0
- package/dist/Runtime/Extensions/TileMap/pako/dist/pako.min.js +2 -0
- package/dist/Runtime/Extensions/TileMap/pixi-tilemap/dist/global-pixi-tilemap.d.ts +23 -0
- package/dist/Runtime/Extensions/TileMap/pixi-tilemap/dist/pixi-tilemap.d.ts +270 -0
- package/dist/Runtime/Extensions/TileMap/pixi-tilemap/dist/pixi-tilemap.umd.js +74 -0
- package/dist/Runtime/Extensions/TileMap/pixi-tilemap/dist/pixi-tilemap.umd.js.map +7 -0
- package/dist/Runtime/Extensions/TileMap/tilemapcollisionmaskruntimeobject.js +2 -0
- package/dist/Runtime/Extensions/TileMap/tilemapcollisionmaskruntimeobject.js.map +7 -0
- package/dist/Runtime/Extensions/TileMap/tilemapruntimeobject-pixi-renderer.js +2 -0
- package/dist/Runtime/Extensions/TileMap/tilemapruntimeobject-pixi-renderer.js.map +7 -0
- package/dist/Runtime/Extensions/TileMap/tilemapruntimeobject.js +2 -0
- package/dist/Runtime/Extensions/TileMap/tilemapruntimeobject.js.map +7 -0
- package/dist/Runtime/Extensions/TiledSpriteObject/tiledspriteruntimeobject-pixi-renderer.js +2 -0
- package/dist/Runtime/Extensions/TiledSpriteObject/tiledspriteruntimeobject-pixi-renderer.js.map +7 -0
- package/dist/Runtime/Extensions/TiledSpriteObject/tiledspriteruntimeobject.js +2 -0
- package/dist/Runtime/Extensions/TiledSpriteObject/tiledspriteruntimeobject.js.map +7 -0
- package/dist/Runtime/Extensions/TopDownMovementBehavior/topdownmovementruntimebehavior.js +2 -0
- package/dist/Runtime/Extensions/TopDownMovementBehavior/topdownmovementruntimebehavior.js.map +7 -0
- package/dist/Runtime/Extensions/TweenBehavior/JsExtension.js +1087 -0
- package/dist/Runtime/Extensions/TweenBehavior/shifty.d.ts +839 -0
- package/dist/Runtime/Extensions/TweenBehavior/shifty.js +5 -0
- package/dist/Runtime/Extensions/TweenBehavior/shifty.js.map +1 -0
- package/dist/Runtime/Extensions/TweenBehavior/shifty_setup.js +2 -0
- package/dist/Runtime/Extensions/TweenBehavior/shifty_setup.js.map +7 -0
- package/dist/Runtime/Extensions/TweenBehavior/tweenruntimebehavior.js +2 -0
- package/dist/Runtime/Extensions/TweenBehavior/tweenruntimebehavior.js.map +7 -0
- package/dist/Runtime/Extensions/TweenBehavior/tweentools.js +2 -0
- package/dist/Runtime/Extensions/TweenBehavior/tweentools.js.map +7 -0
- package/dist/Runtime/Extensions/Video/JsExtension.js +694 -0
- package/dist/Runtime/Extensions/Video/videoruntimeobject-pixi-renderer.js +2 -0
- package/dist/Runtime/Extensions/Video/videoruntimeobject-pixi-renderer.js.map +7 -0
- package/dist/Runtime/Extensions/Video/videoruntimeobject.js +2 -0
- package/dist/Runtime/Extensions/Video/videoruntimeobject.js.map +7 -0
- package/dist/Runtime/FacebookInstantGames/fbapp-config.json +17 -0
- package/dist/Runtime/FacebookInstantGames/index.html +68 -0
- package/dist/Runtime/Model3DManager.js +2 -0
- package/dist/Runtime/Model3DManager.js.map +7 -0
- package/dist/Runtime/RuntimeCustomObjectLayer.js +2 -0
- package/dist/Runtime/RuntimeCustomObjectLayer.js.map +7 -0
- package/dist/Runtime/RuntimeInstanceContainer.js +2 -0
- package/dist/Runtime/RuntimeInstanceContainer.js.map +7 -0
- package/dist/Runtime/RuntimeLayer.js +2 -0
- package/dist/Runtime/RuntimeLayer.js.map +7 -0
- package/dist/Runtime/affinetransformation.js +2 -0
- package/dist/Runtime/affinetransformation.js.map +7 -0
- package/dist/Runtime/debugger-client/abstract-debugger-client.js +2 -0
- package/dist/Runtime/debugger-client/abstract-debugger-client.js.map +7 -0
- package/dist/Runtime/debugger-client/hot-reloader.js +2 -0
- package/dist/Runtime/debugger-client/hot-reloader.js.map +7 -0
- package/dist/Runtime/debugger-client/websocket-debugger-client.js +2 -0
- package/dist/Runtime/debugger-client/websocket-debugger-client.js.map +7 -0
- package/dist/Runtime/debugger-client/window-message-debugger-client.js +2 -0
- package/dist/Runtime/debugger-client/window-message-debugger-client.js.map +7 -0
- package/dist/Runtime/events-tools/cameratools.js +2 -0
- package/dist/Runtime/events-tools/cameratools.js.map +7 -0
- package/dist/Runtime/events-tools/commontools.js +2 -0
- package/dist/Runtime/events-tools/commontools.js.map +7 -0
- package/dist/Runtime/events-tools/inputtools.js +2 -0
- package/dist/Runtime/events-tools/inputtools.js.map +7 -0
- package/dist/Runtime/events-tools/networktools.js +2 -0
- package/dist/Runtime/events-tools/networktools.js.map +7 -0
- package/dist/Runtime/events-tools/objecttools.js +2 -0
- package/dist/Runtime/events-tools/objecttools.js.map +7 -0
- package/dist/Runtime/events-tools/runtimescenetools.js +2 -0
- package/dist/Runtime/events-tools/runtimescenetools.js.map +7 -0
- package/dist/Runtime/events-tools/soundtools.js +2 -0
- package/dist/Runtime/events-tools/soundtools.js.map +7 -0
- package/dist/Runtime/events-tools/storagetools.js +2 -0
- package/dist/Runtime/events-tools/storagetools.js.map +7 -0
- package/dist/Runtime/events-tools/stringtools.js +3 -0
- package/dist/Runtime/events-tools/stringtools.js.map +7 -0
- package/dist/Runtime/events-tools/variabletools.js +2 -0
- package/dist/Runtime/events-tools/variabletools.js.map +7 -0
- package/dist/Runtime/events-tools/windowtools.js +2 -0
- package/dist/Runtime/events-tools/windowtools.js.map +7 -0
- package/dist/Runtime/fontfaceobserver-font-manager/fontfaceobserver-font-manager.js +2 -0
- package/dist/Runtime/fontfaceobserver-font-manager/fontfaceobserver-font-manager.js.map +7 -0
- package/dist/Runtime/fontfaceobserver-font-manager/fontfaceobserver.js +16 -0
- package/dist/Runtime/force.js +2 -0
- package/dist/Runtime/force.js.map +7 -0
- package/dist/Runtime/gd.js +2 -0
- package/dist/Runtime/gd.js.map +7 -0
- package/dist/Runtime/howler-sound-manager/howler-sound-manager.js +2 -0
- package/dist/Runtime/howler-sound-manager/howler-sound-manager.js.map +7 -0
- package/dist/Runtime/howler-sound-manager/howler.min.js +3 -0
- package/dist/Runtime/index.html +55 -0
- package/dist/Runtime/inputmanager.js +2 -0
- package/dist/Runtime/inputmanager.js.map +7 -0
- package/dist/Runtime/jsonmanager.js +2 -0
- package/dist/Runtime/jsonmanager.js.map +7 -0
- package/dist/Runtime/layer.js +2 -0
- package/dist/Runtime/layer.js.map +7 -0
- package/dist/Runtime/libs/CocoonJS/cocoon.min.js +4 -0
- package/dist/Runtime/libs/jshashtable.js +2 -0
- package/dist/Runtime/libs/jshashtable.js.map +7 -0
- package/dist/Runtime/libs/rbush.js +624 -0
- package/dist/Runtime/logger.js +2 -0
- package/dist/Runtime/logger.js.map +7 -0
- package/dist/Runtime/oncetriggers.js +2 -0
- package/dist/Runtime/oncetriggers.js.map +7 -0
- package/dist/Runtime/pixi-renderers/CustomObjectPixiRenderer.js +2 -0
- package/dist/Runtime/pixi-renderers/CustomObjectPixiRenderer.js.map +7 -0
- package/dist/Runtime/pixi-renderers/DebuggerPixiRenderer.js +2 -0
- package/dist/Runtime/pixi-renderers/DebuggerPixiRenderer.js.map +7 -0
- package/dist/Runtime/pixi-renderers/RuntimeInstanceContainerPixiRenderer.js +1 -0
- package/dist/Runtime/pixi-renderers/RuntimeInstanceContainerPixiRenderer.js.map +7 -0
- package/dist/Runtime/pixi-renderers/ThreeAddons.js +2 -0
- package/dist/Runtime/pixi-renderers/draco/gltf/draco_decoder.wasm +0 -0
- package/dist/Runtime/pixi-renderers/draco/gltf/draco_wasm_wrapper.js +116 -0
- package/dist/Runtime/pixi-renderers/layer-pixi-renderer.js +15 -0
- package/dist/Runtime/pixi-renderers/layer-pixi-renderer.js.map +7 -0
- package/dist/Runtime/pixi-renderers/loadingscreen-pixi-renderer.js +2 -0
- package/dist/Runtime/pixi-renderers/loadingscreen-pixi-renderer.js.map +7 -0
- package/dist/Runtime/pixi-renderers/pixi-bitmapfont-manager.js +2 -0
- package/dist/Runtime/pixi-renderers/pixi-bitmapfont-manager.js.map +7 -0
- package/dist/Runtime/pixi-renderers/pixi-effects-manager.js +2 -0
- package/dist/Runtime/pixi-renderers/pixi-effects-manager.js.map +7 -0
- package/dist/Runtime/pixi-renderers/pixi-filters-tools.js +2 -0
- package/dist/Runtime/pixi-renderers/pixi-filters-tools.js.map +7 -0
- package/dist/Runtime/pixi-renderers/pixi-image-manager.js +2 -0
- package/dist/Runtime/pixi-renderers/pixi-image-manager.js.map +7 -0
- package/dist/Runtime/pixi-renderers/pixi.js +11 -0
- package/dist/Runtime/pixi-renderers/runtimegame-pixi-renderer.js +2 -0
- package/dist/Runtime/pixi-renderers/runtimegame-pixi-renderer.js.map +7 -0
- package/dist/Runtime/pixi-renderers/runtimescene-pixi-renderer.js +3 -0
- package/dist/Runtime/pixi-renderers/runtimescene-pixi-renderer.js.map +7 -0
- package/dist/Runtime/pixi-renderers/spriteruntimeobject-pixi-renderer.js +2 -0
- package/dist/Runtime/pixi-renderers/spriteruntimeobject-pixi-renderer.js.map +7 -0
- package/dist/Runtime/pixi-renderers/three.js +7 -0
- package/dist/Runtime/polygon.js +2 -0
- package/dist/Runtime/polygon.js.map +7 -0
- package/dist/Runtime/profiler.js +2 -0
- package/dist/Runtime/profiler.js.map +7 -0
- package/dist/Runtime/runtimebehavior.js +2 -0
- package/dist/Runtime/runtimebehavior.js.map +7 -0
- package/dist/Runtime/runtimegame.js +2 -0
- package/dist/Runtime/runtimegame.js.map +7 -0
- package/dist/Runtime/runtimeobject.js +2 -0
- package/dist/Runtime/runtimeobject.js.map +7 -0
- package/dist/Runtime/runtimescene.js +2 -0
- package/dist/Runtime/runtimescene.js.map +7 -0
- package/dist/Runtime/runtimewatermark.js +100 -0
- package/dist/Runtime/runtimewatermark.js.map +7 -0
- package/dist/Runtime/scenestack.js +2 -0
- package/dist/Runtime/scenestack.js.map +7 -0
- package/dist/Runtime/splash/gd-logo-dark-colored.js +2 -0
- package/dist/Runtime/splash/gd-logo-dark-colored.js.map +7 -0
- package/dist/Runtime/splash/gd-logo-dark.js +2 -0
- package/dist/Runtime/splash/gd-logo-dark.js.map +7 -0
- package/dist/Runtime/splash/gd-logo-light-colored.js +2 -0
- package/dist/Runtime/splash/gd-logo-light-colored.js.map +7 -0
- package/dist/Runtime/splash/gd-logo-light.js +2 -0
- package/dist/Runtime/splash/gd-logo-light.js.map +7 -0
- package/dist/Runtime/spriteruntimeobject.js +2 -0
- package/dist/Runtime/spriteruntimeobject.js.map +7 -0
- package/dist/Runtime/timemanager.js +2 -0
- package/dist/Runtime/timemanager.js.map +7 -0
- package/dist/Runtime/timer.js +2 -0
- package/dist/Runtime/timer.js.map +7 -0
- package/dist/Runtime/types/global-pixi.d.ts +22 -0
- package/dist/Runtime/types/global-three-addons.d.ts +9 -0
- package/dist/Runtime/types/global-three.d.ts +3 -0
- package/dist/Runtime/types/global-types.d.ts +61 -0
- package/dist/Runtime/types/howler.d.ts +313 -0
- package/dist/Runtime/types/project-data.d.ts +276 -0
- package/dist/Runtime/variable.js +2 -0
- package/dist/Runtime/variable.js.map +7 -0
- package/dist/Runtime/variablescontainer.js +2 -0
- package/dist/Runtime/variablescontainer.js.map +7 -0
- package/dist/lib/libGD.cjs +22 -0
- package/dist/lib/libGD.wasm +0 -0
- package/dist/loaders.js +1 -0
- package/package.json +24 -10
- package/src/downloadGD.js +0 -70
- package/src/index.js +21 -14
- package/examples/create-objects-from-json/assets/Blank button.png +0 -0
- package/examples/create-objects-from-json/game.json +0 -258
- package/examples/create-objects-from-json/index.js +0 -50
- package/examples/create-objects-from-json/mylist.json +0 -7
- package/examples/export-game/game.json +0 -205
- package/examples/export-game/index.js +0 -13
- package/src/CaseSensitiveSlug.js +0 -34
- package/src/EventsFunctionsExtensionsLoader/LocalEventsFunctionCodeWriter.js +0 -56
- package/src/EventsFunctionsExtensionsLoader/MetadataDeclarationHelpers.js +0 -489
- package/src/EventsFunctionsExtensionsLoader/index.js +0 -451
- package/src/JsExtensionsLoader/LocalJsExtensionsFinder.js +0 -42
- package/src/JsExtensionsLoader/LocalJsExtensionsLoader.js +0 -57
- package/src/JsExtensionsLoader/index.js +0 -101
- package/src/LocalFileSystem.js +0 -158
- package/src/LocalProjectOpener.js +0 -46
- package/src/LocalProjectWriter.js +0 -96
- package/src/MapFor.js +0 -46
- package/src/ObjectSplitter.js +0 -187
- package/src/Serializer.js +0 -35
- package/src/build.js +0 -51
- package/src/runtime-files-list.js +0 -143
|
@@ -0,0 +1,839 @@
|
|
|
1
|
+
// Shifty.js 2.16.0 type definitions by arthuro555
|
|
2
|
+
declare namespace shifty {
|
|
3
|
+
// index.ts
|
|
4
|
+
type easingFunction = (position: number) => number;
|
|
5
|
+
type startFunction = (state: any, data?: any | undefined) => void;
|
|
6
|
+
type finishFunction = (promisedData: shifty.promisedData) => void;
|
|
7
|
+
/**
|
|
8
|
+
* Gets called for every tick of the tween. This function is not called on the
|
|
9
|
+
* final tick of the animation.
|
|
10
|
+
*/
|
|
11
|
+
type renderFunction = (
|
|
12
|
+
state: any,
|
|
13
|
+
data: any | undefined,
|
|
14
|
+
timeElapsed: number
|
|
15
|
+
) => void;
|
|
16
|
+
type scheduleFunction = (callback: Function, timeout: number) => void;
|
|
17
|
+
type tweenConfig = {
|
|
18
|
+
/**
|
|
19
|
+
* Starting position. If omitted, {@link * Tweenable#get} is used.
|
|
20
|
+
*/
|
|
21
|
+
from?: any;
|
|
22
|
+
/**
|
|
23
|
+
* Ending position. The keys of this Object should
|
|
24
|
+
* match those of `to`.
|
|
25
|
+
*/
|
|
26
|
+
to?: any;
|
|
27
|
+
/**
|
|
28
|
+
* How many milliseconds to animate for.
|
|
29
|
+
*/
|
|
30
|
+
duration?: number;
|
|
31
|
+
/**
|
|
32
|
+
* How many milliseconds to wait before starting the
|
|
33
|
+
* tween.
|
|
34
|
+
*/
|
|
35
|
+
delay?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Executes when the tween begins.
|
|
38
|
+
*/
|
|
39
|
+
start?: shifty.startFunction;
|
|
40
|
+
/**
|
|
41
|
+
* Executes when the tween
|
|
42
|
+
* completes. This will get overridden by {@link Tweenablethen } if that
|
|
43
|
+
* is called, and it will not fire if {@link Tweenablecancel } is
|
|
44
|
+
* called.
|
|
45
|
+
*/
|
|
46
|
+
finish?: shifty.finishFunction;
|
|
47
|
+
/**
|
|
48
|
+
* Executes on every tick. Shifty
|
|
49
|
+
* assumes a [retained mode](https://en.wikipedia.org/wiki/Retained_mode)
|
|
50
|
+
* rendering environment, which in practice means that `render` only gets
|
|
51
|
+
* called when the tween state changes. Importantly, this means that `render`
|
|
52
|
+
* is _not_ called when a tween is not animating (for instance, when it is
|
|
53
|
+
* paused or waiting to start via the `delay` option). This works naturally
|
|
54
|
+
* with DOM environments, but you may need to account for this design in more
|
|
55
|
+
* custom environments such as `<canvas>`.
|
|
56
|
+
*
|
|
57
|
+
* Legacy property name: `step`.
|
|
58
|
+
*/
|
|
59
|
+
render?: shifty.renderFunction;
|
|
60
|
+
/**
|
|
61
|
+
* Easing curve name(s) or {@link shifty.easingFunction }(s) to apply
|
|
62
|
+
* to the properties of the tween. If this is an Object, the keys should
|
|
63
|
+
* correspond to `to`/`from`. You can learn more about this in the {@tutorial
|
|
64
|
+
* easing-function-in-depth} tutorial.
|
|
65
|
+
*/
|
|
66
|
+
easing?: any | string | shifty.easingFunction;
|
|
67
|
+
/**
|
|
68
|
+
* Data that is passed to {@link * shifty.startFunction}, {@link shifty.renderFunction }, and {@link * shifty.promisedData}. Legacy property name: `attachment`.
|
|
69
|
+
*/
|
|
70
|
+
data?: any;
|
|
71
|
+
/**
|
|
72
|
+
* Promise constructor for when you want
|
|
73
|
+
* to use Promise library or polyfill Promises in unsupported environments.
|
|
74
|
+
*/
|
|
75
|
+
promise?: Function;
|
|
76
|
+
};
|
|
77
|
+
type promisedData = {
|
|
78
|
+
/**
|
|
79
|
+
* The current state of the tween.
|
|
80
|
+
*/
|
|
81
|
+
state: any;
|
|
82
|
+
/**
|
|
83
|
+
* The `data` Object that the tween was configured with.
|
|
84
|
+
*/
|
|
85
|
+
data: any;
|
|
86
|
+
/**
|
|
87
|
+
* The {@link Tweenable } instance to
|
|
88
|
+
* which the tween belonged.
|
|
89
|
+
*/
|
|
90
|
+
tweenable: Tweenable;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Is called when a tween is created to determine if a filter is needed.
|
|
94
|
+
* Filters are only added to a tween when it is created so that they are not
|
|
95
|
+
* unnecessarily processed if they don't apply during an update tick.
|
|
96
|
+
*/
|
|
97
|
+
type doesApplyFilter = (tweenable: Tweenable) => boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Is called when a tween is created. This should perform any setup needed by
|
|
100
|
+
* subsequent per-tick calls to {@link shifty.beforeTween } and {@link * shifty.afterTween}.
|
|
101
|
+
*/
|
|
102
|
+
type tweenCreatedFilter = (tweenable: Tweenable) => void;
|
|
103
|
+
/**
|
|
104
|
+
* Is called right before a tween is processed in a tick.
|
|
105
|
+
*/
|
|
106
|
+
type beforeTweenFilter = (tweenable: Tweenable) => void;
|
|
107
|
+
/**
|
|
108
|
+
* Is called right after a tween is processed in a tick.
|
|
109
|
+
*/
|
|
110
|
+
type afterTweenFilter = (tweenable: Tweenable) => void;
|
|
111
|
+
/**
|
|
112
|
+
* An Object that contains functions that are called at key points in a tween's
|
|
113
|
+
* lifecycle. Shifty can only process `Number`s internally, but filters can
|
|
114
|
+
* expand support for any type of data. This is the mechanism that powers
|
|
115
|
+
* [string interpolation]{@tutorial string-interpolation}.
|
|
116
|
+
*/
|
|
117
|
+
type filter = {
|
|
118
|
+
/**
|
|
119
|
+
* Is called when a tween is
|
|
120
|
+
* created.
|
|
121
|
+
*/
|
|
122
|
+
doesApply: shifty.doesApplyFilter;
|
|
123
|
+
/**
|
|
124
|
+
* Is called when a tween is
|
|
125
|
+
* created.
|
|
126
|
+
*/
|
|
127
|
+
tweenCreated: shifty.tweenCreatedFilter;
|
|
128
|
+
/**
|
|
129
|
+
* Is called right before a
|
|
130
|
+
* tween starts.
|
|
131
|
+
*/
|
|
132
|
+
beforeTween: shifty.beforeTweenFilter;
|
|
133
|
+
/**
|
|
134
|
+
* Is called right after a tween
|
|
135
|
+
* ends.
|
|
136
|
+
*/
|
|
137
|
+
afterTween: shifty.afterTweenFilter;
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
// bezier.ts
|
|
141
|
+
export function setBezierFunction(
|
|
142
|
+
name: string,
|
|
143
|
+
x1: number,
|
|
144
|
+
y1: number,
|
|
145
|
+
x2: number,
|
|
146
|
+
y2: number
|
|
147
|
+
): shifty.easingFunction;
|
|
148
|
+
export function unsetBezierFunction(name: string): boolean;
|
|
149
|
+
|
|
150
|
+
// easing-function.ts
|
|
151
|
+
export namespace Tweenable {
|
|
152
|
+
/*!
|
|
153
|
+
* All equations are adapted from Thomas Fuchs'
|
|
154
|
+
* [Scripty2](https://github.com/madrobby/scripty2/blob/master/src/effects/transitions/penner.js).
|
|
155
|
+
*
|
|
156
|
+
* Based on Easing Equations (c) 2003 [Robert
|
|
157
|
+
* Penner](http://www.robertpenner.com/), all rights reserved. This work is
|
|
158
|
+
* [subject to terms](http://www.robertpenner.com/easing_terms_of_use.html).
|
|
159
|
+
*/
|
|
160
|
+
/*!
|
|
161
|
+
* TERMS OF USE - EASING EQUATIONS
|
|
162
|
+
* Open source under the BSD License.
|
|
163
|
+
* Easing Equations (c) 2003 Robert Penner, all rights reserved.
|
|
164
|
+
*/
|
|
165
|
+
/**
|
|
166
|
+
* @member Tweenable.formulas
|
|
167
|
+
* @description A static Object of {@link shifty.easingFunction}s that can by
|
|
168
|
+
* used by Shifty. The default values are defined in
|
|
169
|
+
* [`easing-functions.js`](easing-functions.js.html), but you can add your own
|
|
170
|
+
* {@link shifty.easingFunction}s by defining them as keys to this Object.
|
|
171
|
+
*
|
|
172
|
+
* Shifty ships with an implementation of [Robert Penner's easing
|
|
173
|
+
* equations](http://robertpenner.com/easing/), as adapted from
|
|
174
|
+
* [Scripty2](https://github.com/madrobby/scripty2/blob/master/src/effects/transitions/penner.js)'s
|
|
175
|
+
* implementation.
|
|
176
|
+
* <p data-height="934" data-theme-id="0" data-slug-hash="wqObdO"
|
|
177
|
+
* data-default-tab="js,result" data-user="jeremyckahn" data-embed-version="2"
|
|
178
|
+
* data-pen-title="Shifty - Easing formula names" class="codepen">See the Pen <a
|
|
179
|
+
* href="https://codepen.io/jeremyckahn/pen/wqObdO/">Shifty - Easing formula
|
|
180
|
+
* names</a> by Jeremy Kahn (<a
|
|
181
|
+
* href="https://codepen.io/jeremyckahn">@jeremyckahn</a>) on <a
|
|
182
|
+
* href="https://codepen.io">CodePen</a>.</p>
|
|
183
|
+
* <script async
|
|
184
|
+
* src="https://production-assets.codepen.io/assets/embed/ei.js"></script>
|
|
185
|
+
* @type {Object.<shifty.easingFunction>}
|
|
186
|
+
* @static
|
|
187
|
+
*/
|
|
188
|
+
export namespace formulas {
|
|
189
|
+
/**
|
|
190
|
+
* @memberof Tweenable.formulas
|
|
191
|
+
* @type {shifty.easingFunction}
|
|
192
|
+
* @param {number} pos
|
|
193
|
+
* @returns {number}
|
|
194
|
+
*/
|
|
195
|
+
export const linear: shifty.easingFunction;
|
|
196
|
+
/**
|
|
197
|
+
* @memberof Tweenable.formulas
|
|
198
|
+
* @type {shifty.easingFunction}
|
|
199
|
+
* @param {number} pos
|
|
200
|
+
* @returns {number}
|
|
201
|
+
*/
|
|
202
|
+
export const easeInQuad: shifty.easingFunction;
|
|
203
|
+
/**
|
|
204
|
+
* @memberof Tweenable.formulas
|
|
205
|
+
* @type {shifty.easingFunction}
|
|
206
|
+
* @param {number} pos
|
|
207
|
+
* @returns {number}
|
|
208
|
+
*/
|
|
209
|
+
export const easeOutQuad: shifty.easingFunction;
|
|
210
|
+
/**
|
|
211
|
+
* @memberof Tweenable.formulas
|
|
212
|
+
* @type {shifty.easingFunction}
|
|
213
|
+
* @param {number} pos
|
|
214
|
+
* @returns {number}
|
|
215
|
+
*/
|
|
216
|
+
export const easeInOutQuad: shifty.easingFunction;
|
|
217
|
+
/**
|
|
218
|
+
* @memberof Tweenable.formulas
|
|
219
|
+
* @type {shifty.easingFunction}
|
|
220
|
+
* @param {number} pos
|
|
221
|
+
* @returns {number}
|
|
222
|
+
*/
|
|
223
|
+
export const easeInCubic: shifty.easingFunction;
|
|
224
|
+
/**
|
|
225
|
+
* @memberof Tweenable.formulas
|
|
226
|
+
* @type {shifty.easingFunction}
|
|
227
|
+
* @param {number} pos
|
|
228
|
+
* @returns {number}
|
|
229
|
+
*/
|
|
230
|
+
export const easeOutCubic: shifty.easingFunction;
|
|
231
|
+
/**
|
|
232
|
+
* @memberof Tweenable.formulas
|
|
233
|
+
* @type {shifty.easingFunction}
|
|
234
|
+
* @param {number} pos
|
|
235
|
+
* @returns {number}
|
|
236
|
+
*/
|
|
237
|
+
export const easeInOutCubic: shifty.easingFunction;
|
|
238
|
+
/**
|
|
239
|
+
* @memberof Tweenable.formulas
|
|
240
|
+
* @type {shifty.easingFunction}
|
|
241
|
+
* @param {number} pos
|
|
242
|
+
* @returns {number}
|
|
243
|
+
*/
|
|
244
|
+
export const easeInQuart: shifty.easingFunction;
|
|
245
|
+
/**
|
|
246
|
+
* @memberof Tweenable.formulas
|
|
247
|
+
* @type {shifty.easingFunction}
|
|
248
|
+
* @param {number} pos
|
|
249
|
+
* @returns {number}
|
|
250
|
+
*/
|
|
251
|
+
export const easeOutQuart: shifty.easingFunction;
|
|
252
|
+
/**
|
|
253
|
+
* @memberof Tweenable.formulas
|
|
254
|
+
* @type {shifty.easingFunction}
|
|
255
|
+
* @param {number} pos
|
|
256
|
+
* @returns {number}
|
|
257
|
+
*/
|
|
258
|
+
export const easeInOutQuart: shifty.easingFunction;
|
|
259
|
+
/**
|
|
260
|
+
* @memberof Tweenable.formulas
|
|
261
|
+
* @type {shifty.easingFunction}
|
|
262
|
+
* @param {number} pos
|
|
263
|
+
* @returns {number}
|
|
264
|
+
*/
|
|
265
|
+
export const easeInQuint: shifty.easingFunction;
|
|
266
|
+
/**
|
|
267
|
+
* @memberof Tweenable.formulas
|
|
268
|
+
* @type {shifty.easingFunction}
|
|
269
|
+
* @param {number} pos
|
|
270
|
+
* @returns {number}
|
|
271
|
+
*/
|
|
272
|
+
export const easeOutQuint: shifty.easingFunction;
|
|
273
|
+
/**
|
|
274
|
+
* @memberof Tweenable.formulas
|
|
275
|
+
* @type {shifty.easingFunction}
|
|
276
|
+
* @param {number} pos
|
|
277
|
+
* @returns {number}
|
|
278
|
+
*/
|
|
279
|
+
export const easeInOutQuint: shifty.easingFunction;
|
|
280
|
+
/**
|
|
281
|
+
* @memberof Tweenable.formulas
|
|
282
|
+
* @type {shifty.easingFunction}
|
|
283
|
+
* @param {number} pos
|
|
284
|
+
* @returns {number}
|
|
285
|
+
*/
|
|
286
|
+
export const easeInSine: shifty.easingFunction;
|
|
287
|
+
/**
|
|
288
|
+
* @memberof Tweenable.formulas
|
|
289
|
+
* @type {shifty.easingFunction}
|
|
290
|
+
* @param {number} pos
|
|
291
|
+
* @returns {number}
|
|
292
|
+
*/
|
|
293
|
+
export const easeOutSine: shifty.easingFunction;
|
|
294
|
+
/**
|
|
295
|
+
* @memberof Tweenable.formulas
|
|
296
|
+
* @type {shifty.easingFunction}
|
|
297
|
+
* @param {number} pos
|
|
298
|
+
* @returns {number}
|
|
299
|
+
*/
|
|
300
|
+
export const easeInOutSine: shifty.easingFunction;
|
|
301
|
+
/**
|
|
302
|
+
* @memberof Tweenable.formulas
|
|
303
|
+
* @type {shifty.easingFunction}
|
|
304
|
+
* @param {number} pos
|
|
305
|
+
* @returns {number}
|
|
306
|
+
*/
|
|
307
|
+
export const easeInExpo: shifty.easingFunction;
|
|
308
|
+
/**
|
|
309
|
+
* @memberof Tweenable.formulas
|
|
310
|
+
* @type {shifty.easingFunction}
|
|
311
|
+
* @param {number} pos
|
|
312
|
+
* @returns {number}
|
|
313
|
+
*/
|
|
314
|
+
export const easeOutExpo: shifty.easingFunction;
|
|
315
|
+
/**
|
|
316
|
+
* @memberof Tweenable.formulas
|
|
317
|
+
* @type {shifty.easingFunction}
|
|
318
|
+
* @param {number} pos
|
|
319
|
+
* @returns {number}
|
|
320
|
+
*/
|
|
321
|
+
export const easeInOutExpo: shifty.easingFunction;
|
|
322
|
+
/**
|
|
323
|
+
* @memberof Tweenable.formulas
|
|
324
|
+
* @type {shifty.easingFunction}
|
|
325
|
+
* @param {number} pos
|
|
326
|
+
* @returns {number}
|
|
327
|
+
*/
|
|
328
|
+
export const easeInCirc: shifty.easingFunction;
|
|
329
|
+
/**
|
|
330
|
+
* @memberof Tweenable.formulas
|
|
331
|
+
* @type {shifty.easingFunction}
|
|
332
|
+
* @param {number} pos
|
|
333
|
+
* @returns {number}
|
|
334
|
+
*/
|
|
335
|
+
export const easeOutCirc: shifty.easingFunction;
|
|
336
|
+
/**
|
|
337
|
+
* @memberof Tweenable.formulas
|
|
338
|
+
* @type {shifty.easingFunction}
|
|
339
|
+
* @param {number} pos
|
|
340
|
+
* @returns {number}
|
|
341
|
+
*/
|
|
342
|
+
export const easeInOutCirc: shifty.easingFunction;
|
|
343
|
+
/**
|
|
344
|
+
* @memberof Tweenable.formulas
|
|
345
|
+
* @type {shifty.easingFunction}
|
|
346
|
+
* @param {number} pos
|
|
347
|
+
* @returns {number}
|
|
348
|
+
*/
|
|
349
|
+
export const easeOutBounce: shifty.easingFunction;
|
|
350
|
+
/**
|
|
351
|
+
* @memberof Tweenable.formulas
|
|
352
|
+
* @type {shifty.easingFunction}
|
|
353
|
+
* @param {number} pos
|
|
354
|
+
* @returns {number}
|
|
355
|
+
*/
|
|
356
|
+
export const easeInBack: shifty.easingFunction;
|
|
357
|
+
/**
|
|
358
|
+
* @memberof Tweenable.formulas
|
|
359
|
+
* @type {shifty.easingFunction}
|
|
360
|
+
* @param {number} pos
|
|
361
|
+
* @returns {number}
|
|
362
|
+
*/
|
|
363
|
+
export const easeOutBack: shifty.easingFunction;
|
|
364
|
+
/**
|
|
365
|
+
* @memberof Tweenable.formulas
|
|
366
|
+
* @type {shifty.easingFunction}
|
|
367
|
+
* @param {number} pos
|
|
368
|
+
* @returns {number}
|
|
369
|
+
*/
|
|
370
|
+
export const easeInOutBack: shifty.easingFunction;
|
|
371
|
+
/**
|
|
372
|
+
* @memberof Tweenable.formulas
|
|
373
|
+
* @type {shifty.easingFunction}
|
|
374
|
+
* @param {number} pos
|
|
375
|
+
* @returns {number}
|
|
376
|
+
*/
|
|
377
|
+
export const elastic: shifty.easingFunction;
|
|
378
|
+
/**
|
|
379
|
+
* @memberof Tweenable.formulas
|
|
380
|
+
* @type {shifty.easingFunction}
|
|
381
|
+
* @param {number} pos
|
|
382
|
+
* @returns {number}
|
|
383
|
+
*/
|
|
384
|
+
export const swingFromTo: shifty.easingFunction;
|
|
385
|
+
/**
|
|
386
|
+
* @memberof Tweenable.formulas
|
|
387
|
+
* @type {shifty.easingFunction}
|
|
388
|
+
* @param {number} pos
|
|
389
|
+
* @returns {number}
|
|
390
|
+
*/
|
|
391
|
+
export const swingFrom: shifty.easingFunction;
|
|
392
|
+
/**
|
|
393
|
+
* @memberof Tweenable.formulas
|
|
394
|
+
* @type {shifty.easingFunction}
|
|
395
|
+
* @param {number} pos
|
|
396
|
+
* @returns {number}
|
|
397
|
+
*/
|
|
398
|
+
export const swingTo: shifty.easingFunction;
|
|
399
|
+
/**
|
|
400
|
+
* @memberof Tweenable.formulas
|
|
401
|
+
* @type {shifty.easingFunction}
|
|
402
|
+
* @param {number} pos
|
|
403
|
+
* @returns {number}
|
|
404
|
+
*/
|
|
405
|
+
export const bounce: shifty.easingFunction;
|
|
406
|
+
/**
|
|
407
|
+
* @memberof Tweenable.formulas
|
|
408
|
+
* @type {shifty.easingFunction}
|
|
409
|
+
* @param {number} pos
|
|
410
|
+
* @returns {number}
|
|
411
|
+
*/
|
|
412
|
+
export const bouncePast: shifty.easingFunction;
|
|
413
|
+
/**
|
|
414
|
+
* @memberof Tweenable.formulas
|
|
415
|
+
* @type {shifty.easingFunction}
|
|
416
|
+
* @param {number} pos
|
|
417
|
+
* @returns {number}
|
|
418
|
+
*/
|
|
419
|
+
export const easeFromTo: shifty.easingFunction;
|
|
420
|
+
/**
|
|
421
|
+
* @memberof Tweenable.formulas
|
|
422
|
+
* @type {shifty.easingFunction}
|
|
423
|
+
* @param {number} pos
|
|
424
|
+
* @returns {number}
|
|
425
|
+
*/
|
|
426
|
+
export const easeFrom: shifty.easingFunction;
|
|
427
|
+
/**
|
|
428
|
+
* @memberof Tweenable.formulas
|
|
429
|
+
* @type {shifty.easingFunction}
|
|
430
|
+
* @param {number} pos
|
|
431
|
+
* @returns {number}
|
|
432
|
+
*/
|
|
433
|
+
export const easeTo: shifty.easingFunction;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
// interpolate.ts
|
|
438
|
+
export function interpolate<T>(
|
|
439
|
+
from: T,
|
|
440
|
+
to: T,
|
|
441
|
+
position: number,
|
|
442
|
+
easing:
|
|
443
|
+
| Record<string, string | shifty.easingFunction>
|
|
444
|
+
| string
|
|
445
|
+
| shifty.easingFunction,
|
|
446
|
+
delay?: number
|
|
447
|
+
): T;
|
|
448
|
+
|
|
449
|
+
// scene.ts
|
|
450
|
+
export class Scene {
|
|
451
|
+
/**
|
|
452
|
+
* The {@link Scene} class provides a way to control groups of {@link
|
|
453
|
+
* Tweenable}s. It is lightweight, minimalistic, and meant to provide
|
|
454
|
+
* performant {@link Tweenable} batch control that users of Shifty
|
|
455
|
+
* might otherwise have to implement themselves. It is **not** a robust
|
|
456
|
+
* timeline solution, and it does **not** provide utilities for sophisticated
|
|
457
|
+
* animation sequencing or orchestration. If that is what you need for your
|
|
458
|
+
* project, consider using a more robust tool such as
|
|
459
|
+
* [Rekapi](http://jeremyckahn.github.io/rekapi/doc/) (a timeline layer built
|
|
460
|
+
* on top of Shifty).
|
|
461
|
+
*
|
|
462
|
+
* Please be aware that {@link Scene} does **not** perform any
|
|
463
|
+
* automatic cleanup. If you want to remove a {@link Tweenable} from a
|
|
464
|
+
* {@link Scene}, you must do so explicitly with either {@link
|
|
465
|
+
* Scene#remove} or {@link Scene#empty}.
|
|
466
|
+
*
|
|
467
|
+
* <p class="codepen" data-height="677" data-theme-id="0" data-default-tab="js,result" data-user="jeremyckahn" data-slug-hash="qvZKbe" style="height: 677px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid black; margin: 1em 0; padding: 1em;" data-pen-title="Shifty Scene Demo">
|
|
468
|
+
* <span>See the Pen <a href="https://codepen.io/jeremyckahn/pen/qvZKbe/">
|
|
469
|
+
* Shifty Scene Demo</a> by Jeremy Kahn (<a href="https://codepen.io/jeremyckahn">@jeremyckahn</a>)
|
|
470
|
+
* on <a href="https://codepen.io">CodePen</a>.</span>
|
|
471
|
+
* </p>
|
|
472
|
+
* <script async src="https://static.codepen.io/assets/embed/ei.js"></script>
|
|
473
|
+
* @param {...Tweenable} tweenables
|
|
474
|
+
* @see https://codepen.io/jeremyckahn/pen/qvZKbe
|
|
475
|
+
* @constructs Scene
|
|
476
|
+
* @memberof shifty
|
|
477
|
+
*/
|
|
478
|
+
constructor(...tweenables: Tweenable[]);
|
|
479
|
+
/**
|
|
480
|
+
* A copy of the internal {@link Tweenable}s array.
|
|
481
|
+
* @member Scene#tweenables
|
|
482
|
+
* @type {Array.<Tweenable>}
|
|
483
|
+
*/
|
|
484
|
+
get tweenables(): Tweenable[];
|
|
485
|
+
/**
|
|
486
|
+
* The {@link external:Promise}s for all {@link Tweenable}s in this
|
|
487
|
+
* {@link Scene} that have been configured with {@link
|
|
488
|
+
* Tweenable#setConfig}. Note that each call of {@link
|
|
489
|
+
* Scene#play} or {@link Scene#pause} creates new {@link
|
|
490
|
+
* external:Promise}s:
|
|
491
|
+
*
|
|
492
|
+
* const scene = new Scene(new Tweenable());
|
|
493
|
+
* scene.play();
|
|
494
|
+
*
|
|
495
|
+
* Promise.all(scene.promises).then(() =>
|
|
496
|
+
* // Plays the scene again upon completion, but a new promise is
|
|
497
|
+
* // created so this line only runs once.
|
|
498
|
+
* scene.play()
|
|
499
|
+
* );
|
|
500
|
+
*
|
|
501
|
+
* @member Scene#promises
|
|
502
|
+
* @type {Array.<Promise<any>>}
|
|
503
|
+
*/
|
|
504
|
+
get promises(): Promise<any>[];
|
|
505
|
+
/**
|
|
506
|
+
* Add a {@link Tweenable} to be controlled by this {@link
|
|
507
|
+
* Scene}.
|
|
508
|
+
* @method Scene#add
|
|
509
|
+
* @param {Tweenable} tweenable
|
|
510
|
+
* @return {Tweenable} The {@link Tweenable} that was added.
|
|
511
|
+
*/
|
|
512
|
+
add(tweenable: Tweenable): Tweenable;
|
|
513
|
+
/**
|
|
514
|
+
* Remove a {@link Tweenable} that is controlled by this {@link
|
|
515
|
+
* Scene}.
|
|
516
|
+
* @method Scene#remove
|
|
517
|
+
* @param {Tweenable} tweenable
|
|
518
|
+
* @return {Tweenable} The {@link Tweenable} that was removed.
|
|
519
|
+
*/
|
|
520
|
+
remove(tweenable: Tweenable): Tweenable;
|
|
521
|
+
/**
|
|
522
|
+
* [Remove]{@link Scene#remove} all {@link Tweenable}s in this {@link
|
|
523
|
+
* Scene}.
|
|
524
|
+
* @method Scene#empty
|
|
525
|
+
* @return {Array.<Tweenable>} The {@link Tweenable}s that were
|
|
526
|
+
* removed.
|
|
527
|
+
*/
|
|
528
|
+
empty(): Array<Tweenable>;
|
|
529
|
+
/**
|
|
530
|
+
* Is `true` if any {@link Tweenable} in this {@link Scene} is
|
|
531
|
+
* playing.
|
|
532
|
+
* @method Scene#isPlaying
|
|
533
|
+
* @return {boolean}
|
|
534
|
+
*/
|
|
535
|
+
isPlaying(): boolean;
|
|
536
|
+
/**
|
|
537
|
+
* Play all {@link Tweenable}s from their beginning.
|
|
538
|
+
* @method Scene#play
|
|
539
|
+
* @return {Scene}
|
|
540
|
+
*/
|
|
541
|
+
play(): Scene;
|
|
542
|
+
/**
|
|
543
|
+
* {@link Tweenable#pause} all {@link Tweenable}s in this
|
|
544
|
+
* {@link Scene}.
|
|
545
|
+
* @method Scene#pause
|
|
546
|
+
* @return {Scene}
|
|
547
|
+
*/
|
|
548
|
+
pause(): Scene;
|
|
549
|
+
/**
|
|
550
|
+
* {@link Tweenable#resume} all paused {@link Tweenable}s.
|
|
551
|
+
* @method Scene#resume
|
|
552
|
+
* @return {Scene}
|
|
553
|
+
*/
|
|
554
|
+
resume(): Scene;
|
|
555
|
+
/**
|
|
556
|
+
* {@link Tweenable#stop} all {@link Tweenable}s in this {@link
|
|
557
|
+
* Scene}.
|
|
558
|
+
* @method Scene#stop
|
|
559
|
+
* @param {boolean} [gotoEnd]
|
|
560
|
+
* @return {Scene}
|
|
561
|
+
*/
|
|
562
|
+
stop(gotoEnd?: boolean): Scene;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
// token.ts
|
|
566
|
+
/**
|
|
567
|
+
* @memberof Tweenable.filters.token
|
|
568
|
+
* @param {Tweenable} tweenable
|
|
569
|
+
*/
|
|
570
|
+
export function tweenCreated(tweenable: Tweenable): void;
|
|
571
|
+
/**
|
|
572
|
+
* @memberof Tweenable.filters.token
|
|
573
|
+
* @param {Tweenable} tweenable
|
|
574
|
+
*/
|
|
575
|
+
export function beforeTween(tweenable: Tweenable): void;
|
|
576
|
+
/**
|
|
577
|
+
* @memberof Tweenable.filters.token
|
|
578
|
+
* @param {Tweenable} tweenable
|
|
579
|
+
*/
|
|
580
|
+
export function afterTween(tweenable: Tweenable): void;
|
|
581
|
+
export function doesApply(tweenable: Tweenable): boolean;
|
|
582
|
+
|
|
583
|
+
// tweenable.ts
|
|
584
|
+
/**
|
|
585
|
+
* @method shifty.tween
|
|
586
|
+
* @param {shifty.tweenConfig} [config={}]
|
|
587
|
+
* @description Standalone convenience method that functions identically to
|
|
588
|
+
* {@link Tweenable#tween}. You can use this to create tweens without
|
|
589
|
+
* needing to set up a {@link Tweenable} instance.
|
|
590
|
+
*
|
|
591
|
+
* ```
|
|
592
|
+
* import { tween } from 'shifty';
|
|
593
|
+
*
|
|
594
|
+
* tween({ from: { x: 0 }, to: { x: 10 } }).then(
|
|
595
|
+
* () => console.log('All done!')
|
|
596
|
+
* );
|
|
597
|
+
* ```
|
|
598
|
+
*
|
|
599
|
+
* @returns {Tweenable} A new {@link Tweenable} instance.
|
|
600
|
+
*/
|
|
601
|
+
export function tween(config?: shifty.tweenConfig): Tweenable;
|
|
602
|
+
export function resetList(): void;
|
|
603
|
+
export function getListHead(): Tweenable;
|
|
604
|
+
export function getListTail(): Tweenable;
|
|
605
|
+
export function tweenProps(
|
|
606
|
+
forPosition: number,
|
|
607
|
+
currentState: any,
|
|
608
|
+
originalState: any,
|
|
609
|
+
targetState: any,
|
|
610
|
+
duration: number,
|
|
611
|
+
timestamp: number,
|
|
612
|
+
easing: Record<string, string | Function>
|
|
613
|
+
): any;
|
|
614
|
+
export function processTweens(): void;
|
|
615
|
+
export function scheduleUpdate(): void;
|
|
616
|
+
export function composeEasingObject(
|
|
617
|
+
fromTweenParams: Record<string, string | Function>,
|
|
618
|
+
easing?: any | string | Function,
|
|
619
|
+
composedEasing?: any
|
|
620
|
+
): Record<string, string | Function> | Function;
|
|
621
|
+
export class Tweenable {
|
|
622
|
+
/**
|
|
623
|
+
* @method Tweenable.now
|
|
624
|
+
* @static
|
|
625
|
+
* @returns {number} The current timestamp.
|
|
626
|
+
*/
|
|
627
|
+
static now: () => number;
|
|
628
|
+
/**
|
|
629
|
+
* @param {Object} [initialState={}] The values that the initial tween should
|
|
630
|
+
* start at if a `from` value is not provided to {@link
|
|
631
|
+
* Tweenable#tween} or {@link Tweenable#setConfig}.
|
|
632
|
+
* @param {shifty.tweenConfig} [config] Configuration object to be passed to
|
|
633
|
+
* {@link Tweenable#setConfig}.
|
|
634
|
+
* @constructs Tweenable
|
|
635
|
+
* @memberof shifty
|
|
636
|
+
*/
|
|
637
|
+
constructor(initialState?: any, config?: shifty.tweenConfig);
|
|
638
|
+
/** @private */
|
|
639
|
+
private _config;
|
|
640
|
+
/** @private */
|
|
641
|
+
private _data;
|
|
642
|
+
/** @private */
|
|
643
|
+
private _delay;
|
|
644
|
+
/** @private */
|
|
645
|
+
private _filters;
|
|
646
|
+
/** @private */
|
|
647
|
+
private _next;
|
|
648
|
+
/** @private */
|
|
649
|
+
private _previous;
|
|
650
|
+
/** @private */
|
|
651
|
+
private _timestamp;
|
|
652
|
+
/** @private */
|
|
653
|
+
private _hasEnded;
|
|
654
|
+
/** @private */
|
|
655
|
+
private _resolve;
|
|
656
|
+
/** @private */
|
|
657
|
+
private _reject;
|
|
658
|
+
/** @private */
|
|
659
|
+
private _currentState;
|
|
660
|
+
/** @private */
|
|
661
|
+
private _originalState;
|
|
662
|
+
/** @private */
|
|
663
|
+
private _targetState;
|
|
664
|
+
/** @private */
|
|
665
|
+
private _start;
|
|
666
|
+
/** @private */
|
|
667
|
+
private _render;
|
|
668
|
+
/** @private */
|
|
669
|
+
private _promiseCtor;
|
|
670
|
+
/**
|
|
671
|
+
* Applies a filter to Tweenable instance.
|
|
672
|
+
* @param {string} filterName The name of the filter to apply.
|
|
673
|
+
* @private
|
|
674
|
+
*/
|
|
675
|
+
private _applyFilter;
|
|
676
|
+
/**
|
|
677
|
+
* Configure and start a tween. If this {@link Tweenable}'s instance
|
|
678
|
+
* is already running, then it will stop playing the old tween and
|
|
679
|
+
* immediately play the new one.
|
|
680
|
+
* @method Tweenable#tween
|
|
681
|
+
* @param {shifty.tweenConfig} [config] Gets passed to {@link
|
|
682
|
+
* Tweenable#setConfig}.
|
|
683
|
+
* @return {Tweenable}
|
|
684
|
+
*/
|
|
685
|
+
tween(config?: shifty.tweenConfig): Tweenable;
|
|
686
|
+
/** @private */
|
|
687
|
+
private _pausedAtTime;
|
|
688
|
+
/**
|
|
689
|
+
* Configure a tween that will start at some point in the future. Aside from
|
|
690
|
+
* `delay`, `from`, and `to`, each configuration option will automatically
|
|
691
|
+
* default to the same option used in the preceding tween of this {@link
|
|
692
|
+
* Tweenable} instance.
|
|
693
|
+
* @method Tweenable#setConfig
|
|
694
|
+
* @param {shifty.tweenConfig} [config={}]
|
|
695
|
+
* @return {Tweenable}
|
|
696
|
+
*/
|
|
697
|
+
setConfig(config?: shifty.tweenConfig): Tweenable;
|
|
698
|
+
/** @private */
|
|
699
|
+
private _isPlaying;
|
|
700
|
+
/** @private */
|
|
701
|
+
private _scheduleId;
|
|
702
|
+
/** @private */
|
|
703
|
+
private _duration;
|
|
704
|
+
/** @private */
|
|
705
|
+
private _easing;
|
|
706
|
+
/**
|
|
707
|
+
* Overrides any `finish` function passed via a {@link shifty.tweenConfig}.
|
|
708
|
+
* @method Tweenable#then
|
|
709
|
+
* @param {function} onFulfilled Receives {@link shifty.promisedData} as the
|
|
710
|
+
* first parameter.
|
|
711
|
+
* @param {function} onRejected Receives {@link shifty.promisedData} as the
|
|
712
|
+
* first parameter.
|
|
713
|
+
* @return {Promise<Object>}
|
|
714
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/then
|
|
715
|
+
*/
|
|
716
|
+
then(onFulfilled: Function, onRejected?: Function): Promise<any>;
|
|
717
|
+
/** @private */
|
|
718
|
+
private _promise;
|
|
719
|
+
/**
|
|
720
|
+
* @method Tweenable#catch
|
|
721
|
+
* @param {function} onRejected Receives {@link shifty.promisedData} as the
|
|
722
|
+
* first parameter.
|
|
723
|
+
* @return {Promise<Object>}
|
|
724
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch
|
|
725
|
+
*/
|
|
726
|
+
catch(onRejected: Function): Promise<any>;
|
|
727
|
+
/**
|
|
728
|
+
* @method Tweenable#get
|
|
729
|
+
* @return {Object} The current state.
|
|
730
|
+
*/
|
|
731
|
+
get(): any;
|
|
732
|
+
/**
|
|
733
|
+
* Set the current state.
|
|
734
|
+
* @method Tweenable#set
|
|
735
|
+
* @param {Object} state The state to set.
|
|
736
|
+
*/
|
|
737
|
+
set(state: any): void;
|
|
738
|
+
/**
|
|
739
|
+
* Pause a tween. Paused tweens can be resumed from the point at which they
|
|
740
|
+
* were paused. If a tween is not running, this is a no-op.
|
|
741
|
+
* @method Tweenable#pause
|
|
742
|
+
* @return {Tweenable}
|
|
743
|
+
*/
|
|
744
|
+
pause(): Tweenable;
|
|
745
|
+
/**
|
|
746
|
+
* Resume a paused tween.
|
|
747
|
+
* @method Tweenable#resume
|
|
748
|
+
* @return {Tweenable}
|
|
749
|
+
*/
|
|
750
|
+
resume(): Tweenable;
|
|
751
|
+
/**
|
|
752
|
+
* @private
|
|
753
|
+
* @param {number} currentTime
|
|
754
|
+
* @returns {Tweenable}
|
|
755
|
+
*/
|
|
756
|
+
private _resume;
|
|
757
|
+
/**
|
|
758
|
+
* Move the state of the animation to a specific point in the tween's
|
|
759
|
+
* timeline. If the animation is not running, this will cause {@link
|
|
760
|
+
* shifty.renderFunction} handlers to be called.
|
|
761
|
+
* @method Tweenable#seek
|
|
762
|
+
* @param {number} millisecond The millisecond of the animation to seek
|
|
763
|
+
* to. This must not be less than `0`.
|
|
764
|
+
* @return {Tweenable}
|
|
765
|
+
*/
|
|
766
|
+
seek(millisecond: number): Tweenable;
|
|
767
|
+
/**
|
|
768
|
+
* Stops a tween. If a tween is not running, this is a no-op. This method
|
|
769
|
+
* does not cancel the tween {@link external:Promise}. For that, use {@link
|
|
770
|
+
* Tweenable#cancel}.
|
|
771
|
+
* @param {boolean} [gotoEnd] If `false`, the tween just stops at its current
|
|
772
|
+
* state. If `true`, the tweened object's values are instantly set to the
|
|
773
|
+
* target values.
|
|
774
|
+
* @method Tweenable#stop
|
|
775
|
+
* @return {Tweenable}
|
|
776
|
+
*/
|
|
777
|
+
stop(gotoEnd?: boolean): Tweenable;
|
|
778
|
+
/**
|
|
779
|
+
* {@link Tweenable#stop}s a tween and also `reject`s its {@link
|
|
780
|
+
* external:Promise}. If a tween is not running, this is a no-op. Prevents
|
|
781
|
+
* calling any provided `finish` function.
|
|
782
|
+
* @param {boolean} [gotoEnd] Is propagated to {@link Tweenable#stop}.
|
|
783
|
+
* @method Tweenable#cancel
|
|
784
|
+
* @return {Tweenable}
|
|
785
|
+
* @see https://github.com/jeremyckahn/shifty/issues/122
|
|
786
|
+
*/
|
|
787
|
+
cancel(gotoEnd?: boolean): Tweenable;
|
|
788
|
+
/**
|
|
789
|
+
* Whether or not a tween is running.
|
|
790
|
+
* @method Tweenable#isPlaying
|
|
791
|
+
* @return {boolean}
|
|
792
|
+
*/
|
|
793
|
+
isPlaying(): boolean;
|
|
794
|
+
/**
|
|
795
|
+
* Whether or not a tween has finished running.
|
|
796
|
+
* @method Tweenable#hasEnded
|
|
797
|
+
* @return {boolean}
|
|
798
|
+
*/
|
|
799
|
+
hasEnded(): boolean;
|
|
800
|
+
/**
|
|
801
|
+
* @method Tweenable#setScheduleFunction
|
|
802
|
+
* @param {shifty.scheduleFunction} scheduleFunction
|
|
803
|
+
* @deprecated Will be removed in favor of {@link Tweenable.setScheduleFunction} in 3.0.
|
|
804
|
+
*/
|
|
805
|
+
setScheduleFunction(scheduleFunction: shifty.scheduleFunction): void;
|
|
806
|
+
/**
|
|
807
|
+
* Get and optionally set the data that gets passed as `data` to {@link
|
|
808
|
+
* shifty.promisedData}, {@link shifty.startFunction} and {@link
|
|
809
|
+
* shifty.renderFunction}.
|
|
810
|
+
* @param {Object} [data]
|
|
811
|
+
* @method Tweenable#data
|
|
812
|
+
* @return {Object} The internally stored `data`.
|
|
813
|
+
*/
|
|
814
|
+
data(data?: any): any;
|
|
815
|
+
/**
|
|
816
|
+
* `delete` all "own" properties. Call this when the {@link
|
|
817
|
+
* Tweenable} instance is no longer needed to free memory.
|
|
818
|
+
* @method Tweenable#dispose
|
|
819
|
+
*/
|
|
820
|
+
dispose(): void;
|
|
821
|
+
}
|
|
822
|
+
export namespace Tweenable {
|
|
823
|
+
/**
|
|
824
|
+
* Set a custom schedule function.
|
|
825
|
+
*
|
|
826
|
+
* By default,
|
|
827
|
+
* [`requestAnimationFrame`](https://developer.mozilla.org/en-US/docs/Web/API/window.requestAnimationFrame)
|
|
828
|
+
* is used if available, otherwise
|
|
829
|
+
* [`setTimeout`](https://developer.mozilla.org/en-US/docs/Web/API/Window.setTimeout)
|
|
830
|
+
* is used.
|
|
831
|
+
* @method Tweenable.setScheduleFunction
|
|
832
|
+
* @param {shifty.scheduleFunction} fn The function to be
|
|
833
|
+
* used to schedule the next frame to be rendered.
|
|
834
|
+
* @return {shifty.scheduleFunction} The function that was set.
|
|
835
|
+
*/
|
|
836
|
+
export function setScheduleFunction(fn: scheduleFunction): scheduleFunction;
|
|
837
|
+
export const filters: Record<string, shifty.filter>;
|
|
838
|
+
}
|
|
839
|
+
}
|