@drincs/pixi-vn 0.5.11 → 0.6.1
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/dist/{TickerBase-CjfyD6j5.d.ts → TickerBase-BAUiHet_.d.ts} +19 -14
- package/dist/{TickerBase-CFEJHstJ.d.mts → TickerBase-BctFf13y.d.mts} +19 -14
- package/dist/classes/CanvasEvent.d.mts +2 -2
- package/dist/classes/CanvasEvent.d.ts +2 -2
- package/dist/classes/CanvasEvent.js.map +1 -1
- package/dist/classes/CanvasEvent.mjs.map +1 -1
- package/dist/classes/CharacterBaseModel.d.mts +3 -27
- package/dist/classes/CharacterBaseModel.d.ts +3 -27
- package/dist/classes/CharacterBaseModel.js +464 -189
- package/dist/classes/CharacterBaseModel.js.map +1 -1
- package/dist/classes/CharacterBaseModel.mjs +460 -189
- package/dist/classes/CharacterBaseModel.mjs.map +1 -1
- package/dist/classes/ChoiceMenuOption.d.mts +27 -17
- package/dist/classes/ChoiceMenuOption.d.ts +27 -17
- package/dist/classes/ChoiceMenuOption.js +467 -190
- package/dist/classes/ChoiceMenuOption.js.map +1 -1
- package/dist/classes/ChoiceMenuOption.mjs +463 -190
- package/dist/classes/ChoiceMenuOption.mjs.map +1 -1
- package/dist/classes/CloseLabel.d.mts +1 -1
- package/dist/classes/CloseLabel.d.ts +1 -1
- package/dist/classes/CloseLabel.js.map +1 -1
- package/dist/classes/CloseLabel.mjs.map +1 -1
- package/dist/classes/DialogueBaseModel.d.mts +1 -0
- package/dist/classes/DialogueBaseModel.d.ts +1 -0
- package/dist/classes/StoredClassModel.d.mts +2 -2
- package/dist/classes/StoredClassModel.d.ts +2 -2
- package/dist/classes/StoredClassModel.js +464 -189
- package/dist/classes/StoredClassModel.js.map +1 -1
- package/dist/classes/StoredClassModel.mjs +460 -189
- package/dist/classes/StoredClassModel.mjs.map +1 -1
- package/dist/classes/canvas/CanvasBase.d.mts +1 -1
- package/dist/classes/canvas/CanvasBase.d.ts +1 -1
- package/dist/classes/canvas/CanvasBase.js.map +1 -1
- package/dist/classes/canvas/CanvasBase.mjs.map +1 -1
- package/dist/classes/canvas/CanvasContainer.js.map +1 -1
- package/dist/classes/canvas/CanvasContainer.mjs.map +1 -1
- package/dist/classes/canvas/CanvasImage.d.mts +2 -2
- package/dist/classes/canvas/CanvasImage.d.ts +2 -2
- package/dist/classes/canvas/CanvasImage.js.map +1 -1
- package/dist/classes/canvas/CanvasImage.mjs.map +1 -1
- package/dist/classes/canvas/CanvasSprite.d.mts +1 -1
- package/dist/classes/canvas/CanvasSprite.d.ts +1 -1
- package/dist/classes/canvas/CanvasSprite.js.map +1 -1
- package/dist/classes/canvas/CanvasSprite.mjs.map +1 -1
- package/dist/classes/canvas/CanvasText.d.mts +2 -2
- package/dist/classes/canvas/CanvasText.d.ts +2 -2
- package/dist/classes/canvas/CanvasText.js.map +1 -1
- package/dist/classes/canvas/CanvasText.mjs.map +1 -1
- package/dist/classes/canvas/index.js.map +1 -1
- package/dist/classes/canvas/index.mjs.map +1 -1
- package/dist/classes/index.d.mts +5 -4
- package/dist/classes/index.d.ts +5 -4
- package/dist/classes/index.js +467 -190
- package/dist/classes/index.js.map +1 -1
- package/dist/classes/index.mjs +463 -190
- package/dist/classes/index.mjs.map +1 -1
- package/dist/classes/ticker/FadeAlphaTicker.d.mts +26 -0
- package/dist/classes/ticker/FadeAlphaTicker.d.ts +26 -0
- package/dist/classes/ticker/{TickerFadeAlpha.js → FadeAlphaTicker.js} +469 -196
- package/dist/classes/ticker/FadeAlphaTicker.js.map +1 -0
- package/dist/classes/ticker/{TickerRotate.mjs → FadeAlphaTicker.mjs} +491 -222
- package/dist/classes/ticker/FadeAlphaTicker.mjs.map +1 -0
- package/dist/classes/ticker/MoveTicker.d.mts +24 -0
- package/dist/classes/ticker/MoveTicker.d.ts +24 -0
- package/dist/classes/ticker/MoveTicker.js +1605 -0
- package/dist/classes/ticker/MoveTicker.js.map +1 -0
- package/dist/classes/ticker/{TickerMove.mjs → MoveTicker.mjs} +463 -192
- package/dist/classes/ticker/MoveTicker.mjs.map +1 -0
- package/dist/classes/ticker/RotateTicker.d.mts +26 -0
- package/dist/classes/ticker/RotateTicker.d.ts +26 -0
- package/dist/classes/ticker/{TickerRotate.js → RotateTicker.js} +464 -189
- package/dist/classes/ticker/RotateTicker.js.map +1 -0
- package/dist/classes/ticker/RotateTicker.mjs +1599 -0
- package/dist/classes/ticker/RotateTicker.mjs.map +1 -0
- package/dist/classes/ticker/TickerBase.d.mts +1 -1
- package/dist/classes/ticker/TickerBase.d.ts +1 -1
- package/dist/classes/ticker/TickerBase.js +7 -6
- package/dist/classes/ticker/TickerBase.js.map +1 -1
- package/dist/classes/ticker/TickerBase.mjs +7 -6
- package/dist/classes/ticker/TickerBase.mjs.map +1 -1
- package/dist/classes/ticker/ZoomTicker.d.mts +25 -0
- package/dist/classes/ticker/ZoomTicker.d.ts +25 -0
- package/dist/classes/ticker/{TickerMove.js → ZoomTicker.js} +474 -199
- package/dist/classes/ticker/ZoomTicker.js.map +1 -0
- package/dist/classes/ticker/{TickerFadeAlpha.mjs → ZoomTicker.mjs} +472 -201
- package/dist/classes/ticker/ZoomTicker.mjs.map +1 -0
- package/dist/classes/ticker/index.d.mts +10 -8
- package/dist/classes/ticker/index.d.ts +10 -8
- package/dist/classes/ticker/index.js +479 -206
- package/dist/classes/ticker/index.js.map +1 -1
- package/dist/classes/ticker/index.mjs +476 -207
- package/dist/classes/ticker/index.mjs.map +1 -1
- package/dist/constants.d.mts +12 -2
- package/dist/constants.d.ts +12 -2
- package/dist/constants.js +10 -1
- package/dist/constants.js.map +1 -1
- package/dist/constants.mjs +9 -2
- package/dist/constants.mjs.map +1 -1
- package/dist/decorators/CanvasElementDecorator.js.map +1 -1
- package/dist/decorators/CanvasElementDecorator.mjs.map +1 -1
- package/dist/decorators/CharacterDecorator.d.mts +1 -0
- package/dist/decorators/CharacterDecorator.d.ts +1 -0
- package/dist/decorators/CharacterDecorator.js +1 -1
- package/dist/decorators/CharacterDecorator.js.map +1 -1
- package/dist/decorators/CharacterDecorator.mjs +1 -1
- package/dist/decorators/CharacterDecorator.mjs.map +1 -1
- package/dist/decorators/EventDecorator.js +1 -1
- package/dist/decorators/EventDecorator.js.map +1 -1
- package/dist/decorators/EventDecorator.mjs +1 -1
- package/dist/decorators/EventDecorator.mjs.map +1 -1
- package/dist/decorators/LabelDecorator.d.mts +4 -3
- package/dist/decorators/LabelDecorator.d.ts +4 -3
- package/dist/decorators/LabelDecorator.js +465 -190
- package/dist/decorators/LabelDecorator.js.map +1 -1
- package/dist/decorators/LabelDecorator.mjs +461 -190
- package/dist/decorators/LabelDecorator.mjs.map +1 -1
- package/dist/decorators/TickerDecorator.d.mts +6 -3
- package/dist/decorators/TickerDecorator.d.ts +6 -3
- package/dist/decorators/TickerDecorator.js +1 -1
- package/dist/decorators/TickerDecorator.js.map +1 -1
- package/dist/decorators/TickerDecorator.mjs +1 -1
- package/dist/decorators/TickerDecorator.mjs.map +1 -1
- package/dist/decorators/index.d.mts +4 -3
- package/dist/decorators/index.d.ts +4 -3
- package/dist/decorators/index.js +467 -192
- package/dist/decorators/index.js.map +1 -1
- package/dist/decorators/index.mjs +463 -192
- package/dist/decorators/index.mjs.map +1 -1
- package/dist/functions/CanvasUtility.js.map +1 -1
- package/dist/functions/CanvasUtility.mjs.map +1 -1
- package/dist/functions/DialogueUtility.d.mts +6 -4
- package/dist/functions/DialogueUtility.d.ts +6 -4
- package/dist/functions/DialogueUtility.js +525 -255
- package/dist/functions/DialogueUtility.js.map +1 -1
- package/dist/functions/DialogueUtility.mjs +525 -255
- package/dist/functions/DialogueUtility.mjs.map +1 -1
- package/dist/functions/FlagsUtility.js +464 -189
- package/dist/functions/FlagsUtility.js.map +1 -1
- package/dist/functions/FlagsUtility.mjs +460 -189
- package/dist/functions/FlagsUtility.mjs.map +1 -1
- package/dist/functions/GameUtility.js +464 -189
- package/dist/functions/GameUtility.js.map +1 -1
- package/dist/functions/GameUtility.mjs +460 -189
- package/dist/functions/GameUtility.mjs.map +1 -1
- package/dist/functions/ImageUtility.d.mts +47 -7
- package/dist/functions/ImageUtility.d.ts +47 -7
- package/dist/functions/ImageUtility.js +555 -216
- package/dist/functions/ImageUtility.js.map +1 -1
- package/dist/functions/ImageUtility.mjs +547 -216
- package/dist/functions/ImageUtility.mjs.map +1 -1
- package/dist/functions/SavesUtility.d.mts +9 -5
- package/dist/functions/SavesUtility.d.ts +9 -5
- package/dist/functions/SavesUtility.js +504 -238
- package/dist/functions/SavesUtility.js.map +1 -1
- package/dist/functions/SavesUtility.mjs +504 -238
- package/dist/functions/SavesUtility.mjs.map +1 -1
- package/dist/functions/TickerUtility.d.mts +1 -1
- package/dist/functions/TickerUtility.d.ts +1 -1
- package/dist/functions/TickerUtility.js +32 -18
- package/dist/functions/TickerUtility.js.map +1 -1
- package/dist/functions/TickerUtility.mjs +32 -18
- package/dist/functions/TickerUtility.mjs.map +1 -1
- package/dist/functions/index.d.mts +15 -8
- package/dist/functions/index.d.ts +15 -8
- package/dist/functions/index.js +590 -256
- package/dist/functions/index.js.map +1 -1
- package/dist/functions/index.mjs +586 -256
- package/dist/functions/index.mjs.map +1 -1
- package/dist/index.d.mts +23 -14
- package/dist/index.d.ts +23 -14
- package/dist/index.js +1010 -267
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1004 -266
- package/dist/index.mjs.map +1 -1
- package/dist/interface/CharacterBaseModelProps.d.mts +27 -0
- package/dist/interface/CharacterBaseModelProps.d.ts +27 -0
- package/dist/interface/CharacterBaseModelProps.js +4 -0
- package/dist/interface/CharacterBaseModelProps.mjs +3 -0
- package/dist/interface/DialogueHistory.d.mts +3 -7
- package/dist/interface/DialogueHistory.d.ts +3 -7
- package/dist/interface/IHistoryStep.d.mts +12 -8
- package/dist/interface/IHistoryStep.d.ts +12 -8
- package/dist/interface/ISaveData.d.mts +8 -4
- package/dist/interface/ISaveData.d.ts +8 -4
- package/dist/interface/ITicker.d.mts +1 -1
- package/dist/interface/ITicker.d.ts +1 -1
- package/dist/interface/ITickersSteps.d.mts +3 -3
- package/dist/interface/ITickersSteps.d.ts +3 -3
- package/dist/interface/{IClassWithArgsHistory.d.mts → TickerHistory.d.mts} +9 -5
- package/dist/interface/{IClassWithArgsHistory.d.ts → TickerHistory.d.ts} +9 -5
- package/dist/{types/ticker/TickerMoveProps.js → interface/TickerHistory.js} +1 -1
- package/dist/interface/TickerHistory.mjs +3 -0
- package/dist/interface/TickerProgrationType.d.mts +13 -1
- package/dist/interface/TickerProgrationType.d.ts +13 -1
- package/dist/interface/TickerTimeoutHistory.d.mts +7 -0
- package/dist/interface/TickerTimeoutHistory.d.ts +7 -0
- package/dist/interface/TickerTimeoutHistory.js +4 -0
- package/dist/interface/TickerTimeoutHistory.mjs +3 -0
- package/dist/interface/canvas/ICanvasImageMemory.d.mts +1 -1
- package/dist/interface/canvas/ICanvasImageMemory.d.ts +1 -1
- package/dist/interface/canvas/ICanvasSpriteMemory.d.mts +1 -1
- package/dist/interface/canvas/ICanvasSpriteMemory.d.ts +1 -1
- package/dist/interface/canvas/ICanvasTextTextMemory.d.mts +1 -1
- package/dist/interface/canvas/ICanvasTextTextMemory.d.ts +1 -1
- package/dist/interface/export/ExportedCanvas.d.mts +11 -3
- package/dist/interface/export/ExportedCanvas.d.ts +11 -3
- package/dist/interface/export/ExportedStep.d.mts +7 -3
- package/dist/interface/export/ExportedStep.d.ts +7 -3
- package/dist/interface/export/index.d.mts +8 -4
- package/dist/interface/export/index.d.ts +8 -4
- package/dist/interface/index.d.mts +14 -11
- package/dist/interface/index.d.ts +14 -11
- package/dist/labels/BaseCanvasElementTestLabel.d.mts +9 -0
- package/dist/labels/BaseCanvasElementTestLabel.d.ts +9 -0
- package/dist/labels/BaseCanvasElementTestLabel.js +1860 -0
- package/dist/labels/BaseCanvasElementTestLabel.js.map +1 -0
- package/dist/labels/BaseCanvasElementTestLabel.mjs +1854 -0
- package/dist/labels/BaseCanvasElementTestLabel.mjs.map +1 -0
- package/dist/labels/EventsTestLabel.d.mts +30 -0
- package/dist/labels/EventsTestLabel.d.ts +30 -0
- package/dist/labels/EventsTestLabel.js +2600 -0
- package/dist/labels/EventsTestLabel.js.map +1 -0
- package/dist/labels/EventsTestLabel.mjs +2594 -0
- package/dist/labels/EventsTestLabel.mjs.map +1 -0
- package/dist/labels/MarkdownTest.d.mts +9 -0
- package/dist/labels/MarkdownTest.d.ts +9 -0
- package/dist/labels/MarkdownTest.js +2686 -0
- package/dist/labels/MarkdownTest.js.map +1 -0
- package/dist/labels/MarkdownTest.mjs +2680 -0
- package/dist/labels/MarkdownTest.mjs.map +1 -0
- package/dist/labels/ShowImageTest.d.mts +9 -0
- package/dist/labels/ShowImageTest.d.ts +9 -0
- package/dist/labels/ShowImageTest.js +3087 -0
- package/dist/labels/ShowImageTest.js.map +1 -0
- package/dist/labels/ShowImageTest.mjs +3081 -0
- package/dist/labels/ShowImageTest.mjs.map +1 -0
- package/dist/labels/StartLabel.d.mts +10 -0
- package/dist/labels/StartLabel.d.ts +10 -0
- package/dist/labels/StartLabel.js +3199 -0
- package/dist/labels/StartLabel.js.map +1 -0
- package/dist/labels/StartLabel.mjs +3192 -0
- package/dist/labels/StartLabel.mjs.map +1 -0
- package/dist/labels/TestConstant.d.mts +15 -0
- package/dist/labels/TestConstant.d.ts +15 -0
- package/dist/labels/TestConstant.js +1840 -0
- package/dist/labels/TestConstant.js.map +1 -0
- package/dist/labels/TestConstant.mjs +1826 -0
- package/dist/labels/TestConstant.mjs.map +1 -0
- package/dist/labels/TickerTestLabel.d.mts +9 -0
- package/dist/labels/TickerTestLabel.d.ts +9 -0
- package/dist/labels/TickerTestLabel.js +2605 -0
- package/dist/labels/TickerTestLabel.js.map +1 -0
- package/dist/labels/TickerTestLabel.mjs +2599 -0
- package/dist/labels/TickerTestLabel.mjs.map +1 -0
- package/dist/labels/TintingTestLabel.d.mts +19 -0
- package/dist/labels/TintingTestLabel.d.ts +19 -0
- package/dist/labels/TintingTestLabel.js +1786 -0
- package/dist/labels/TintingTestLabel.js.map +1 -0
- package/dist/labels/TintingTestLabel.mjs +1780 -0
- package/dist/labels/TintingTestLabel.mjs.map +1 -0
- package/dist/labels/index.d.mts +10 -0
- package/dist/labels/index.d.ts +10 -0
- package/dist/labels/index.js +3199 -0
- package/dist/labels/index.js.map +1 -0
- package/dist/labels/index.mjs +3192 -0
- package/dist/labels/index.mjs.map +1 -0
- package/dist/managers/StepManager.d.mts +22 -22
- package/dist/managers/StepManager.d.ts +22 -22
- package/dist/managers/StepManager.js +502 -236
- package/dist/managers/StepManager.js.map +1 -1
- package/dist/managers/StepManager.mjs +502 -236
- package/dist/managers/StepManager.mjs.map +1 -1
- package/dist/managers/WindowManager.d.mts +38 -24
- package/dist/managers/WindowManager.d.ts +38 -24
- package/dist/managers/WindowManager.js +280 -118
- package/dist/managers/WindowManager.js.map +1 -1
- package/dist/managers/WindowManager.mjs +276 -118
- package/dist/managers/WindowManager.mjs.map +1 -1
- package/dist/managers/index.d.mts +15 -14
- package/dist/managers/index.d.ts +15 -14
- package/dist/managers/index.js +505 -237
- package/dist/managers/index.js.map +1 -1
- package/dist/managers/index.mjs +505 -237
- package/dist/managers/index.mjs.map +1 -1
- package/dist/types/CanvasEventNamesType.d.mts +1 -1
- package/dist/types/CanvasEventNamesType.d.ts +1 -1
- package/dist/types/ChoiceMenuOptionsType.d.mts +2 -2
- package/dist/types/ChoiceMenuOptionsType.d.ts +2 -2
- package/dist/types/HistoryChoiceMenuOption.d.mts +22 -0
- package/dist/types/HistoryChoiceMenuOption.d.ts +22 -0
- package/dist/types/HistoryChoiceMenuOption.js +4 -0
- package/dist/types/HistoryChoiceMenuOption.mjs +3 -0
- package/dist/types/PauseType.d.mts +8 -4
- package/dist/types/PauseType.d.ts +8 -4
- package/dist/types/PauseType.js +0 -11
- package/dist/types/PauseType.js.map +1 -1
- package/dist/types/PauseType.mjs +0 -9
- package/dist/types/PauseType.mjs.map +1 -1
- package/dist/types/RepeatType.d.mts +1 -2
- package/dist/types/RepeatType.d.ts +1 -2
- package/dist/types/RepeatType.js +0 -4
- package/dist/types/RepeatType.js.map +1 -1
- package/dist/types/RepeatType.mjs +0 -3
- package/dist/types/RepeatType.mjs.map +1 -1
- package/dist/types/index.d.mts +5 -4
- package/dist/types/index.d.ts +5 -4
- package/dist/types/index.js +0 -15
- package/dist/types/index.js.map +1 -1
- package/dist/types/index.mjs +1 -13
- package/dist/types/index.mjs.map +1 -1
- package/dist/types/ticker/{TickerFadeAlphaProps.d.mts → FadeAlphaTickerProps.d.mts} +9 -5
- package/dist/types/ticker/{TickerFadeAlphaProps.d.ts → FadeAlphaTickerProps.d.ts} +9 -5
- package/dist/types/ticker/FadeAlphaTickerProps.js +4 -0
- package/dist/types/ticker/FadeAlphaTickerProps.js.map +1 -0
- package/dist/types/ticker/FadeAlphaTickerProps.mjs +3 -0
- package/dist/types/ticker/FadeAlphaTickerProps.mjs.map +1 -0
- package/dist/types/ticker/MoveTickerProps.d.mts +35 -0
- package/dist/types/ticker/MoveTickerProps.d.ts +35 -0
- package/dist/types/ticker/{TickerRotateProps.js → MoveTickerProps.js} +1 -1
- package/dist/types/ticker/MoveTickerProps.js.map +1 -0
- package/dist/types/ticker/MoveTickerProps.mjs +3 -0
- package/dist/types/ticker/MoveTickerProps.mjs.map +1 -0
- package/dist/types/ticker/{TickerRotateProps.d.mts → RotateTickerProps.d.mts} +11 -5
- package/dist/types/ticker/{TickerRotateProps.d.ts → RotateTickerProps.d.ts} +11 -5
- package/dist/types/ticker/RotateTickerProps.js +4 -0
- package/dist/types/ticker/RotateTickerProps.js.map +1 -0
- package/dist/types/ticker/RotateTickerProps.mjs +3 -0
- package/dist/types/ticker/RotateTickerProps.mjs.map +1 -0
- package/dist/types/ticker/TagToRemoveAfterType.d.mts +4 -0
- package/dist/types/ticker/TagToRemoveAfterType.d.ts +4 -0
- package/dist/types/ticker/TagToRemoveAfterType.js +8 -0
- package/dist/types/ticker/TagToRemoveAfterType.js.map +1 -0
- package/dist/types/ticker/TagToRemoveAfterType.mjs +6 -0
- package/dist/types/ticker/TagToRemoveAfterType.mjs.map +1 -0
- package/dist/types/ticker/ZoomTickerProps.d.mts +45 -0
- package/dist/types/ticker/ZoomTickerProps.d.ts +45 -0
- package/dist/types/ticker/ZoomTickerProps.js +4 -0
- package/dist/types/ticker/ZoomTickerProps.js.map +1 -0
- package/dist/types/ticker/ZoomTickerProps.mjs +3 -0
- package/dist/types/ticker/ZoomTickerProps.mjs.map +1 -0
- package/dist/types/ticker/index.d.mts +4 -2
- package/dist/types/ticker/index.d.ts +4 -2
- package/package.json +7 -7
- package/dist/classes/ticker/TickerFadeAlpha.d.mts +0 -31
- package/dist/classes/ticker/TickerFadeAlpha.d.ts +0 -31
- package/dist/classes/ticker/TickerFadeAlpha.js.map +0 -1
- package/dist/classes/ticker/TickerFadeAlpha.mjs.map +0 -1
- package/dist/classes/ticker/TickerMove.d.mts +0 -29
- package/dist/classes/ticker/TickerMove.d.ts +0 -29
- package/dist/classes/ticker/TickerMove.js.map +0 -1
- package/dist/classes/ticker/TickerMove.mjs.map +0 -1
- package/dist/classes/ticker/TickerRotate.d.mts +0 -30
- package/dist/classes/ticker/TickerRotate.d.ts +0 -30
- package/dist/classes/ticker/TickerRotate.js.map +0 -1
- package/dist/classes/ticker/TickerRotate.mjs.map +0 -1
- package/dist/functions/ErrorUtility.d.mts +0 -24
- package/dist/functions/ErrorUtility.d.ts +0 -24
- package/dist/functions/ErrorUtility.js +0 -261
- package/dist/functions/ErrorUtility.js.map +0 -1
- package/dist/functions/ErrorUtility.mjs +0 -258
- package/dist/functions/ErrorUtility.mjs.map +0 -1
- package/dist/interface/IClassWithArgsHistory.js +0 -4
- package/dist/interface/IClassWithArgsHistory.mjs +0 -3
- package/dist/types/ticker/TickerFadeAlphaProps.js +0 -4
- package/dist/types/ticker/TickerFadeAlphaProps.mjs +0 -3
- package/dist/types/ticker/TickerMoveProps.d.mts +0 -26
- package/dist/types/ticker/TickerMoveProps.d.ts +0 -26
- package/dist/types/ticker/TickerMoveProps.mjs +0 -3
- package/dist/types/ticker/TickerRotateProps.mjs +0 -3
- /package/dist/interface/{IClassWithArgsHistory.js.map → CharacterBaseModelProps.js.map} +0 -0
- /package/dist/interface/{IClassWithArgsHistory.mjs.map → CharacterBaseModelProps.mjs.map} +0 -0
- /package/dist/{types/ticker/TickerFadeAlphaProps.js.map → interface/TickerHistory.js.map} +0 -0
- /package/dist/{types/ticker/TickerFadeAlphaProps.mjs.map → interface/TickerHistory.mjs.map} +0 -0
- /package/dist/{types/ticker/TickerMoveProps.js.map → interface/TickerTimeoutHistory.js.map} +0 -0
- /package/dist/{types/ticker/TickerMoveProps.mjs.map → interface/TickerTimeoutHistory.mjs.map} +0 -0
- /package/dist/types/{ticker/TickerRotateProps.js.map → HistoryChoiceMenuOption.js.map} +0 -0
- /package/dist/types/{ticker/TickerRotateProps.mjs.map → HistoryChoiceMenuOption.mjs.map} +0 -0
|
@@ -7,7 +7,7 @@ interface ITicker<TArgs extends TickerArgsType> {
|
|
|
7
7
|
*/
|
|
8
8
|
args: TArgs;
|
|
9
9
|
/**
|
|
10
|
-
* Duration in
|
|
10
|
+
* Duration in seconds to run the ticker
|
|
11
11
|
*/
|
|
12
12
|
duration?: number;
|
|
13
13
|
/**
|
|
@@ -18,23 +18,27 @@ interface ITicker<TArgs extends TickerArgsType> {
|
|
|
18
18
|
|
|
19
19
|
type TickerArgsType = {
|
|
20
20
|
[id: string]: StorageElementType;
|
|
21
|
-
}
|
|
21
|
+
} | {
|
|
22
|
+
tagToRemoveAfter?: string[] | string;
|
|
23
|
+
[id: string]: StorageElementType;
|
|
24
|
+
}[];
|
|
22
25
|
/**
|
|
23
26
|
* A class is used to create a ticker element to add into a Pixi Application.
|
|
24
27
|
* You can use GameWindowManager.addTicker() to add this element into the application.
|
|
25
28
|
* This class should be extended and the fn method should be overridden.
|
|
26
|
-
* You must use the tickerDecorator to register the ticker in the game.
|
|
29
|
+
* You must use the {@link tickerDecorator} to register the ticker in the game.
|
|
27
30
|
* In Ren'Py is a transform.
|
|
28
31
|
* @example
|
|
29
32
|
* ```typescript
|
|
30
|
-
* \@tickerDecorator() // this is equivalent to tickerDecorator("
|
|
31
|
-
* export class
|
|
33
|
+
* \@tickerDecorator() // this is equivalent to tickerDecorator("RotateTicker")
|
|
34
|
+
* export class RotateTicker extends TickerBase<{ speed?: number }> {
|
|
32
35
|
* override fn(
|
|
33
|
-
* t: Ticker,
|
|
34
|
-
* args: {
|
|
36
|
+
* t: Ticker, // the ticker that is calling this method
|
|
37
|
+
* args: { // the arguments that you passed when you added the ticker
|
|
35
38
|
* speed?: number,
|
|
36
39
|
* },
|
|
37
|
-
* tags: string[]
|
|
40
|
+
* tags: string[], // the tags of the canvas elements that are connected to this ticker
|
|
41
|
+
* tickerId: string, // the id of the ticker. You can use this to get the ticker from the GameWindowManager.currentTickers
|
|
38
42
|
* ): void {
|
|
39
43
|
* let speed = args.speed === undefined ? 0.1 : args.speed
|
|
40
44
|
* tags.forEach((tag) => {
|
|
@@ -53,8 +57,8 @@ type TickerArgsType = {
|
|
|
53
57
|
declare class TickerBase<TArgs extends TickerArgsType> implements ITicker<TArgs> {
|
|
54
58
|
/**
|
|
55
59
|
* @param args The arguments that you want to pass to the ticker.
|
|
56
|
-
* @param duration The duration of the ticker. If is undefined, the
|
|
57
|
-
* @param priority The priority of the ticker.
|
|
60
|
+
* @param duration The duration of the ticker in seconds. If is undefined, the step will end only when the animation is finished (if the animation doesn't have a goal to reach then it won't finish). @default undefined
|
|
61
|
+
* @param priority The priority of the ticker. @default UPDATE_PRIORITY.NORMAL
|
|
58
62
|
*/
|
|
59
63
|
constructor(args: TArgs, duration?: number, priority?: UPDATE_PRIORITY);
|
|
60
64
|
args: TArgs;
|
|
@@ -63,11 +67,12 @@ declare class TickerBase<TArgs extends TickerArgsType> implements ITicker<TArgs>
|
|
|
63
67
|
/**
|
|
64
68
|
* The method that will be called every frame.
|
|
65
69
|
* This method should be overridden and you can use GameWindowManager.addCanvasElement() to get the canvas element of the canvas, and edit them.
|
|
66
|
-
* @param
|
|
67
|
-
* @param
|
|
68
|
-
* @param
|
|
70
|
+
* @param _ticker The ticker that is calling this method
|
|
71
|
+
* @param _args The arguments that you passed when you added the ticker
|
|
72
|
+
* @param _tags The tags of the canvas elements that are connected to this ticker
|
|
73
|
+
* @param _tickerId The id of the ticker. You can use this to get the ticker from the {@link GameWindowManager.currentTickers}
|
|
69
74
|
*/
|
|
70
|
-
fn(
|
|
75
|
+
fn(_ticker: Ticker, _args: TArgs, _tags: string | string[], _tickerId: string): void;
|
|
71
76
|
}
|
|
72
77
|
|
|
73
78
|
export { type ITicker as I, TickerBase as T, type TickerArgsType as a };
|
|
@@ -7,7 +7,7 @@ interface ITicker<TArgs extends TickerArgsType> {
|
|
|
7
7
|
*/
|
|
8
8
|
args: TArgs;
|
|
9
9
|
/**
|
|
10
|
-
* Duration in
|
|
10
|
+
* Duration in seconds to run the ticker
|
|
11
11
|
*/
|
|
12
12
|
duration?: number;
|
|
13
13
|
/**
|
|
@@ -18,23 +18,27 @@ interface ITicker<TArgs extends TickerArgsType> {
|
|
|
18
18
|
|
|
19
19
|
type TickerArgsType = {
|
|
20
20
|
[id: string]: StorageElementType;
|
|
21
|
-
}
|
|
21
|
+
} | {
|
|
22
|
+
tagToRemoveAfter?: string[] | string;
|
|
23
|
+
[id: string]: StorageElementType;
|
|
24
|
+
}[];
|
|
22
25
|
/**
|
|
23
26
|
* A class is used to create a ticker element to add into a Pixi Application.
|
|
24
27
|
* You can use GameWindowManager.addTicker() to add this element into the application.
|
|
25
28
|
* This class should be extended and the fn method should be overridden.
|
|
26
|
-
* You must use the tickerDecorator to register the ticker in the game.
|
|
29
|
+
* You must use the {@link tickerDecorator} to register the ticker in the game.
|
|
27
30
|
* In Ren'Py is a transform.
|
|
28
31
|
* @example
|
|
29
32
|
* ```typescript
|
|
30
|
-
* \@tickerDecorator() // this is equivalent to tickerDecorator("
|
|
31
|
-
* export class
|
|
33
|
+
* \@tickerDecorator() // this is equivalent to tickerDecorator("RotateTicker")
|
|
34
|
+
* export class RotateTicker extends TickerBase<{ speed?: number }> {
|
|
32
35
|
* override fn(
|
|
33
|
-
* t: Ticker,
|
|
34
|
-
* args: {
|
|
36
|
+
* t: Ticker, // the ticker that is calling this method
|
|
37
|
+
* args: { // the arguments that you passed when you added the ticker
|
|
35
38
|
* speed?: number,
|
|
36
39
|
* },
|
|
37
|
-
* tags: string[]
|
|
40
|
+
* tags: string[], // the tags of the canvas elements that are connected to this ticker
|
|
41
|
+
* tickerId: string, // the id of the ticker. You can use this to get the ticker from the GameWindowManager.currentTickers
|
|
38
42
|
* ): void {
|
|
39
43
|
* let speed = args.speed === undefined ? 0.1 : args.speed
|
|
40
44
|
* tags.forEach((tag) => {
|
|
@@ -53,8 +57,8 @@ type TickerArgsType = {
|
|
|
53
57
|
declare class TickerBase<TArgs extends TickerArgsType> implements ITicker<TArgs> {
|
|
54
58
|
/**
|
|
55
59
|
* @param args The arguments that you want to pass to the ticker.
|
|
56
|
-
* @param duration The duration of the ticker. If is undefined, the
|
|
57
|
-
* @param priority The priority of the ticker.
|
|
60
|
+
* @param duration The duration of the ticker in seconds. If is undefined, the step will end only when the animation is finished (if the animation doesn't have a goal to reach then it won't finish). @default undefined
|
|
61
|
+
* @param priority The priority of the ticker. @default UPDATE_PRIORITY.NORMAL
|
|
58
62
|
*/
|
|
59
63
|
constructor(args: TArgs, duration?: number, priority?: UPDATE_PRIORITY);
|
|
60
64
|
args: TArgs;
|
|
@@ -63,11 +67,12 @@ declare class TickerBase<TArgs extends TickerArgsType> implements ITicker<TArgs>
|
|
|
63
67
|
/**
|
|
64
68
|
* The method that will be called every frame.
|
|
65
69
|
* This method should be overridden and you can use GameWindowManager.addCanvasElement() to get the canvas element of the canvas, and edit them.
|
|
66
|
-
* @param
|
|
67
|
-
* @param
|
|
68
|
-
* @param
|
|
70
|
+
* @param _ticker The ticker that is calling this method
|
|
71
|
+
* @param _args The arguments that you passed when you added the ticker
|
|
72
|
+
* @param _tags The tags of the canvas elements that are connected to this ticker
|
|
73
|
+
* @param _tickerId The id of the ticker. You can use this to get the ticker from the {@link GameWindowManager.currentTickers}
|
|
69
74
|
*/
|
|
70
|
-
fn(
|
|
75
|
+
fn(_ticker: Ticker, _args: TArgs, _tags: string | string[], _tickerId: string): void;
|
|
71
76
|
}
|
|
72
77
|
|
|
73
78
|
export { type ITicker as I, TickerBase as T, type TickerArgsType as a };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import CanvasEventNamesType from '../types/CanvasEventNamesType.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* CanvasEvent is a class that is used to create a pixi event, and connect it to a canvas element, with on().
|
|
5
5
|
* This class should be extended and the fn method should be overridden.
|
|
6
|
-
* You must use the eventDecorator to register the event in the game.
|
|
6
|
+
* You must use the {@link eventDecorator} to register the event in the game.
|
|
7
7
|
* @example
|
|
8
8
|
* ```typescript
|
|
9
9
|
* \@eventDecorator() // this is equivalent to eventDecorator("EventTest")
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import CanvasEventNamesType from '../types/CanvasEventNamesType.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* CanvasEvent is a class that is used to create a pixi event, and connect it to a canvas element, with on().
|
|
5
5
|
* This class should be extended and the fn method should be overridden.
|
|
6
|
-
* You must use the eventDecorator to register the event in the game.
|
|
6
|
+
* You must use the {@link eventDecorator} to register the event in the game.
|
|
7
7
|
* @example
|
|
8
8
|
* ```typescript
|
|
9
9
|
* \@eventDecorator() // this is equivalent to eventDecorator("EventTest")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/classes/CanvasEvent.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"sources":["../../src/classes/CanvasEvent.ts"],"names":[],"mappings":";AAoBA,IAAqB,cAArB,MAAoC;AAAA,EAChC,GAAG,QAA8B,UAAa;AAAE,UAAM,IAAI,MAAM,0DAA0D;AAAA,EAAE;AAChI","sourcesContent":["import { eventDecorator } from \"../decorators\";\nimport { CanvasEventNamesType } from \"../types\";\n\n/**\n * CanvasEvent is a class that is used to create a pixi event, and connect it to a canvas element, with on().\n * This class should be extended and the fn method should be overridden.\n * You must use the {@link eventDecorator} to register the event in the game.\n * @example\n * ```typescript\n * \\@eventDecorator() // this is equivalent to eventDecorator(\"EventTest\")\n * export class EventTest extends CanvasEvent<CanvasSprite> {\n * override fn(event: CanvasEventNamesType, sprite: CanvasSprite): void {\n * if (event === 'pointerdown') {\n * sprite.scale.x *= 1.25;\n * sprite.scale.y *= 1.25;\n * }\n * }\n * }\n * ```\n */\nexport default class CanvasEvent<C> {\n fn(_event: CanvasEventNamesType, _element: C) { throw new Error(\"[Pixi'VN] The method CanvasEvent.fn() must be overridden\") }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/classes/CanvasEvent.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"sources":["../../src/classes/CanvasEvent.ts"],"names":[],"mappings":";AAoBA,IAAqB,cAArB,MAAoC;AAAA,EAChC,GAAG,QAA8B,UAAa;AAAE,UAAM,IAAI,MAAM,0DAA0D;AAAA,EAAE;AAChI","sourcesContent":["import { eventDecorator } from \"../decorators\";\nimport { CanvasEventNamesType } from \"../types\";\n\n/**\n * CanvasEvent is a class that is used to create a pixi event, and connect it to a canvas element, with on().\n * This class should be extended and the fn method should be overridden.\n * You must use the {@link eventDecorator} to register the event in the game.\n * @example\n * ```typescript\n * \\@eventDecorator() // this is equivalent to eventDecorator(\"EventTest\")\n * export class EventTest extends CanvasEvent<CanvasSprite> {\n * override fn(event: CanvasEventNamesType, sprite: CanvasSprite): void {\n * if (event === 'pointerdown') {\n * sprite.scale.x *= 1.25;\n * sprite.scale.y *= 1.25;\n * }\n * }\n * }\n * ```\n */\nexport default class CanvasEvent<C> {\n fn(_event: CanvasEventNamesType, _element: C) { throw new Error(\"[Pixi'VN] The method CanvasEvent.fn() must be overridden\") }\n}\n"]}
|
|
@@ -1,34 +1,10 @@
|
|
|
1
|
+
import CharacterBaseModelProps from '../interface/CharacterBaseModelProps.mjs';
|
|
1
2
|
import StoredClassModel from './StoredClassModel.mjs';
|
|
2
3
|
|
|
3
|
-
/**
|
|
4
|
-
* CharacterBaseModelProps is an interface that is used to create a character model.
|
|
5
|
-
*/
|
|
6
|
-
interface CharacterBaseModelProps {
|
|
7
|
-
/**
|
|
8
|
-
* The name of the character.
|
|
9
|
-
*/
|
|
10
|
-
name: string;
|
|
11
|
-
/**
|
|
12
|
-
* The surname of the character.
|
|
13
|
-
*/
|
|
14
|
-
surname?: string;
|
|
15
|
-
/**
|
|
16
|
-
* The age of the character.
|
|
17
|
-
*/
|
|
18
|
-
age?: number;
|
|
19
|
-
/**
|
|
20
|
-
* The icon of the character.
|
|
21
|
-
*/
|
|
22
|
-
icon?: string;
|
|
23
|
-
/**
|
|
24
|
-
* The color of the character.
|
|
25
|
-
*/
|
|
26
|
-
color?: string;
|
|
27
|
-
}
|
|
28
4
|
/**
|
|
29
5
|
* CharacterBaseModel is a class that is used to create a character model.
|
|
30
6
|
* I suggest you extend this class to create your own character models.
|
|
31
|
-
* You must use the saveCharacter function to save the character in the game.
|
|
7
|
+
* You must use the {@link saveCharacter} function to save the character in the game.
|
|
32
8
|
* @example
|
|
33
9
|
* ```typescript
|
|
34
10
|
* export const liam = new CharacterBaseModel('liam', {
|
|
@@ -87,4 +63,4 @@ declare class CharacterBaseModel extends StoredClassModel implements CharacterBa
|
|
|
87
63
|
get color(): string | undefined;
|
|
88
64
|
}
|
|
89
65
|
|
|
90
|
-
export {
|
|
66
|
+
export { CharacterBaseModel as default };
|
|
@@ -1,34 +1,10 @@
|
|
|
1
|
+
import CharacterBaseModelProps from '../interface/CharacterBaseModelProps.js';
|
|
1
2
|
import StoredClassModel from './StoredClassModel.js';
|
|
2
3
|
|
|
3
|
-
/**
|
|
4
|
-
* CharacterBaseModelProps is an interface that is used to create a character model.
|
|
5
|
-
*/
|
|
6
|
-
interface CharacterBaseModelProps {
|
|
7
|
-
/**
|
|
8
|
-
* The name of the character.
|
|
9
|
-
*/
|
|
10
|
-
name: string;
|
|
11
|
-
/**
|
|
12
|
-
* The surname of the character.
|
|
13
|
-
*/
|
|
14
|
-
surname?: string;
|
|
15
|
-
/**
|
|
16
|
-
* The age of the character.
|
|
17
|
-
*/
|
|
18
|
-
age?: number;
|
|
19
|
-
/**
|
|
20
|
-
* The icon of the character.
|
|
21
|
-
*/
|
|
22
|
-
icon?: string;
|
|
23
|
-
/**
|
|
24
|
-
* The color of the character.
|
|
25
|
-
*/
|
|
26
|
-
color?: string;
|
|
27
|
-
}
|
|
28
4
|
/**
|
|
29
5
|
* CharacterBaseModel is a class that is used to create a character model.
|
|
30
6
|
* I suggest you extend this class to create your own character models.
|
|
31
|
-
* You must use the saveCharacter function to save the character in the game.
|
|
7
|
+
* You must use the {@link saveCharacter} function to save the character in the game.
|
|
32
8
|
* @example
|
|
33
9
|
* ```typescript
|
|
34
10
|
* export const liam = new CharacterBaseModel('liam', {
|
|
@@ -87,4 +63,4 @@ declare class CharacterBaseModel extends StoredClassModel implements CharacterBa
|
|
|
87
63
|
get color(): string | undefined;
|
|
88
64
|
}
|
|
89
65
|
|
|
90
|
-
export {
|
|
66
|
+
export { CharacterBaseModel as default };
|