@drincs/pixi-vn 0.8.4 → 0.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -27
- package/dist/{chunk-T4KKYU4J.js → chunk-4KV6VMUV.js} +92 -6
- package/dist/{chunk-M6X6FHCH.js → chunk-5A543GJ4.js} +2 -2
- package/dist/{chunk-FYCYVQTG.js → chunk-A4NKPUL5.js} +7 -3
- package/dist/{chunk-2FSBBQFF.js → chunk-BHVKSBFZ.js} +2 -2
- package/dist/{chunk-3FJYYZOP.js → chunk-D3ZQSJKZ.js} +292 -33
- package/dist/{chunk-66F5CGHV.js → chunk-DPUSONJ3.js} +1 -1
- package/dist/{chunk-6SZOXEOR.js → chunk-FHNQBWIZ.js} +1 -1
- package/dist/{chunk-MKN3AKFV.js → chunk-FIQXZ3P3.js} +2 -2
- package/dist/{chunk-UWXYEVOE.js → chunk-FM5SFYXO.js} +1 -1
- package/dist/{chunk-WJ5SUJTD.js → chunk-GEWQS6GP.js} +65 -4
- package/dist/{chunk-ENMHDS5Q.js → chunk-GKLIT4GX.js} +2 -2
- package/dist/{chunk-7IWXRHUU.js → chunk-GNFWXAOE.js} +2 -2
- package/dist/{chunk-D3NHF5OS.js → chunk-PIYIZHZL.js} +1 -1
- package/dist/{chunk-DI77NC2O.js → chunk-SZWI2CBA.js} +3 -3
- package/dist/{chunk-CUYGFKNS.js → chunk-TNQKYUOG.js} +2 -2
- package/dist/classes/CharacterBaseModel.cjs +61 -27
- package/dist/classes/CharacterBaseModel.js +5 -5
- package/dist/classes/CharacterStoredClass.cjs +61 -27
- package/dist/classes/CharacterStoredClass.js +5 -5
- package/dist/classes/ChoiceMenuOption.cjs +60 -26
- package/dist/classes/ChoiceMenuOption.d.cts +1 -1
- package/dist/classes/ChoiceMenuOption.d.ts +1 -1
- package/dist/classes/ChoiceMenuOption.js +5 -5
- package/dist/classes/Sound.cjs +60 -26
- package/dist/classes/Sound.js +5 -5
- package/dist/classes/StoredClassModel.cjs +61 -27
- package/dist/classes/StoredClassModel.js +5 -5
- package/dist/classes/canvas/CanvasAVideo.cjs +60 -26
- package/dist/classes/canvas/CanvasAVideo.d.cts +5 -8
- package/dist/classes/canvas/CanvasAVideo.d.ts +5 -8
- package/dist/classes/canvas/CanvasAVideo.js +5 -5
- package/dist/classes/canvas/CanvasBase.d.cts +4 -2
- package/dist/classes/canvas/CanvasBase.d.ts +4 -2
- package/dist/classes/canvas/CanvasContainer.cjs +60 -26
- package/dist/classes/canvas/CanvasContainer.d.cts +7 -6
- package/dist/classes/canvas/CanvasContainer.d.ts +7 -6
- package/dist/classes/canvas/CanvasContainer.js +5 -5
- package/dist/classes/canvas/CanvasImage.cjs +60 -26
- package/dist/classes/canvas/CanvasImage.d.cts +6 -8
- package/dist/classes/canvas/CanvasImage.d.ts +6 -8
- package/dist/classes/canvas/CanvasImage.js +5 -5
- package/dist/classes/canvas/CanvasSprite.cjs +60 -26
- package/dist/classes/canvas/CanvasSprite.d.cts +7 -8
- package/dist/classes/canvas/CanvasSprite.d.ts +7 -8
- package/dist/classes/canvas/CanvasSprite.js +5 -5
- package/dist/classes/canvas/CanvasText.cjs +60 -26
- package/dist/classes/canvas/CanvasText.d.cts +7 -7
- package/dist/classes/canvas/CanvasText.d.ts +7 -7
- package/dist/classes/canvas/CanvasText.js +5 -5
- package/dist/classes/index.cjs +61 -27
- package/dist/classes/index.d.cts +3 -8
- package/dist/classes/index.d.ts +3 -8
- package/dist/classes/index.js +5 -5
- package/dist/classes/ticker/FadeAlphaTicker.cjs +60 -26
- package/dist/classes/ticker/FadeAlphaTicker.d.cts +3 -2
- package/dist/classes/ticker/FadeAlphaTicker.d.ts +3 -2
- package/dist/classes/ticker/FadeAlphaTicker.js +5 -5
- package/dist/classes/ticker/MoveTicker.cjs +60 -26
- package/dist/classes/ticker/MoveTicker.d.cts +3 -2
- package/dist/classes/ticker/MoveTicker.d.ts +3 -2
- package/dist/classes/ticker/MoveTicker.js +5 -5
- package/dist/classes/ticker/RotateTicker.cjs +60 -26
- package/dist/classes/ticker/RotateTicker.d.cts +3 -2
- package/dist/classes/ticker/RotateTicker.d.ts +3 -2
- package/dist/classes/ticker/RotateTicker.js +5 -5
- package/dist/classes/ticker/TickerBase.cjs +60 -26
- package/dist/classes/ticker/TickerBase.d.cts +70 -4
- package/dist/classes/ticker/TickerBase.d.ts +70 -4
- package/dist/classes/ticker/TickerBase.js +5 -5
- package/dist/classes/ticker/ZoomTicker.cjs +60 -26
- package/dist/classes/ticker/ZoomTicker.d.cts +4 -3
- package/dist/classes/ticker/ZoomTicker.d.ts +4 -3
- package/dist/classes/ticker/ZoomTicker.js +5 -5
- package/dist/classes/ticker/index.cjs +60 -26
- package/dist/classes/ticker/index.d.cts +3 -2
- package/dist/classes/ticker/index.d.ts +3 -2
- package/dist/classes/ticker/index.js +5 -5
- package/dist/constants.cjs +11 -6
- package/dist/constants.d.cts +7 -2
- package/dist/constants.d.ts +7 -2
- package/dist/constants.js +5 -3
- package/dist/decorators/canvas-element-decorator.cjs +60 -26
- package/dist/decorators/canvas-element-decorator.d.cts +3 -1
- package/dist/decorators/canvas-element-decorator.d.ts +3 -1
- package/dist/decorators/canvas-element-decorator.js +5 -5
- package/dist/decorators/event-decorator.d.cts +2 -1
- package/dist/decorators/event-decorator.d.ts +2 -1
- package/dist/decorators/index.cjs +60 -26
- package/dist/decorators/index.d.cts +6 -4
- package/dist/decorators/index.d.ts +6 -4
- package/dist/decorators/index.js +5 -5
- package/dist/decorators/label-decorator.cjs +60 -26
- package/dist/decorators/label-decorator.js +5 -5
- package/dist/decorators/ticker-decorator.d.cts +4 -3
- package/dist/decorators/ticker-decorator.d.ts +4 -3
- package/dist/functions/canvas/canvas-effect.cjs +61821 -0
- package/dist/functions/canvas/canvas-effect.d.cts +15 -0
- package/dist/functions/canvas/canvas-effect.d.ts +15 -0
- package/dist/functions/canvas/canvas-effect.js +40 -0
- package/dist/functions/canvas/canvas-memory-utility.cjs +60 -26
- package/dist/functions/canvas/canvas-memory-utility.d.cts +5 -3
- package/dist/functions/canvas/canvas-memory-utility.d.ts +5 -3
- package/dist/functions/canvas/canvas-memory-utility.js +5 -5
- package/dist/functions/canvas/canvas-transition.cjs +586 -408
- package/dist/functions/canvas/canvas-transition.d.cts +43 -20
- package/dist/functions/canvas/canvas-transition.d.ts +43 -20
- package/dist/functions/canvas/canvas-transition.js +9 -5
- package/dist/functions/canvas/canvas-utility.cjs +60 -26
- package/dist/functions/canvas/canvas-utility.d.cts +2 -2
- package/dist/functions/canvas/canvas-utility.d.ts +2 -2
- package/dist/functions/canvas/canvas-utility.js +5 -5
- package/dist/functions/canvas/image-utility.cjs +60 -26
- package/dist/functions/canvas/image-utility.d.cts +2 -4
- package/dist/functions/canvas/image-utility.d.ts +2 -4
- package/dist/functions/canvas/image-utility.js +5 -5
- package/dist/functions/canvas/video-utility.cjs +60 -26
- package/dist/functions/canvas/video-utility.d.cts +3 -6
- package/dist/functions/canvas/video-utility.d.ts +3 -6
- package/dist/functions/canvas/video-utility.js +5 -5
- package/dist/functions/dialogue-utility.cjs +60 -26
- package/dist/functions/dialogue-utility.d.cts +1 -1
- package/dist/functions/dialogue-utility.d.ts +1 -1
- package/dist/functions/dialogue-utility.js +5 -5
- package/dist/functions/diff-utility.cjs +1 -1
- package/dist/functions/diff-utility.js +2 -2
- package/dist/functions/export-utility.cjs +1 -1
- package/dist/functions/export-utility.js +1 -1
- package/dist/functions/flags-utility.cjs +60 -26
- package/dist/functions/flags-utility.js +5 -5
- package/dist/functions/game-utility.cjs +60 -26
- package/dist/functions/game-utility.js +5 -5
- package/dist/functions/index.cjs +449 -183
- package/dist/functions/index.d.cts +17 -18
- package/dist/functions/index.d.ts +17 -18
- package/dist/functions/index.js +11 -5
- package/dist/functions/saves-utility.cjs +64 -28
- package/dist/functions/saves-utility.d.cts +13 -11
- package/dist/functions/saves-utility.d.ts +13 -11
- package/dist/functions/saves-utility.js +5 -5
- package/dist/functions/ticker-utility.d.cts +1 -1
- package/dist/functions/ticker-utility.d.ts +1 -1
- package/dist/index.cjs +363 -40
- package/dist/index.d.cts +16 -17
- package/dist/index.d.ts +16 -17
- package/dist/index.js +24 -18
- package/dist/interface/{IOpenedLabel.cjs → HistoryStep.cjs} +3 -3
- package/dist/interface/{IHistoryStep.d.cts → HistoryStep.d.cts} +12 -10
- package/dist/interface/{IHistoryStep.d.ts → HistoryStep.d.ts} +12 -10
- package/dist/interface/{IHistoryStep.cjs → OpenedLabel.cjs} +3 -3
- package/dist/interface/{IOpenedLabel.d.cts → OpenedLabel.d.cts} +2 -2
- package/dist/interface/{IOpenedLabel.d.ts → OpenedLabel.d.ts} +2 -2
- package/dist/interface/{ISaveData.cjs → SaveData.cjs} +3 -3
- package/dist/interface/{ISaveData.d.cts → SaveData.d.cts} +11 -9
- package/dist/interface/{ISaveData.d.ts → SaveData.d.ts} +11 -9
- package/dist/interface/{ITicker.cjs → Ticker.cjs} +3 -3
- package/dist/interface/Ticker.d.cts +24 -0
- package/dist/interface/Ticker.d.ts +24 -0
- package/dist/interface/TickerArgs.cjs +18 -0
- package/dist/interface/TickerArgs.d.cts +5 -0
- package/dist/interface/TickerArgs.d.ts +5 -0
- package/dist/interface/TickerHistory.d.cts +3 -4
- package/dist/interface/TickerHistory.d.ts +3 -4
- package/dist/interface/TickerProgrationType.d.cts +7 -6
- package/dist/interface/TickerProgrationType.d.ts +7 -6
- package/dist/interface/TickersSteps.cjs +18 -0
- package/dist/interface/{ITickersSteps.d.cts → TickersSteps.d.cts} +5 -7
- package/dist/interface/{ITickersSteps.d.ts → TickersSteps.d.ts} +5 -7
- package/dist/interface/canvas/TextureMemory.cjs +18 -0
- package/dist/interface/canvas/TextureMemory.d.cts +8 -0
- package/dist/interface/canvas/TextureMemory.d.ts +8 -0
- package/dist/interface/canvas/canvas-memory.cjs +18 -0
- package/dist/interface/canvas/canvas-memory.d.cts +51 -0
- package/dist/interface/canvas/canvas-memory.d.ts +51 -0
- package/dist/interface/canvas/effect-props.cjs +18 -0
- package/dist/interface/canvas/effect-props.d.cts +36 -0
- package/dist/interface/canvas/effect-props.d.ts +36 -0
- package/dist/interface/canvas/transition-props.cjs +18 -0
- package/dist/interface/canvas/transition-props.d.cts +38 -0
- package/dist/interface/canvas/transition-props.d.ts +38 -0
- package/dist/interface/export/ExportedCanvas.d.cts +8 -6
- package/dist/interface/export/ExportedCanvas.d.ts +8 -6
- package/dist/interface/export/ExportedStep.d.cts +12 -10
- package/dist/interface/export/ExportedStep.d.ts +12 -10
- package/dist/interface/index.d.cts +13 -16
- package/dist/interface/index.d.ts +13 -16
- package/dist/labels/BaseCanvasElementTestLabel.cjs +61 -27
- package/dist/labels/BaseCanvasElementTestLabel.js +7 -7
- package/dist/labels/CanvasEventsTestLabel.cjs +61 -27
- package/dist/labels/CanvasEventsTestLabel.d.cts +2 -3
- package/dist/labels/CanvasEventsTestLabel.d.ts +2 -3
- package/dist/labels/CanvasEventsTestLabel.js +7 -7
- package/dist/labels/CustomTickerCanvasElementTestLabel.cjs +1692 -28
- package/dist/labels/CustomTickerCanvasElementTestLabel.d.cts +3 -2
- package/dist/labels/CustomTickerCanvasElementTestLabel.d.ts +3 -2
- package/dist/labels/CustomTickerCanvasElementTestLabel.js +17 -7
- package/dist/labels/ImagesAnimationsTestLabel.cjs +349 -36
- package/dist/labels/ImagesAnimationsTestLabel.js +7 -7
- package/dist/labels/InputTestLabel.cjs +61 -27
- package/dist/labels/InputTestLabel.js +7 -7
- package/dist/labels/MarkdownTest.cjs +61 -27
- package/dist/labels/MarkdownTest.js +7 -7
- package/dist/labels/SoundTestLabel.cjs +61 -27
- package/dist/labels/SoundTestLabel.js +7 -7
- package/dist/labels/StartLabel.cjs +359 -39
- package/dist/labels/StartLabel.js +17 -16
- package/dist/labels/StepLabelTest.cjs +61 -27
- package/dist/labels/StepLabelTest.js +7 -7
- package/dist/labels/TestConstant.cjs +61 -27
- package/dist/labels/TestConstant.js +6 -6
- package/dist/labels/VideoTestLabel.cjs +66 -29
- package/dist/labels/VideoTestLabel.js +7 -7
- package/dist/labels/index.cjs +359 -39
- package/dist/labels/index.js +17 -17
- package/dist/managers/CanvasManager.cjs +60 -26
- package/dist/managers/CanvasManager.d.cts +21 -11
- package/dist/managers/CanvasManager.d.ts +21 -11
- package/dist/managers/CanvasManager.js +5 -5
- package/dist/managers/CanvasManagerStatic.d.cts +7 -6
- package/dist/managers/CanvasManagerStatic.d.ts +7 -6
- package/dist/managers/NarrationManager.cjs +60 -26
- package/dist/managers/NarrationManager.d.cts +10 -8
- package/dist/managers/NarrationManager.d.ts +10 -8
- package/dist/managers/NarrationManager.js +5 -5
- package/dist/managers/NarrationManagerStatic.cjs +60 -26
- package/dist/managers/NarrationManagerStatic.d.cts +16 -14
- package/dist/managers/NarrationManagerStatic.d.ts +16 -14
- package/dist/managers/NarrationManagerStatic.js +5 -5
- package/dist/managers/SoundManager.cjs +60 -26
- package/dist/managers/SoundManager.js +5 -5
- package/dist/managers/StorageManager.cjs +60 -26
- package/dist/managers/StorageManager.js +5 -5
- package/dist/managers/StorageManagerStatic.cjs +1 -1
- package/dist/managers/StorageManagerStatic.js +2 -2
- package/dist/managers/index.cjs +60 -26
- package/dist/managers/index.d.cts +12 -8
- package/dist/managers/index.d.ts +12 -8
- package/dist/managers/index.js +5 -5
- package/dist/types/ChoiceMenuOptionsType.d.cts +1 -1
- package/dist/types/ChoiceMenuOptionsType.d.ts +1 -1
- package/dist/types/ticker/MoveTickerProps.d.cts +8 -2
- package/dist/types/ticker/MoveTickerProps.d.ts +8 -2
- package/dist/types/ticker/RotateTickerProps.d.cts +1 -1
- package/dist/types/ticker/RotateTickerProps.d.ts +1 -1
- package/dist/types/ticker/ZoomTickerProps.d.cts +1 -1
- package/dist/types/ticker/ZoomTickerProps.d.ts +1 -1
- package/package.json +4 -4
- package/dist/TickerBase-DbIg7gDS.d.ts +0 -94
- package/dist/TickerBase-eU4Hvvy0.d.cts +0 -94
- package/dist/chunk-II324FA5.js +0 -101
- package/dist/interface/ITicker.d.cts +0 -4
- package/dist/interface/ITicker.d.ts +0 -4
- package/dist/interface/ITickersSteps.cjs +0 -18
- package/dist/interface/canvas/ICanvasBaseMemory.cjs +0 -18
- package/dist/interface/canvas/ICanvasBaseMemory.d.cts +0 -8
- package/dist/interface/canvas/ICanvasBaseMemory.d.ts +0 -8
- package/dist/interface/canvas/ICanvasContainerMemory.cjs +0 -18
- package/dist/interface/canvas/ICanvasContainerMemory.d.cts +0 -11
- package/dist/interface/canvas/ICanvasContainerMemory.d.ts +0 -11
- package/dist/interface/canvas/ICanvasImageMemory.cjs +0 -18
- package/dist/interface/canvas/ICanvasImageMemory.d.cts +0 -14
- package/dist/interface/canvas/ICanvasImageMemory.d.ts +0 -14
- package/dist/interface/canvas/ICanvasSpriteMemory.cjs +0 -18
- package/dist/interface/canvas/ICanvasSpriteMemory.d.cts +0 -18
- package/dist/interface/canvas/ICanvasSpriteMemory.d.ts +0 -18
- package/dist/interface/canvas/ICanvasTextTextMemory.cjs +0 -18
- package/dist/interface/canvas/ICanvasTextTextMemory.d.cts +0 -14
- package/dist/interface/canvas/ICanvasTextTextMemory.d.ts +0 -14
- package/dist/interface/canvas/ICanvasTextTextMemory.js +0 -0
- package/dist/interface/canvas/ICanvasVideoMemory.cjs +0 -18
- package/dist/interface/canvas/ICanvasVideoMemory.d.cts +0 -17
- package/dist/interface/canvas/ICanvasVideoMemory.d.ts +0 -17
- package/dist/interface/canvas/ICanvasVideoMemory.js +0 -0
- package/dist/interface/canvas/ITextureMemory.cjs +0 -18
- package/dist/interface/canvas/ITextureMemory.d.cts +0 -8
- package/dist/interface/canvas/ITextureMemory.d.ts +0 -8
- package/dist/interface/canvas/ITextureMemory.js +0 -0
- package/dist/interface/canvas/ITransitionProps.cjs +0 -18
- package/dist/interface/canvas/ITransitionProps.d.cts +0 -22
- package/dist/interface/canvas/ITransitionProps.d.ts +0 -22
- package/dist/interface/canvas/ITransitionProps.js +0 -0
- /package/dist/{chunk-JQ2KK52M.js → interface/HistoryStep.js} +0 -0
- /package/dist/interface/{IHistoryStep.js → OpenedLabel.js} +0 -0
- /package/dist/interface/{IOpenedLabel.js → SaveData.js} +0 -0
- /package/dist/interface/{ISaveData.js → Ticker.js} +0 -0
- /package/dist/interface/{ITicker.js → TickerArgs.js} +0 -0
- /package/dist/interface/{ITickersSteps.js → TickersSteps.js} +0 -0
- /package/dist/interface/canvas/{ICanvasBaseMemory.js → TextureMemory.js} +0 -0
- /package/dist/interface/canvas/{ICanvasContainerMemory.js → canvas-memory.js} +0 -0
- /package/dist/interface/canvas/{ICanvasImageMemory.js → effect-props.js} +0 -0
- /package/dist/interface/canvas/{ICanvasSpriteMemory.js → transition-props.js} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Assets } from 'pixi.js';
|
|
1
|
+
export { Assets, Texture, TextureSourceLike, Ticker as TickerValue, UPDATE_PRIORITY } from 'pixi.js';
|
|
2
2
|
export { default as CanvasVideo } from './classes/canvas/CanvasAVideo.cjs';
|
|
3
3
|
export { default as CanvasBase } from './classes/canvas/CanvasBase.cjs';
|
|
4
4
|
export { default as CanvasContainer } from './classes/canvas/CanvasContainer.cjs';
|
|
@@ -17,15 +17,16 @@ export { default as StoredClassModel } from './classes/StoredClassModel.cjs';
|
|
|
17
17
|
export { default as FadeAlphaTicker } from './classes/ticker/FadeAlphaTicker.cjs';
|
|
18
18
|
export { default as MoveTicker } from './classes/ticker/MoveTicker.cjs';
|
|
19
19
|
export { default as RotateTicker } from './classes/ticker/RotateTicker.cjs';
|
|
20
|
-
export {
|
|
20
|
+
export { default as TickerBase } from './classes/ticker/TickerBase.cjs';
|
|
21
21
|
export { default as ZoomTicker } from './classes/ticker/ZoomTicker.cjs';
|
|
22
|
-
export { Pause, Repeat, filters } from './constants.cjs';
|
|
22
|
+
export { CANVAS_APP_STAGE_ALIAS, Pause, Repeat, filters } from './constants.cjs';
|
|
23
23
|
export { default as canvasElementDecorator } from './decorators/canvas-element-decorator.cjs';
|
|
24
24
|
export { getAllCharacters, getCharacterById, saveCharacter } from './decorators/character-decorator.cjs';
|
|
25
25
|
export { default as eventDecorator } from './decorators/event-decorator.cjs';
|
|
26
26
|
export { getLabelById, newLabel, saveLabel } from './decorators/label-decorator.cjs';
|
|
27
27
|
export { default as tickerDecorator } from './decorators/ticker-decorator.cjs';
|
|
28
|
-
export {
|
|
28
|
+
export { shakeEffect } from './functions/canvas/canvas-effect.cjs';
|
|
29
|
+
export { moveIn, moveOut, pushIn, pushOut, removeWithDissolveTransition, removeWithFadeTransition, showWithDissolveTransition, showWithFadeTransition, zoomIn, zoomOut } from './functions/canvas/canvas-transition.cjs';
|
|
29
30
|
export { removeCanvasElement } from './functions/canvas/canvas-utility.cjs';
|
|
30
31
|
export { addImage, loadImage, showImage } from './functions/canvas/image-utility.cjs';
|
|
31
32
|
export { addVideo, loadVideo, showVideo } from './functions/canvas/video-utility.cjs';
|
|
@@ -35,28 +36,26 @@ export { getFlag, setFlag } from './functions/flags-utility.cjs';
|
|
|
35
36
|
export { clearAllGameDatas } from './functions/game-utility.cjs';
|
|
36
37
|
export { getSaveData, getSaveJson, loadSaveData, loadSaveJson } from './functions/saves-utility.cjs';
|
|
37
38
|
export { getTexture } from './functions/texture-utility.cjs';
|
|
38
|
-
export {
|
|
39
|
-
export {
|
|
40
|
-
export { default as
|
|
41
|
-
export {
|
|
42
|
-
export { default as ICanvasTextTextMemory } from './interface/canvas/ICanvasTextTextMemory.cjs';
|
|
43
|
-
export { default as ICanvasVideoMemory } from './interface/canvas/ICanvasVideoMemory.cjs';
|
|
44
|
-
export { default as ITextureMemory } from './interface/canvas/ITextureMemory.cjs';
|
|
45
|
-
export { MoveInOutProps, ShowWithDissolveTransitionProps, ShowWithFadeTransitionProps, ZoomInOutProps } from './interface/canvas/ITransitionProps.cjs';
|
|
39
|
+
export { CanvasBaseMemory, CanvasContainerMemory, CanvasImageMemory, CanvasSpriteBaseMemory, CanvasSpriteMemory, CanvasTextMemory, CanvasVideoMemory } from './interface/canvas/canvas-memory.cjs';
|
|
40
|
+
export { ShakeEffectProps } from './interface/canvas/effect-props.cjs';
|
|
41
|
+
export { default as TextureMemory } from './interface/canvas/TextureMemory.cjs';
|
|
42
|
+
export { MoveInOutProps, ShowWithDissolveTransitionProps, ShowWithFadeTransitionProps, ZoomInOutProps } from './interface/canvas/transition-props.cjs';
|
|
46
43
|
export { default as CharacterInterface } from './interface/CharacterInterface.cjs';
|
|
47
44
|
export { default as ExportedCanvas } from './interface/export/ExportedCanvas.cjs';
|
|
48
45
|
export { ExportedSound, default as ExportedSounds } from './interface/export/ExportedSounds.cjs';
|
|
49
46
|
export { default as ExportedStep } from './interface/export/ExportedStep.cjs';
|
|
50
47
|
export { default as ExportedStorage } from './interface/export/ExportedStorage.cjs';
|
|
51
|
-
export { default as
|
|
52
|
-
export { default as IOpenedLabel } from './interface/IOpenedLabel.cjs';
|
|
53
|
-
export { default as ISaveData } from './interface/ISaveData.cjs';
|
|
54
|
-
export { default as ITickersSteps } from './interface/ITickersSteps.cjs';
|
|
48
|
+
export { default as HistoryStep, HistoryStepData } from './interface/HistoryStep.cjs';
|
|
55
49
|
export { default as LabelProps } from './interface/LabelProps.cjs';
|
|
56
50
|
export { default as NarrativeHistory } from './interface/NarrativeHistory.cjs';
|
|
51
|
+
export { default as OpenedLabel } from './interface/OpenedLabel.cjs';
|
|
52
|
+
export { default as SaveData } from './interface/SaveData.cjs';
|
|
57
53
|
export { default as SoundOptions, SoundPlayOptions } from './interface/SoundOptions.cjs';
|
|
54
|
+
export { default as Ticker } from './interface/Ticker.cjs';
|
|
55
|
+
export { default as TickerArgs } from './interface/TickerArgs.cjs';
|
|
58
56
|
export { default as TickerHistory, TickerHistoryForExport } from './interface/TickerHistory.cjs';
|
|
59
|
-
export { TickerProgrationType } from './interface/TickerProgrationType.cjs';
|
|
57
|
+
export { TickerProgrationExponential, TickerProgrationLinear, default as TickerProgrationType } from './interface/TickerProgrationType.cjs';
|
|
58
|
+
export { default as TickersSteps } from './interface/TickersSteps.cjs';
|
|
60
59
|
export { default as TickerTimeoutHistory } from './interface/TickerTimeoutHistory.cjs';
|
|
61
60
|
export { pixivnTestStartLabel } from './labels/StartLabel.cjs';
|
|
62
61
|
export { juliette } from './labels/TestConstant.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Assets } from 'pixi.js';
|
|
1
|
+
export { Assets, Texture, TextureSourceLike, Ticker as TickerValue, UPDATE_PRIORITY } from 'pixi.js';
|
|
2
2
|
export { default as CanvasVideo } from './classes/canvas/CanvasAVideo.js';
|
|
3
3
|
export { default as CanvasBase } from './classes/canvas/CanvasBase.js';
|
|
4
4
|
export { default as CanvasContainer } from './classes/canvas/CanvasContainer.js';
|
|
@@ -17,15 +17,16 @@ export { default as StoredClassModel } from './classes/StoredClassModel.js';
|
|
|
17
17
|
export { default as FadeAlphaTicker } from './classes/ticker/FadeAlphaTicker.js';
|
|
18
18
|
export { default as MoveTicker } from './classes/ticker/MoveTicker.js';
|
|
19
19
|
export { default as RotateTicker } from './classes/ticker/RotateTicker.js';
|
|
20
|
-
export {
|
|
20
|
+
export { default as TickerBase } from './classes/ticker/TickerBase.js';
|
|
21
21
|
export { default as ZoomTicker } from './classes/ticker/ZoomTicker.js';
|
|
22
|
-
export { Pause, Repeat, filters } from './constants.js';
|
|
22
|
+
export { CANVAS_APP_STAGE_ALIAS, Pause, Repeat, filters } from './constants.js';
|
|
23
23
|
export { default as canvasElementDecorator } from './decorators/canvas-element-decorator.js';
|
|
24
24
|
export { getAllCharacters, getCharacterById, saveCharacter } from './decorators/character-decorator.js';
|
|
25
25
|
export { default as eventDecorator } from './decorators/event-decorator.js';
|
|
26
26
|
export { getLabelById, newLabel, saveLabel } from './decorators/label-decorator.js';
|
|
27
27
|
export { default as tickerDecorator } from './decorators/ticker-decorator.js';
|
|
28
|
-
export {
|
|
28
|
+
export { shakeEffect } from './functions/canvas/canvas-effect.js';
|
|
29
|
+
export { moveIn, moveOut, pushIn, pushOut, removeWithDissolveTransition, removeWithFadeTransition, showWithDissolveTransition, showWithFadeTransition, zoomIn, zoomOut } from './functions/canvas/canvas-transition.js';
|
|
29
30
|
export { removeCanvasElement } from './functions/canvas/canvas-utility.js';
|
|
30
31
|
export { addImage, loadImage, showImage } from './functions/canvas/image-utility.js';
|
|
31
32
|
export { addVideo, loadVideo, showVideo } from './functions/canvas/video-utility.js';
|
|
@@ -35,28 +36,26 @@ export { getFlag, setFlag } from './functions/flags-utility.js';
|
|
|
35
36
|
export { clearAllGameDatas } from './functions/game-utility.js';
|
|
36
37
|
export { getSaveData, getSaveJson, loadSaveData, loadSaveJson } from './functions/saves-utility.js';
|
|
37
38
|
export { getTexture } from './functions/texture-utility.js';
|
|
38
|
-
export {
|
|
39
|
-
export {
|
|
40
|
-
export { default as
|
|
41
|
-
export {
|
|
42
|
-
export { default as ICanvasTextTextMemory } from './interface/canvas/ICanvasTextTextMemory.js';
|
|
43
|
-
export { default as ICanvasVideoMemory } from './interface/canvas/ICanvasVideoMemory.js';
|
|
44
|
-
export { default as ITextureMemory } from './interface/canvas/ITextureMemory.js';
|
|
45
|
-
export { MoveInOutProps, ShowWithDissolveTransitionProps, ShowWithFadeTransitionProps, ZoomInOutProps } from './interface/canvas/ITransitionProps.js';
|
|
39
|
+
export { CanvasBaseMemory, CanvasContainerMemory, CanvasImageMemory, CanvasSpriteBaseMemory, CanvasSpriteMemory, CanvasTextMemory, CanvasVideoMemory } from './interface/canvas/canvas-memory.js';
|
|
40
|
+
export { ShakeEffectProps } from './interface/canvas/effect-props.js';
|
|
41
|
+
export { default as TextureMemory } from './interface/canvas/TextureMemory.js';
|
|
42
|
+
export { MoveInOutProps, ShowWithDissolveTransitionProps, ShowWithFadeTransitionProps, ZoomInOutProps } from './interface/canvas/transition-props.js';
|
|
46
43
|
export { default as CharacterInterface } from './interface/CharacterInterface.js';
|
|
47
44
|
export { default as ExportedCanvas } from './interface/export/ExportedCanvas.js';
|
|
48
45
|
export { ExportedSound, default as ExportedSounds } from './interface/export/ExportedSounds.js';
|
|
49
46
|
export { default as ExportedStep } from './interface/export/ExportedStep.js';
|
|
50
47
|
export { default as ExportedStorage } from './interface/export/ExportedStorage.js';
|
|
51
|
-
export { default as
|
|
52
|
-
export { default as IOpenedLabel } from './interface/IOpenedLabel.js';
|
|
53
|
-
export { default as ISaveData } from './interface/ISaveData.js';
|
|
54
|
-
export { default as ITickersSteps } from './interface/ITickersSteps.js';
|
|
48
|
+
export { default as HistoryStep, HistoryStepData } from './interface/HistoryStep.js';
|
|
55
49
|
export { default as LabelProps } from './interface/LabelProps.js';
|
|
56
50
|
export { default as NarrativeHistory } from './interface/NarrativeHistory.js';
|
|
51
|
+
export { default as OpenedLabel } from './interface/OpenedLabel.js';
|
|
52
|
+
export { default as SaveData } from './interface/SaveData.js';
|
|
57
53
|
export { default as SoundOptions, SoundPlayOptions } from './interface/SoundOptions.js';
|
|
54
|
+
export { default as Ticker } from './interface/Ticker.js';
|
|
55
|
+
export { default as TickerArgs } from './interface/TickerArgs.js';
|
|
58
56
|
export { default as TickerHistory, TickerHistoryForExport } from './interface/TickerHistory.js';
|
|
59
|
-
export { TickerProgrationType } from './interface/TickerProgrationType.js';
|
|
57
|
+
export { TickerProgrationExponential, TickerProgrationLinear, default as TickerProgrationType } from './interface/TickerProgrationType.js';
|
|
58
|
+
export { default as TickersSteps } from './interface/TickersSteps.js';
|
|
60
59
|
export { default as TickerTimeoutHistory } from './interface/TickerTimeoutHistory.js';
|
|
61
60
|
export { pixivnTestStartLabel } from './labels/StartLabel.js';
|
|
62
61
|
export { juliette } from './labels/TestConstant.js';
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import "./chunk-2JGQWY5I.js";
|
|
2
|
-
import "./chunk-JQ2KK52M.js";
|
|
3
1
|
import {
|
|
4
2
|
pixivnTestStartLabel
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-4KV6VMUV.js";
|
|
4
|
+
import "./chunk-2JGQWY5I.js";
|
|
5
|
+
import "./chunk-GNFWXAOE.js";
|
|
6
|
+
import "./chunk-GEWQS6GP.js";
|
|
7
|
+
import "./chunk-FIQXZ3P3.js";
|
|
8
|
+
import "./chunk-TNQKYUOG.js";
|
|
9
|
+
import "./chunk-SZWI2CBA.js";
|
|
10
|
+
import "./chunk-5A543GJ4.js";
|
|
12
11
|
import "./chunk-ETZISN54.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-T4KKYU4J.js";
|
|
12
|
+
import "./chunk-BHVKSBFZ.js";
|
|
13
|
+
import "./chunk-GKLIT4GX.js";
|
|
16
14
|
import {
|
|
17
15
|
juliette
|
|
18
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FM5SFYXO.js";
|
|
19
17
|
import {
|
|
20
18
|
CanvasContainer,
|
|
21
19
|
CanvasImage,
|
|
@@ -58,6 +56,8 @@ import {
|
|
|
58
56
|
moveOut,
|
|
59
57
|
narration,
|
|
60
58
|
newLabel,
|
|
59
|
+
pushIn,
|
|
60
|
+
pushOut,
|
|
61
61
|
removeCanvasElement,
|
|
62
62
|
removeWithDissolveTransition,
|
|
63
63
|
removeWithFadeTransition,
|
|
@@ -65,6 +65,7 @@ import {
|
|
|
65
65
|
setChoiceMenuOptions,
|
|
66
66
|
setDialogue,
|
|
67
67
|
setFlag,
|
|
68
|
+
shakeEffect,
|
|
68
69
|
showImage,
|
|
69
70
|
showVideo,
|
|
70
71
|
showWithDissolveTransition,
|
|
@@ -73,7 +74,7 @@ import {
|
|
|
73
74
|
storage,
|
|
74
75
|
zoomIn,
|
|
75
76
|
zoomOut
|
|
76
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-D3ZQSJKZ.js";
|
|
77
78
|
import "./chunk-OMPJ74CO.js";
|
|
78
79
|
import "./chunk-2BUPSB7O.js";
|
|
79
80
|
import {
|
|
@@ -84,7 +85,7 @@ import {
|
|
|
84
85
|
} from "./chunk-I6TNJEE3.js";
|
|
85
86
|
import {
|
|
86
87
|
StorageManagerStatic
|
|
87
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-DPUSONJ3.js";
|
|
88
89
|
import {
|
|
89
90
|
CanvasManagerStatic
|
|
90
91
|
} from "./chunk-P44J5BE2.js";
|
|
@@ -100,11 +101,11 @@ import "./chunk-ZZLQ3ILH.js";
|
|
|
100
101
|
import {
|
|
101
102
|
tickerDecorator
|
|
102
103
|
} from "./chunk-JTQGULTR.js";
|
|
103
|
-
import "./chunk-
|
|
104
|
+
import "./chunk-FHNQBWIZ.js";
|
|
104
105
|
import "./chunk-ZBUW3MBH.js";
|
|
105
106
|
import {
|
|
106
107
|
createExportableElement
|
|
107
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-PIYIZHZL.js";
|
|
108
109
|
import {
|
|
109
110
|
getAllCharacters,
|
|
110
111
|
getCharacterById,
|
|
@@ -114,10 +115,11 @@ import {
|
|
|
114
115
|
eventDecorator
|
|
115
116
|
} from "./chunk-LEMOIFSV.js";
|
|
116
117
|
import {
|
|
118
|
+
CANVAS_APP_STAGE_ALIAS,
|
|
117
119
|
Pause,
|
|
118
120
|
Repeat,
|
|
119
121
|
filters
|
|
120
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-A4NKPUL5.js";
|
|
121
123
|
import "./chunk-RATGPKD3.js";
|
|
122
124
|
import {
|
|
123
125
|
Assets
|
|
@@ -146,6 +148,7 @@ import {
|
|
|
146
148
|
import "./chunk-N342G4HO.js";
|
|
147
149
|
export {
|
|
148
150
|
Assets,
|
|
151
|
+
CANVAS_APP_STAGE_ALIAS,
|
|
149
152
|
CanvasBase,
|
|
150
153
|
CanvasContainer,
|
|
151
154
|
CanvasEvent,
|
|
@@ -207,6 +210,8 @@ export {
|
|
|
207
210
|
narration,
|
|
208
211
|
newLabel,
|
|
209
212
|
pixivnTestStartLabel,
|
|
213
|
+
pushIn,
|
|
214
|
+
pushOut,
|
|
210
215
|
removeCanvasElement,
|
|
211
216
|
removeWithDissolveTransition,
|
|
212
217
|
removeWithFadeTransition,
|
|
@@ -215,6 +220,7 @@ export {
|
|
|
215
220
|
setChoiceMenuOptions,
|
|
216
221
|
setDialogue,
|
|
217
222
|
setFlag,
|
|
223
|
+
shakeEffect,
|
|
218
224
|
showImage,
|
|
219
225
|
showVideo,
|
|
220
226
|
showWithDissolveTransition,
|
|
@@ -13,6 +13,6 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
13
13
|
};
|
|
14
14
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
15
|
|
|
16
|
-
// src/interface/
|
|
17
|
-
var
|
|
18
|
-
module.exports = __toCommonJS(
|
|
16
|
+
// src/interface/HistoryStep.ts
|
|
17
|
+
var HistoryStep_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(HistoryStep_exports);
|
|
@@ -3,7 +3,7 @@ import { IStoratedChoiceMenuOption } from '../classes/ChoiceMenuOption.cjs';
|
|
|
3
3
|
import { StorageElementType } from '../types/StorageElementType.cjs';
|
|
4
4
|
import ExportedCanvas from './export/ExportedCanvas.cjs';
|
|
5
5
|
import ExportedSounds from './export/ExportedSounds.cjs';
|
|
6
|
-
import
|
|
6
|
+
import OpenedLabel from './OpenedLabel.cjs';
|
|
7
7
|
import ExportedStorage from './export/ExportedStorage.cjs';
|
|
8
8
|
import Dialogue from '../classes/Dialogue.cjs';
|
|
9
9
|
import { LabelIdType } from '../types/LabelIdType.cjs';
|
|
@@ -15,14 +15,16 @@ import './LabelProps.cjs';
|
|
|
15
15
|
import '../types/CloseType.cjs';
|
|
16
16
|
import '../types/LabelRunModeType.cjs';
|
|
17
17
|
import '../types/PauseTickerType.cjs';
|
|
18
|
-
import './canvas/
|
|
19
|
-
import './ITickersSteps.cjs';
|
|
18
|
+
import './canvas/canvas-memory.cjs';
|
|
20
19
|
import 'pixi.js';
|
|
21
|
-
import '
|
|
20
|
+
import './canvas/TextureMemory.cjs';
|
|
21
|
+
import '../types/EventIdType.cjs';
|
|
22
|
+
import './TickerHistory.cjs';
|
|
22
23
|
import '../types/TickerIdType.cjs';
|
|
24
|
+
import './TickerArgs.cjs';
|
|
25
|
+
import './TickersSteps.cjs';
|
|
23
26
|
import '../types/PauseType.cjs';
|
|
24
27
|
import '../types/RepeatType.cjs';
|
|
25
|
-
import './TickerHistory.cjs';
|
|
26
28
|
import './SoundOptions.cjs';
|
|
27
29
|
import '@pixi/sound';
|
|
28
30
|
import '../types/SoundFilterMemory.cjs';
|
|
@@ -31,7 +33,7 @@ import './CharacterInterface.cjs';
|
|
|
31
33
|
/**
|
|
32
34
|
* IHistoryStep is a interface that contains the information of a step in the history.
|
|
33
35
|
*/
|
|
34
|
-
interface
|
|
36
|
+
interface HistoryStepData {
|
|
35
37
|
/**
|
|
36
38
|
* The browser path that occurred during the progression of the steps.
|
|
37
39
|
*/
|
|
@@ -51,17 +53,17 @@ interface IHistoryStepData {
|
|
|
51
53
|
/**
|
|
52
54
|
* The opened labels that occurred during the progression of the steps.
|
|
53
55
|
*/
|
|
54
|
-
openedLabels:
|
|
56
|
+
openedLabels: OpenedLabel[];
|
|
55
57
|
/**
|
|
56
58
|
* The sound data that occurred during the progression of the steps.
|
|
57
59
|
*/
|
|
58
60
|
sound: ExportedSounds;
|
|
59
61
|
}
|
|
60
|
-
interface
|
|
62
|
+
interface HistoryStep<T extends Dialogue = Dialogue> {
|
|
61
63
|
/**
|
|
62
64
|
* The difference between the previous step and the current step.
|
|
63
65
|
*/
|
|
64
|
-
diff: deepDiff.Diff<
|
|
66
|
+
diff: deepDiff.Diff<HistoryStepData, HistoryStepData>[];
|
|
65
67
|
/**
|
|
66
68
|
* The label id of the current step.
|
|
67
69
|
*/
|
|
@@ -100,4 +102,4 @@ interface IHistoryStep<T extends Dialogue = Dialogue> {
|
|
|
100
102
|
choiceIndexMade?: number;
|
|
101
103
|
}
|
|
102
104
|
|
|
103
|
-
export type {
|
|
105
|
+
export type { HistoryStepData, HistoryStep as default };
|
|
@@ -3,7 +3,7 @@ import { IStoratedChoiceMenuOption } from '../classes/ChoiceMenuOption.js';
|
|
|
3
3
|
import { StorageElementType } from '../types/StorageElementType.js';
|
|
4
4
|
import ExportedCanvas from './export/ExportedCanvas.js';
|
|
5
5
|
import ExportedSounds from './export/ExportedSounds.js';
|
|
6
|
-
import
|
|
6
|
+
import OpenedLabel from './OpenedLabel.js';
|
|
7
7
|
import ExportedStorage from './export/ExportedStorage.js';
|
|
8
8
|
import Dialogue from '../classes/Dialogue.js';
|
|
9
9
|
import { LabelIdType } from '../types/LabelIdType.js';
|
|
@@ -15,14 +15,16 @@ import './LabelProps.js';
|
|
|
15
15
|
import '../types/CloseType.js';
|
|
16
16
|
import '../types/LabelRunModeType.js';
|
|
17
17
|
import '../types/PauseTickerType.js';
|
|
18
|
-
import './canvas/
|
|
19
|
-
import './ITickersSteps.js';
|
|
18
|
+
import './canvas/canvas-memory.js';
|
|
20
19
|
import 'pixi.js';
|
|
21
|
-
import '
|
|
20
|
+
import './canvas/TextureMemory.js';
|
|
21
|
+
import '../types/EventIdType.js';
|
|
22
|
+
import './TickerHistory.js';
|
|
22
23
|
import '../types/TickerIdType.js';
|
|
24
|
+
import './TickerArgs.js';
|
|
25
|
+
import './TickersSteps.js';
|
|
23
26
|
import '../types/PauseType.js';
|
|
24
27
|
import '../types/RepeatType.js';
|
|
25
|
-
import './TickerHistory.js';
|
|
26
28
|
import './SoundOptions.js';
|
|
27
29
|
import '@pixi/sound';
|
|
28
30
|
import '../types/SoundFilterMemory.js';
|
|
@@ -31,7 +33,7 @@ import './CharacterInterface.js';
|
|
|
31
33
|
/**
|
|
32
34
|
* IHistoryStep is a interface that contains the information of a step in the history.
|
|
33
35
|
*/
|
|
34
|
-
interface
|
|
36
|
+
interface HistoryStepData {
|
|
35
37
|
/**
|
|
36
38
|
* The browser path that occurred during the progression of the steps.
|
|
37
39
|
*/
|
|
@@ -51,17 +53,17 @@ interface IHistoryStepData {
|
|
|
51
53
|
/**
|
|
52
54
|
* The opened labels that occurred during the progression of the steps.
|
|
53
55
|
*/
|
|
54
|
-
openedLabels:
|
|
56
|
+
openedLabels: OpenedLabel[];
|
|
55
57
|
/**
|
|
56
58
|
* The sound data that occurred during the progression of the steps.
|
|
57
59
|
*/
|
|
58
60
|
sound: ExportedSounds;
|
|
59
61
|
}
|
|
60
|
-
interface
|
|
62
|
+
interface HistoryStep<T extends Dialogue = Dialogue> {
|
|
61
63
|
/**
|
|
62
64
|
* The difference between the previous step and the current step.
|
|
63
65
|
*/
|
|
64
|
-
diff: deepDiff.Diff<
|
|
66
|
+
diff: deepDiff.Diff<HistoryStepData, HistoryStepData>[];
|
|
65
67
|
/**
|
|
66
68
|
* The label id of the current step.
|
|
67
69
|
*/
|
|
@@ -100,4 +102,4 @@ interface IHistoryStep<T extends Dialogue = Dialogue> {
|
|
|
100
102
|
choiceIndexMade?: number;
|
|
101
103
|
}
|
|
102
104
|
|
|
103
|
-
export type {
|
|
105
|
+
export type { HistoryStepData, HistoryStep as default };
|
|
@@ -13,6 +13,6 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
13
13
|
};
|
|
14
14
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
15
|
|
|
16
|
-
// src/interface/
|
|
17
|
-
var
|
|
18
|
-
module.exports = __toCommonJS(
|
|
16
|
+
// src/interface/OpenedLabel.ts
|
|
17
|
+
var OpenedLabel_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(OpenedLabel_exports);
|
|
@@ -13,6 +13,6 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
13
13
|
};
|
|
14
14
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
15
|
|
|
16
|
-
// src/interface/
|
|
17
|
-
var
|
|
18
|
-
module.exports = __toCommonJS(
|
|
16
|
+
// src/interface/SaveData.ts
|
|
17
|
+
var SaveData_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(SaveData_exports);
|
|
@@ -3,22 +3,24 @@ import ExportedSounds from './export/ExportedSounds.cjs';
|
|
|
3
3
|
import ExportedStep from './export/ExportedStep.cjs';
|
|
4
4
|
import ExportedStorage from './export/ExportedStorage.cjs';
|
|
5
5
|
import '../types/PauseTickerType.cjs';
|
|
6
|
-
import './canvas/
|
|
7
|
-
import './ITickersSteps.cjs';
|
|
6
|
+
import './canvas/canvas-memory.cjs';
|
|
8
7
|
import 'pixi.js';
|
|
9
|
-
import '
|
|
10
|
-
import '../types/
|
|
8
|
+
import './canvas/TextureMemory.cjs';
|
|
9
|
+
import '../types/EventIdType.cjs';
|
|
10
|
+
import './TickerHistory.cjs';
|
|
11
11
|
import '../types/TickerIdType.cjs';
|
|
12
|
+
import './TickerArgs.cjs';
|
|
13
|
+
import './TickersSteps.cjs';
|
|
12
14
|
import '../types/PauseType.cjs';
|
|
13
15
|
import '../types/RepeatType.cjs';
|
|
14
|
-
import './TickerHistory.cjs';
|
|
15
16
|
import './SoundOptions.cjs';
|
|
16
17
|
import '@pixi/sound';
|
|
17
18
|
import '../types/SoundFilterMemory.cjs';
|
|
18
|
-
import './
|
|
19
|
+
import './HistoryStep.cjs';
|
|
19
20
|
import 'deep-diff';
|
|
20
21
|
import '../classes/ChoiceMenuOption.cjs';
|
|
21
22
|
import '../types/LabelIdType.cjs';
|
|
23
|
+
import '../types/StorageElementType.cjs';
|
|
22
24
|
import '../classes/Label.cjs';
|
|
23
25
|
import '../classes/LabelAbstract.cjs';
|
|
24
26
|
import '../types/StepLabelType.cjs';
|
|
@@ -26,11 +28,11 @@ import '@drincs/pixi-vn/dist/override';
|
|
|
26
28
|
import './LabelProps.cjs';
|
|
27
29
|
import '../types/CloseType.cjs';
|
|
28
30
|
import '../types/LabelRunModeType.cjs';
|
|
29
|
-
import './
|
|
31
|
+
import './OpenedLabel.cjs';
|
|
30
32
|
import '../classes/Dialogue.cjs';
|
|
31
33
|
import './CharacterInterface.cjs';
|
|
32
34
|
|
|
33
|
-
interface
|
|
35
|
+
interface SaveData {
|
|
34
36
|
pixivn_version: string;
|
|
35
37
|
stepData: ExportedStep;
|
|
36
38
|
storageData: ExportedStorage;
|
|
@@ -39,4 +41,4 @@ interface ISaveData {
|
|
|
39
41
|
path: string;
|
|
40
42
|
}
|
|
41
43
|
|
|
42
|
-
export type {
|
|
44
|
+
export type { SaveData as default };
|
|
@@ -3,22 +3,24 @@ import ExportedSounds from './export/ExportedSounds.js';
|
|
|
3
3
|
import ExportedStep from './export/ExportedStep.js';
|
|
4
4
|
import ExportedStorage from './export/ExportedStorage.js';
|
|
5
5
|
import '../types/PauseTickerType.js';
|
|
6
|
-
import './canvas/
|
|
7
|
-
import './ITickersSteps.js';
|
|
6
|
+
import './canvas/canvas-memory.js';
|
|
8
7
|
import 'pixi.js';
|
|
9
|
-
import '
|
|
10
|
-
import '../types/
|
|
8
|
+
import './canvas/TextureMemory.js';
|
|
9
|
+
import '../types/EventIdType.js';
|
|
10
|
+
import './TickerHistory.js';
|
|
11
11
|
import '../types/TickerIdType.js';
|
|
12
|
+
import './TickerArgs.js';
|
|
13
|
+
import './TickersSteps.js';
|
|
12
14
|
import '../types/PauseType.js';
|
|
13
15
|
import '../types/RepeatType.js';
|
|
14
|
-
import './TickerHistory.js';
|
|
15
16
|
import './SoundOptions.js';
|
|
16
17
|
import '@pixi/sound';
|
|
17
18
|
import '../types/SoundFilterMemory.js';
|
|
18
|
-
import './
|
|
19
|
+
import './HistoryStep.js';
|
|
19
20
|
import 'deep-diff';
|
|
20
21
|
import '../classes/ChoiceMenuOption.js';
|
|
21
22
|
import '../types/LabelIdType.js';
|
|
23
|
+
import '../types/StorageElementType.js';
|
|
22
24
|
import '../classes/Label.js';
|
|
23
25
|
import '../classes/LabelAbstract.js';
|
|
24
26
|
import '../types/StepLabelType.js';
|
|
@@ -26,11 +28,11 @@ import '@drincs/pixi-vn/dist/override';
|
|
|
26
28
|
import './LabelProps.js';
|
|
27
29
|
import '../types/CloseType.js';
|
|
28
30
|
import '../types/LabelRunModeType.js';
|
|
29
|
-
import './
|
|
31
|
+
import './OpenedLabel.js';
|
|
30
32
|
import '../classes/Dialogue.js';
|
|
31
33
|
import './CharacterInterface.js';
|
|
32
34
|
|
|
33
|
-
interface
|
|
35
|
+
interface SaveData {
|
|
34
36
|
pixivn_version: string;
|
|
35
37
|
stepData: ExportedStep;
|
|
36
38
|
storageData: ExportedStorage;
|
|
@@ -39,4 +41,4 @@ interface ISaveData {
|
|
|
39
41
|
path: string;
|
|
40
42
|
}
|
|
41
43
|
|
|
42
|
-
export type {
|
|
44
|
+
export type { SaveData as default };
|
|
@@ -13,6 +13,6 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
13
13
|
};
|
|
14
14
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
15
|
|
|
16
|
-
// src/interface/
|
|
17
|
-
var
|
|
18
|
-
module.exports = __toCommonJS(
|
|
16
|
+
// src/interface/Ticker.ts
|
|
17
|
+
var Ticker_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(Ticker_exports);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UPDATE_PRIORITY } from 'pixi.js';
|
|
2
|
+
import { TickerIdType } from '../types/TickerIdType.cjs';
|
|
3
|
+
import TickerArgs from './TickerArgs.cjs';
|
|
4
|
+
|
|
5
|
+
interface Ticker<TArgs extends TickerArgs> {
|
|
6
|
+
/**
|
|
7
|
+
* Arguments to pass to the ticker
|
|
8
|
+
*/
|
|
9
|
+
args: TArgs;
|
|
10
|
+
/**
|
|
11
|
+
* Duration in seconds to run the ticker
|
|
12
|
+
*/
|
|
13
|
+
duration?: number;
|
|
14
|
+
/**
|
|
15
|
+
* Priority of the ticker
|
|
16
|
+
*/
|
|
17
|
+
priority?: UPDATE_PRIORITY;
|
|
18
|
+
/**
|
|
19
|
+
* Get the id of the ticker. This variable is used in the system to get the ticker by id, {@link geTickerInstanceById}
|
|
20
|
+
*/
|
|
21
|
+
id: TickerIdType;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type { Ticker as default };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UPDATE_PRIORITY } from 'pixi.js';
|
|
2
|
+
import { TickerIdType } from '../types/TickerIdType.js';
|
|
3
|
+
import TickerArgs from './TickerArgs.js';
|
|
4
|
+
|
|
5
|
+
interface Ticker<TArgs extends TickerArgs> {
|
|
6
|
+
/**
|
|
7
|
+
* Arguments to pass to the ticker
|
|
8
|
+
*/
|
|
9
|
+
args: TArgs;
|
|
10
|
+
/**
|
|
11
|
+
* Duration in seconds to run the ticker
|
|
12
|
+
*/
|
|
13
|
+
duration?: number;
|
|
14
|
+
/**
|
|
15
|
+
* Priority of the ticker
|
|
16
|
+
*/
|
|
17
|
+
priority?: UPDATE_PRIORITY;
|
|
18
|
+
/**
|
|
19
|
+
* Get the id of the ticker. This variable is used in the system to get the ticker by id, {@link geTickerInstanceById}
|
|
20
|
+
*/
|
|
21
|
+
id: TickerIdType;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type { Ticker as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/interface/TickerArgs.ts
|
|
17
|
+
var TickerArgs_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(TickerArgs_exports);
|