@drincs/pixi-vn 0.6.2 → 0.6.4
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/classes/CanvasEvent.js +1 -1
- package/dist/classes/CanvasEvent.js.map +1 -1
- package/dist/classes/CanvasEvent.mjs +1 -1
- package/dist/classes/CanvasEvent.mjs.map +1 -1
- package/dist/classes/CharacterBaseModel.js +15 -15
- package/dist/classes/CharacterBaseModel.js.map +1 -1
- package/dist/classes/CharacterBaseModel.mjs +15 -15
- package/dist/classes/CharacterBaseModel.mjs.map +1 -1
- package/dist/classes/ChoiceMenuOption.js +15 -15
- package/dist/classes/ChoiceMenuOption.js.map +1 -1
- package/dist/classes/ChoiceMenuOption.mjs +15 -15
- package/dist/classes/ChoiceMenuOption.mjs.map +1 -1
- package/dist/classes/CloseLabel.js +1 -1
- package/dist/classes/CloseLabel.js.map +1 -1
- package/dist/classes/CloseLabel.mjs +1 -1
- package/dist/classes/CloseLabel.mjs.map +1 -1
- package/dist/classes/DialogueBaseModel.js +1 -1
- package/dist/classes/DialogueBaseModel.js.map +1 -1
- package/dist/classes/DialogueBaseModel.mjs +1 -1
- package/dist/classes/DialogueBaseModel.mjs.map +1 -1
- package/dist/classes/Label.js +1 -1
- package/dist/classes/Label.js.map +1 -1
- package/dist/classes/Label.mjs +1 -1
- package/dist/classes/Label.mjs.map +1 -1
- package/dist/classes/StoredClassModel.js +15 -15
- package/dist/classes/StoredClassModel.js.map +1 -1
- package/dist/classes/StoredClassModel.mjs +15 -15
- package/dist/classes/StoredClassModel.mjs.map +1 -1
- package/dist/classes/canvas/CanvasBase.js +1 -1
- package/dist/classes/canvas/CanvasBase.js.map +1 -1
- package/dist/classes/canvas/CanvasBase.mjs +1 -1
- package/dist/classes/canvas/CanvasBase.mjs.map +1 -1
- package/dist/classes/canvas/CanvasContainer.js +13 -13
- package/dist/classes/canvas/CanvasContainer.js.map +1 -1
- package/dist/classes/canvas/CanvasContainer.mjs +13 -13
- package/dist/classes/canvas/CanvasContainer.mjs.map +1 -1
- package/dist/classes/canvas/CanvasImage.js +2 -4
- package/dist/classes/canvas/CanvasImage.js.map +1 -1
- package/dist/classes/canvas/CanvasImage.mjs +2 -4
- package/dist/classes/canvas/CanvasImage.mjs.map +1 -1
- package/dist/classes/canvas/CanvasSprite.js +2 -4
- package/dist/classes/canvas/CanvasSprite.js.map +1 -1
- package/dist/classes/canvas/CanvasSprite.mjs +2 -4
- package/dist/classes/canvas/CanvasSprite.mjs.map +1 -1
- package/dist/classes/canvas/CanvasText.js +11 -11
- package/dist/classes/canvas/CanvasText.js.map +1 -1
- package/dist/classes/canvas/CanvasText.mjs +11 -11
- package/dist/classes/canvas/CanvasText.mjs.map +1 -1
- package/dist/classes/canvas/index.js +13 -13
- package/dist/classes/canvas/index.js.map +1 -1
- package/dist/classes/canvas/index.mjs +13 -13
- package/dist/classes/canvas/index.mjs.map +1 -1
- package/dist/classes/index.js +15 -15
- package/dist/classes/index.js.map +1 -1
- package/dist/classes/index.mjs +15 -15
- package/dist/classes/index.mjs.map +1 -1
- package/dist/classes/ticker/FadeAlphaTicker.js +15 -15
- package/dist/classes/ticker/FadeAlphaTicker.js.map +1 -1
- package/dist/classes/ticker/FadeAlphaTicker.mjs +15 -15
- package/dist/classes/ticker/FadeAlphaTicker.mjs.map +1 -1
- package/dist/classes/ticker/MoveTicker.js +15 -15
- package/dist/classes/ticker/MoveTicker.js.map +1 -1
- package/dist/classes/ticker/MoveTicker.mjs +15 -15
- package/dist/classes/ticker/MoveTicker.mjs.map +1 -1
- package/dist/classes/ticker/RotateTicker.js +15 -15
- package/dist/classes/ticker/RotateTicker.js.map +1 -1
- package/dist/classes/ticker/RotateTicker.mjs +15 -15
- package/dist/classes/ticker/RotateTicker.mjs.map +1 -1
- package/dist/classes/ticker/TickerBase.js +1 -1
- package/dist/classes/ticker/TickerBase.js.map +1 -1
- package/dist/classes/ticker/TickerBase.mjs +1 -1
- package/dist/classes/ticker/TickerBase.mjs.map +1 -1
- package/dist/classes/ticker/ZoomTicker.js +15 -15
- package/dist/classes/ticker/ZoomTicker.js.map +1 -1
- package/dist/classes/ticker/ZoomTicker.mjs +15 -15
- package/dist/classes/ticker/ZoomTicker.mjs.map +1 -1
- package/dist/classes/ticker/index.js +15 -15
- package/dist/classes/ticker/index.js.map +1 -1
- package/dist/classes/ticker/index.mjs +15 -15
- package/dist/classes/ticker/index.mjs.map +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +2 -2
- package/dist/constants.js.map +1 -1
- package/dist/constants.mjs +2 -2
- package/dist/constants.mjs.map +1 -1
- package/dist/decorators/CanvasElementDecorator.js +13 -13
- package/dist/decorators/CanvasElementDecorator.js.map +1 -1
- package/dist/decorators/CanvasElementDecorator.mjs +13 -13
- package/dist/decorators/CanvasElementDecorator.mjs.map +1 -1
- 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.js +15 -15
- package/dist/decorators/LabelDecorator.js.map +1 -1
- package/dist/decorators/LabelDecorator.mjs +15 -15
- package/dist/decorators/LabelDecorator.mjs.map +1 -1
- 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.js +15 -15
- package/dist/decorators/index.js.map +1 -1
- package/dist/decorators/index.mjs +15 -15
- package/dist/decorators/index.mjs.map +1 -1
- package/dist/functions/CanvasUtility.js +13 -13
- package/dist/functions/CanvasUtility.js.map +1 -1
- package/dist/functions/CanvasUtility.mjs +13 -13
- package/dist/functions/CanvasUtility.mjs.map +1 -1
- package/dist/functions/DialogueUtility.js +15 -15
- package/dist/functions/DialogueUtility.js.map +1 -1
- package/dist/functions/DialogueUtility.mjs +15 -15
- package/dist/functions/DialogueUtility.mjs.map +1 -1
- package/dist/functions/DiffUtility.js +1 -1
- package/dist/functions/DiffUtility.js.map +1 -1
- package/dist/functions/DiffUtility.mjs +1 -1
- package/dist/functions/DiffUtility.mjs.map +1 -1
- package/dist/functions/EasterEgg.js +1 -1
- package/dist/functions/EasterEgg.js.map +1 -1
- package/dist/functions/EasterEgg.mjs +1 -1
- package/dist/functions/EasterEgg.mjs.map +1 -1
- package/dist/functions/ExportUtility.js +1 -1
- package/dist/functions/ExportUtility.js.map +1 -1
- package/dist/functions/ExportUtility.mjs +1 -1
- package/dist/functions/ExportUtility.mjs.map +1 -1
- package/dist/functions/FlagsUtility.js +15 -15
- package/dist/functions/FlagsUtility.js.map +1 -1
- package/dist/functions/FlagsUtility.mjs +15 -15
- package/dist/functions/FlagsUtility.mjs.map +1 -1
- package/dist/functions/GameUtility.js +15 -15
- package/dist/functions/GameUtility.js.map +1 -1
- package/dist/functions/GameUtility.mjs +15 -15
- package/dist/functions/GameUtility.mjs.map +1 -1
- package/dist/functions/ImageUtility.js +15 -15
- package/dist/functions/ImageUtility.js.map +1 -1
- package/dist/functions/ImageUtility.mjs +15 -15
- package/dist/functions/ImageUtility.mjs.map +1 -1
- package/dist/functions/SavesUtility.js +16 -16
- package/dist/functions/SavesUtility.js.map +1 -1
- package/dist/functions/SavesUtility.mjs +16 -16
- package/dist/functions/SavesUtility.mjs.map +1 -1
- package/dist/functions/StepLabelUtility.js +1 -1
- package/dist/functions/StepLabelUtility.js.map +1 -1
- package/dist/functions/StepLabelUtility.mjs +1 -1
- package/dist/functions/StepLabelUtility.mjs.map +1 -1
- package/dist/functions/TextureUtility.js +10 -8
- package/dist/functions/TextureUtility.js.map +1 -1
- package/dist/functions/TextureUtility.mjs +10 -8
- package/dist/functions/TextureUtility.mjs.map +1 -1
- package/dist/functions/TickerUtility.js +1 -1
- package/dist/functions/TickerUtility.js.map +1 -1
- package/dist/functions/TickerUtility.mjs +1 -1
- package/dist/functions/TickerUtility.mjs.map +1 -1
- package/dist/functions/index.js +16 -16
- package/dist/functions/index.js.map +1 -1
- package/dist/functions/index.mjs +16 -16
- package/dist/functions/index.mjs.map +1 -1
- package/dist/index.js +123 -25
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +124 -26
- package/dist/index.mjs.map +1 -1
- package/dist/interface/CharacterBaseModelProps.js +1 -1
- package/dist/interface/CharacterBaseModelProps.js.map +1 -1
- package/dist/interface/CharacterBaseModelProps.mjs +1 -1
- package/dist/interface/CharacterBaseModelProps.mjs.map +1 -1
- package/dist/interface/DialogueHistory.js +1 -1
- package/dist/interface/DialogueHistory.js.map +1 -1
- package/dist/interface/DialogueHistory.mjs +1 -1
- package/dist/interface/DialogueHistory.mjs.map +1 -1
- package/dist/interface/IHistoryStep.js +1 -1
- package/dist/interface/IHistoryStep.js.map +1 -1
- package/dist/interface/IHistoryStep.mjs +1 -1
- package/dist/interface/IHistoryStep.mjs.map +1 -1
- package/dist/interface/IOpenedLabel.js +1 -1
- package/dist/interface/IOpenedLabel.js.map +1 -1
- package/dist/interface/IOpenedLabel.mjs +1 -1
- package/dist/interface/IOpenedLabel.mjs.map +1 -1
- package/dist/interface/ISaveData.js +1 -1
- package/dist/interface/ISaveData.js.map +1 -1
- package/dist/interface/ISaveData.mjs +1 -1
- package/dist/interface/ISaveData.mjs.map +1 -1
- package/dist/interface/ITicker.js +1 -1
- package/dist/interface/ITicker.js.map +1 -1
- package/dist/interface/ITicker.mjs +1 -1
- package/dist/interface/ITicker.mjs.map +1 -1
- package/dist/interface/ITickersSteps.js +1 -1
- package/dist/interface/ITickersSteps.js.map +1 -1
- package/dist/interface/ITickersSteps.mjs +1 -1
- package/dist/interface/ITickersSteps.mjs.map +1 -1
- package/dist/interface/TickerHistory.js +1 -1
- package/dist/interface/TickerHistory.js.map +1 -1
- package/dist/interface/TickerHistory.mjs +1 -1
- package/dist/interface/TickerHistory.mjs.map +1 -1
- package/dist/interface/TickerProgrationType.js +1 -1
- package/dist/interface/TickerProgrationType.js.map +1 -1
- package/dist/interface/TickerProgrationType.mjs +1 -1
- package/dist/interface/TickerProgrationType.mjs.map +1 -1
- package/dist/interface/TickerTimeoutHistory.js +1 -1
- package/dist/interface/TickerTimeoutHistory.js.map +1 -1
- package/dist/interface/TickerTimeoutHistory.mjs +1 -1
- package/dist/interface/TickerTimeoutHistory.mjs.map +1 -1
- package/dist/interface/canvas/ICanvasBaseMemory.js +1 -1
- package/dist/interface/canvas/ICanvasBaseMemory.js.map +1 -1
- package/dist/interface/canvas/ICanvasBaseMemory.mjs +1 -1
- package/dist/interface/canvas/ICanvasBaseMemory.mjs.map +1 -1
- package/dist/interface/canvas/ICanvasContainerMemory.js +1 -1
- package/dist/interface/canvas/ICanvasContainerMemory.js.map +1 -1
- package/dist/interface/canvas/ICanvasContainerMemory.mjs +1 -1
- package/dist/interface/canvas/ICanvasContainerMemory.mjs.map +1 -1
- package/dist/interface/canvas/ICanvasImageMemory.js +1 -1
- package/dist/interface/canvas/ICanvasImageMemory.js.map +1 -1
- package/dist/interface/canvas/ICanvasImageMemory.mjs +1 -1
- package/dist/interface/canvas/ICanvasImageMemory.mjs.map +1 -1
- package/dist/interface/canvas/ICanvasSpriteMemory.js +1 -1
- package/dist/interface/canvas/ICanvasSpriteMemory.js.map +1 -1
- package/dist/interface/canvas/ICanvasSpriteMemory.mjs +1 -1
- package/dist/interface/canvas/ICanvasSpriteMemory.mjs.map +1 -1
- package/dist/interface/canvas/ICanvasTextTextMemory.js +1 -1
- package/dist/interface/canvas/ICanvasTextTextMemory.js.map +1 -1
- package/dist/interface/canvas/ICanvasTextTextMemory.mjs +1 -1
- package/dist/interface/canvas/ICanvasTextTextMemory.mjs.map +1 -1
- package/dist/interface/canvas/ITextureMemory.js +1 -1
- package/dist/interface/canvas/ITextureMemory.js.map +1 -1
- package/dist/interface/canvas/ITextureMemory.mjs +1 -1
- package/dist/interface/canvas/ITextureMemory.mjs.map +1 -1
- package/dist/interface/canvas/index.js +1 -1
- package/dist/interface/canvas/index.js.map +1 -1
- package/dist/interface/canvas/index.mjs +1 -1
- package/dist/interface/canvas/index.mjs.map +1 -1
- package/dist/interface/export/ExportedCanvas.js +1 -1
- package/dist/interface/export/ExportedCanvas.js.map +1 -1
- package/dist/interface/export/ExportedCanvas.mjs +1 -1
- package/dist/interface/export/ExportedCanvas.mjs.map +1 -1
- package/dist/interface/export/ExportedStep.js +1 -1
- package/dist/interface/export/ExportedStep.js.map +1 -1
- package/dist/interface/export/ExportedStep.mjs +1 -1
- package/dist/interface/export/ExportedStep.mjs.map +1 -1
- package/dist/interface/export/ExportedStorage.js +1 -1
- package/dist/interface/export/ExportedStorage.js.map +1 -1
- package/dist/interface/export/ExportedStorage.mjs +1 -1
- package/dist/interface/export/ExportedStorage.mjs.map +1 -1
- package/dist/interface/export/index.js +1 -1
- package/dist/interface/export/index.js.map +1 -1
- package/dist/interface/export/index.mjs +1 -1
- package/dist/interface/export/index.mjs.map +1 -1
- package/dist/interface/index.js +1 -1
- package/dist/interface/index.js.map +1 -1
- package/dist/interface/index.mjs +1 -1
- package/dist/interface/index.mjs.map +1 -1
- package/dist/labels/BaseCanvasElementTestLabel.js +917 -23
- package/dist/labels/BaseCanvasElementTestLabel.js.map +1 -1
- package/dist/labels/BaseCanvasElementTestLabel.mjs +917 -23
- package/dist/labels/BaseCanvasElementTestLabel.mjs.map +1 -1
- package/dist/labels/CanvasEventsTestLabel.js +19 -23
- package/dist/labels/CanvasEventsTestLabel.js.map +1 -1
- package/dist/labels/CanvasEventsTestLabel.mjs +19 -23
- package/dist/labels/CanvasEventsTestLabel.mjs.map +1 -1
- package/dist/labels/CustomTickerCanvasElementTestLabel.js +15 -18
- package/dist/labels/CustomTickerCanvasElementTestLabel.js.map +1 -1
- package/dist/labels/CustomTickerCanvasElementTestLabel.mjs +15 -18
- package/dist/labels/CustomTickerCanvasElementTestLabel.mjs.map +1 -1
- package/dist/labels/ImagesAnimationsTestLabel.js +15 -15
- package/dist/labels/ImagesAnimationsTestLabel.js.map +1 -1
- package/dist/labels/ImagesAnimationsTestLabel.mjs +15 -15
- package/dist/labels/ImagesAnimationsTestLabel.mjs.map +1 -1
- package/dist/labels/MarkdownTest.js +15 -15
- package/dist/labels/MarkdownTest.js.map +1 -1
- package/dist/labels/MarkdownTest.mjs +15 -15
- package/dist/labels/MarkdownTest.mjs.map +1 -1
- package/dist/labels/StartLabel.js +125 -27
- package/dist/labels/StartLabel.js.map +1 -1
- package/dist/labels/StartLabel.mjs +126 -28
- package/dist/labels/StartLabel.mjs.map +1 -1
- package/dist/labels/TestConstant.js +15 -15
- package/dist/labels/TestConstant.js.map +1 -1
- package/dist/labels/TestConstant.mjs +15 -15
- package/dist/labels/TestConstant.mjs.map +1 -1
- package/dist/labels/index.js +125 -27
- package/dist/labels/index.js.map +1 -1
- package/dist/labels/index.mjs +126 -28
- package/dist/labels/index.mjs.map +1 -1
- package/dist/managers/StepManager.js +15 -15
- package/dist/managers/StepManager.js.map +1 -1
- package/dist/managers/StepManager.mjs +15 -15
- package/dist/managers/StepManager.mjs.map +1 -1
- package/dist/managers/StorageManager.js +1 -1
- package/dist/managers/StorageManager.js.map +1 -1
- package/dist/managers/StorageManager.mjs +1 -1
- package/dist/managers/StorageManager.mjs.map +1 -1
- package/dist/managers/WindowManager.d.mts +1 -1
- package/dist/managers/WindowManager.d.ts +1 -1
- package/dist/managers/WindowManager.js +15 -15
- package/dist/managers/WindowManager.js.map +1 -1
- package/dist/managers/WindowManager.mjs +15 -15
- package/dist/managers/WindowManager.mjs.map +1 -1
- package/dist/managers/index.js +15 -15
- package/dist/managers/index.js.map +1 -1
- package/dist/managers/index.mjs +15 -15
- package/dist/managers/index.mjs.map +1 -1
- package/dist/override/StepLabelProps.js +1 -1
- package/dist/override/StepLabelProps.js.map +1 -1
- package/dist/override/StepLabelProps.mjs +1 -1
- package/dist/override/StepLabelProps.mjs.map +1 -1
- package/dist/override/StepLabelResult.js +1 -1
- package/dist/override/StepLabelResult.js.map +1 -1
- package/dist/override/StepLabelResult.mjs +1 -1
- package/dist/override/StepLabelResult.mjs.map +1 -1
- package/dist/override/index.js +1 -1
- package/dist/override/index.js.map +1 -1
- package/dist/override/index.mjs +1 -1
- package/dist/override/index.mjs.map +1 -1
- package/dist/types/CanvasElementTagType.js +1 -1
- package/dist/types/CanvasElementTagType.js.map +1 -1
- package/dist/types/CanvasElementTagType.mjs +1 -1
- package/dist/types/CanvasElementTagType.mjs.map +1 -1
- package/dist/types/CanvasEventNamesType.js +1 -1
- package/dist/types/CanvasEventNamesType.js.map +1 -1
- package/dist/types/CanvasEventNamesType.mjs +1 -1
- package/dist/types/CanvasEventNamesType.mjs.map +1 -1
- package/dist/types/ChoiceMenuOptionsType.js +1 -1
- package/dist/types/ChoiceMenuOptionsType.js.map +1 -1
- package/dist/types/ChoiceMenuOptionsType.mjs +1 -1
- package/dist/types/ChoiceMenuOptionsType.mjs.map +1 -1
- package/dist/types/CloseType.js +1 -1
- package/dist/types/CloseType.js.map +1 -1
- package/dist/types/CloseType.mjs +1 -1
- package/dist/types/CloseType.mjs.map +1 -1
- package/dist/types/EventIdType.js +1 -1
- package/dist/types/EventIdType.js.map +1 -1
- package/dist/types/EventIdType.mjs +1 -1
- package/dist/types/EventIdType.mjs.map +1 -1
- package/dist/types/HistoryChoiceMenuOption.js +1 -1
- package/dist/types/HistoryChoiceMenuOption.js.map +1 -1
- package/dist/types/HistoryChoiceMenuOption.mjs +1 -1
- package/dist/types/HistoryChoiceMenuOption.mjs.map +1 -1
- package/dist/types/LabelIdType.js +1 -1
- package/dist/types/LabelIdType.js.map +1 -1
- package/dist/types/LabelIdType.mjs +1 -1
- package/dist/types/LabelIdType.mjs.map +1 -1
- package/dist/types/LabelRunModeType.js +1 -1
- package/dist/types/LabelRunModeType.js.map +1 -1
- package/dist/types/LabelRunModeType.mjs +1 -1
- package/dist/types/LabelRunModeType.mjs.map +1 -1
- package/dist/types/PauseType.js +1 -1
- package/dist/types/PauseType.js.map +1 -1
- package/dist/types/PauseType.mjs +1 -1
- package/dist/types/PauseType.mjs.map +1 -1
- package/dist/types/RepeatType.js +1 -1
- package/dist/types/RepeatType.js.map +1 -1
- package/dist/types/RepeatType.mjs +1 -1
- package/dist/types/RepeatType.mjs.map +1 -1
- package/dist/types/StepHistoryDataType.js +1 -1
- package/dist/types/StepHistoryDataType.js.map +1 -1
- package/dist/types/StepHistoryDataType.mjs +1 -1
- package/dist/types/StepHistoryDataType.mjs.map +1 -1
- package/dist/types/StepLabelType.js +1 -1
- package/dist/types/StepLabelType.js.map +1 -1
- package/dist/types/StepLabelType.mjs +1 -1
- package/dist/types/StepLabelType.mjs.map +1 -1
- package/dist/types/StorageElementType.js +1 -1
- package/dist/types/StorageElementType.js.map +1 -1
- package/dist/types/StorageElementType.mjs +1 -1
- package/dist/types/StorageElementType.mjs.map +1 -1
- package/dist/types/TickerIdType.js +1 -1
- package/dist/types/TickerIdType.js.map +1 -1
- package/dist/types/TickerIdType.mjs +1 -1
- package/dist/types/TickerIdType.mjs.map +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/types/index.mjs.map +1 -1
- package/dist/types/ticker/FadeAlphaTickerProps.js +1 -1
- package/dist/types/ticker/FadeAlphaTickerProps.js.map +1 -1
- package/dist/types/ticker/FadeAlphaTickerProps.mjs +1 -1
- package/dist/types/ticker/FadeAlphaTickerProps.mjs.map +1 -1
- package/dist/types/ticker/MoveTickerProps.js +1 -1
- package/dist/types/ticker/MoveTickerProps.js.map +1 -1
- package/dist/types/ticker/MoveTickerProps.mjs +1 -1
- package/dist/types/ticker/MoveTickerProps.mjs.map +1 -1
- package/dist/types/ticker/RotateTickerProps.js +1 -1
- package/dist/types/ticker/RotateTickerProps.js.map +1 -1
- package/dist/types/ticker/RotateTickerProps.mjs +1 -1
- package/dist/types/ticker/RotateTickerProps.mjs.map +1 -1
- package/dist/types/ticker/TagToRemoveAfterType.js +1 -1
- package/dist/types/ticker/TagToRemoveAfterType.js.map +1 -1
- package/dist/types/ticker/TagToRemoveAfterType.mjs +1 -1
- package/dist/types/ticker/TagToRemoveAfterType.mjs.map +1 -1
- package/dist/types/ticker/ZoomTickerProps.js +1 -1
- package/dist/types/ticker/ZoomTickerProps.js.map +1 -1
- package/dist/types/ticker/ZoomTickerProps.mjs +1 -1
- package/dist/types/ticker/ZoomTickerProps.mjs.map +1 -1
- package/dist/types/ticker/index.js +1 -1
- package/dist/types/ticker/index.js.map +1 -1
- package/dist/types/ticker/index.mjs +1 -1
- package/dist/types/ticker/index.mjs.map +1 -1
- package/package.json +4 -4
- package/dist/labels/TickerTestLabel.d.mts +0 -9
- package/dist/labels/TickerTestLabel.d.ts +0 -9
- package/dist/labels/TickerTestLabel.js +0 -2675
- package/dist/labels/TickerTestLabel.js.map +0 -1
- package/dist/labels/TickerTestLabel.mjs +0 -2669
- package/dist/labels/TickerTestLabel.mjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -218,7 +218,7 @@ var CanvasContainer = class extends pixi_js.Container {
|
|
|
218
218
|
constructor(options) {
|
|
219
219
|
super(options);
|
|
220
220
|
this.pixivnId = CANVAS_CONTAINER_ID;
|
|
221
|
-
this.pixivnId = this.constructor.prototype.pixivnId;
|
|
221
|
+
this.pixivnId = this.constructor.prototype.pixivnId || CANVAS_CONTAINER_ID;
|
|
222
222
|
}
|
|
223
223
|
get memory() {
|
|
224
224
|
let memory = getMemoryContainer(this);
|
|
@@ -256,7 +256,6 @@ function getMemoryContainer(element) {
|
|
|
256
256
|
position: { x: element.position.x, y: element.position.y },
|
|
257
257
|
skew: { x: element.skew.x, y: element.skew.y },
|
|
258
258
|
visible: element.visible,
|
|
259
|
-
culled: element.culled,
|
|
260
259
|
x: element.x,
|
|
261
260
|
y: element.y,
|
|
262
261
|
boundsArea: element.boundsArea,
|
|
@@ -294,7 +293,6 @@ function setMemoryContainer(element, memory) {
|
|
|
294
293
|
memory.position && element.position.set(memory.position.x, memory.position.y);
|
|
295
294
|
memory.skew && element.skew.set(memory.skew.x, memory.skew.y);
|
|
296
295
|
memory.visible && (element.visible = memory.visible);
|
|
297
|
-
memory.culled && (element.culled = memory.culled);
|
|
298
296
|
memory.x && (element.x = memory.x);
|
|
299
297
|
memory.y && (element.y = memory.y);
|
|
300
298
|
memory.boundsArea && (element.boundsArea = memory.boundsArea);
|
|
@@ -325,17 +323,19 @@ function getTexture(imageUrl) {
|
|
|
325
323
|
});
|
|
326
324
|
});
|
|
327
325
|
}
|
|
328
|
-
function
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
console.warn("[Pixi'VN] CanvasText.style.fill is a FillGradient or FillPattern, this is not supported yet.", fill);
|
|
332
|
-
fill = "#00FF00";
|
|
326
|
+
function getFillGradientFillPattern(prop, propName) {
|
|
327
|
+
if (!(prop instanceof Object)) {
|
|
328
|
+
return prop;
|
|
333
329
|
}
|
|
330
|
+
console.warn(`[Pixi'VN] CanvasText.style.${propName} is a FillGradient or FillPattern, this is not supported yet.`, prop);
|
|
331
|
+
return void 0;
|
|
332
|
+
}
|
|
333
|
+
function getTextStyle(style) {
|
|
334
334
|
return {
|
|
335
335
|
align: style.align,
|
|
336
336
|
breakWords: style.breakWords,
|
|
337
337
|
dropShadow: style.dropShadow,
|
|
338
|
-
fill,
|
|
338
|
+
fill: getFillGradientFillPattern(style.stroke, "fill"),
|
|
339
339
|
fontFamily: style.fontFamily,
|
|
340
340
|
fontSize: style.fontSize,
|
|
341
341
|
fontStyle: style.fontStyle,
|
|
@@ -345,7 +345,7 @@ function getTextStyle(style) {
|
|
|
345
345
|
letterSpacing: style.letterSpacing,
|
|
346
346
|
lineHeight: style.lineHeight,
|
|
347
347
|
padding: style.padding,
|
|
348
|
-
stroke: style.stroke,
|
|
348
|
+
stroke: getFillGradientFillPattern(style.stroke, "stroke"),
|
|
349
349
|
textBaseline: style.textBaseline,
|
|
350
350
|
trim: style.trim,
|
|
351
351
|
whiteSpace: style.whiteSpace,
|
|
@@ -404,7 +404,7 @@ var CanvasSprite = class _CanvasSprite extends pixi_js.Sprite {
|
|
|
404
404
|
super(options);
|
|
405
405
|
this.pixivnId = CANVAS_SPRITE_ID;
|
|
406
406
|
this._onEvents = {};
|
|
407
|
-
this.pixivnId = this.constructor.prototype.pixivnId;
|
|
407
|
+
this.pixivnId = this.constructor.prototype.pixivnId || CANVAS_SPRITE_ID;
|
|
408
408
|
}
|
|
409
409
|
get memory() {
|
|
410
410
|
return getMemorySprite(this);
|
|
@@ -560,7 +560,7 @@ var CanvasText = class extends pixi_js.Text {
|
|
|
560
560
|
super(options);
|
|
561
561
|
this.pixivnId = CANVAS_TEXT_ID;
|
|
562
562
|
this._onEvents = {};
|
|
563
|
-
this.pixivnId = this.constructor.prototype.pixivnId;
|
|
563
|
+
this.pixivnId = this.constructor.prototype.pixivnId || CANVAS_TEXT_ID;
|
|
564
564
|
}
|
|
565
565
|
get memory() {
|
|
566
566
|
return getMemoryText(this);
|
|
@@ -1271,7 +1271,7 @@ var ZoomInOutTicker = class extends exports.ZoomTicker {
|
|
|
1271
1271
|
};
|
|
1272
1272
|
|
|
1273
1273
|
// src/constants.ts
|
|
1274
|
-
var PIXIVN_VERSION = "0.6.
|
|
1274
|
+
var PIXIVN_VERSION = "0.6.4";
|
|
1275
1275
|
var Repeat = "repeat";
|
|
1276
1276
|
function Pause(duration) {
|
|
1277
1277
|
return {
|
|
@@ -1767,7 +1767,7 @@ var _GameWindowManager = class _GameWindowManager {
|
|
|
1767
1767
|
height
|
|
1768
1768
|
}, options)).then(() => {
|
|
1769
1769
|
_GameWindowManager._isInitialized = true;
|
|
1770
|
-
this.
|
|
1770
|
+
this.addCanvasIntoHTMLElement(element);
|
|
1771
1771
|
window.addEventListener("resize", _GameWindowManager.resize);
|
|
1772
1772
|
_GameWindowManager.resize();
|
|
1773
1773
|
asciiArtLog();
|
|
@@ -1778,7 +1778,7 @@ var _GameWindowManager = class _GameWindowManager {
|
|
|
1778
1778
|
* Add the canvas into a html element.
|
|
1779
1779
|
* @param element it is the html element where I will put the canvas. Example: document.body
|
|
1780
1780
|
*/
|
|
1781
|
-
static
|
|
1781
|
+
static addCanvasIntoHTMLElement(element) {
|
|
1782
1782
|
if (_GameWindowManager.isInitialized) {
|
|
1783
1783
|
element.appendChild(_GameWindowManager.app.canvas);
|
|
1784
1784
|
} else {
|
|
@@ -3201,7 +3201,98 @@ var skullyName = `<span style="color:red">Skully</span>`;
|
|
|
3201
3201
|
var bunnyImage = "https://pixijs.com/assets/bunny.png";
|
|
3202
3202
|
var bunnyName = `Bunny`;
|
|
3203
3203
|
|
|
3204
|
-
// src/labels/
|
|
3204
|
+
// src/labels/BaseCanvasElementTestLabel.ts
|
|
3205
|
+
var BASE_CANVAS_ELEMENT_LABEL = "___pixi_vn_base_canvas_element_label___";
|
|
3206
|
+
var baseCanvasElementTestLabel = newLabel(
|
|
3207
|
+
BASE_CANVAS_ELEMENT_LABEL,
|
|
3208
|
+
[
|
|
3209
|
+
() => __async(void 0, null, function* () {
|
|
3210
|
+
let number = 25;
|
|
3211
|
+
setDialogue({
|
|
3212
|
+
character: juliette,
|
|
3213
|
+
text: `Here's what's going to happen: I'm going to create ${number} bunnies (CanvasSprites) and put them in a CanvasContainer.`
|
|
3214
|
+
});
|
|
3215
|
+
const container = new CanvasContainer();
|
|
3216
|
+
GameWindowManager.addCanvasElement("container", container);
|
|
3217
|
+
const texture = yield pixi_js.Assets.load(bunnyImage);
|
|
3218
|
+
for (let i = 0; i < number; i++) {
|
|
3219
|
+
const bunny = new CanvasSprite(texture);
|
|
3220
|
+
bunny.x = i % 5 * 40;
|
|
3221
|
+
bunny.y = Math.floor(i / 5) * 40;
|
|
3222
|
+
container.addChild(bunny);
|
|
3223
|
+
}
|
|
3224
|
+
container.x = GameWindowManager.screen.width / 2;
|
|
3225
|
+
container.y = GameWindowManager.screen.height / 2;
|
|
3226
|
+
container.pivot.x = container.width / 2;
|
|
3227
|
+
container.pivot.y = container.height / 2;
|
|
3228
|
+
GameWindowManager.addTicker("container", new exports.RotateTicker({ speed: 1 }));
|
|
3229
|
+
}),
|
|
3230
|
+
() => __async(void 0, null, function* () {
|
|
3231
|
+
removeCanvasElement("container");
|
|
3232
|
+
setDialogue({
|
|
3233
|
+
character: juliette,
|
|
3234
|
+
text: `Here's what's going to happen: I'm going to create some text elements with different styles and put them on the stage.
|
|
3235
|
+
But it will generate a warn message, because the FillGradient or FillPattern has not yet been supported by the Pixi\u2019VN ( you can see the status of the issue here: [#76](https://github.com/DRincs-Productions/pixi-vn/issues/76)).`
|
|
3236
|
+
});
|
|
3237
|
+
const basicText = new CanvasText({ text: "Basic text in pixi" });
|
|
3238
|
+
basicText.x = 50;
|
|
3239
|
+
basicText.y = 100;
|
|
3240
|
+
GameWindowManager.addCanvasElement("basicText", basicText);
|
|
3241
|
+
const fill = new pixi_js.FillGradient(0, 0, 0, 36 * 1.7 * 7);
|
|
3242
|
+
const colors = [16777215, 65433].map((color) => pixi_js.Color.shared.setValue(color).toNumber());
|
|
3243
|
+
colors.forEach((number, index) => {
|
|
3244
|
+
const ratio = index / colors.length;
|
|
3245
|
+
fill.addColorStop(ratio, number);
|
|
3246
|
+
});
|
|
3247
|
+
const style = new pixi_js.TextStyle({
|
|
3248
|
+
fontFamily: "Arial",
|
|
3249
|
+
fontSize: 36,
|
|
3250
|
+
fontStyle: "italic",
|
|
3251
|
+
fontWeight: "bold",
|
|
3252
|
+
fill: { fill },
|
|
3253
|
+
stroke: { color: "#4a1850", width: 5, join: "round" },
|
|
3254
|
+
dropShadow: {
|
|
3255
|
+
color: "#000000",
|
|
3256
|
+
blur: 4,
|
|
3257
|
+
angle: Math.PI / 6,
|
|
3258
|
+
distance: 6
|
|
3259
|
+
},
|
|
3260
|
+
wordWrap: true,
|
|
3261
|
+
wordWrapWidth: 440
|
|
3262
|
+
});
|
|
3263
|
+
const richText = new CanvasText({
|
|
3264
|
+
text: "Rich text with a lot of options and across multiple lines",
|
|
3265
|
+
style
|
|
3266
|
+
});
|
|
3267
|
+
richText.x = 50;
|
|
3268
|
+
richText.y = 220;
|
|
3269
|
+
GameWindowManager.addCanvasElement("richText", richText);
|
|
3270
|
+
const skewStyle = new pixi_js.TextStyle({
|
|
3271
|
+
fontFamily: "Arial",
|
|
3272
|
+
dropShadow: {
|
|
3273
|
+
alpha: 0.8,
|
|
3274
|
+
angle: 2.1,
|
|
3275
|
+
blur: 4,
|
|
3276
|
+
color: "0x111111",
|
|
3277
|
+
distance: 10
|
|
3278
|
+
},
|
|
3279
|
+
fill: "#ffffff",
|
|
3280
|
+
stroke: { color: "#004620", width: 12, join: "round" },
|
|
3281
|
+
fontSize: 60,
|
|
3282
|
+
fontWeight: "lighter"
|
|
3283
|
+
});
|
|
3284
|
+
const skewText = new CanvasText({
|
|
3285
|
+
text: "SKEW IS COOL",
|
|
3286
|
+
style: skewStyle
|
|
3287
|
+
});
|
|
3288
|
+
skewText.skew.set(0.65, -0.3);
|
|
3289
|
+
skewText.anchor.set(0.5, 0.5);
|
|
3290
|
+
skewText.x = 300;
|
|
3291
|
+
skewText.y = 480;
|
|
3292
|
+
GameWindowManager.addCanvasElement("skewText", skewText);
|
|
3293
|
+
})
|
|
3294
|
+
]
|
|
3295
|
+
);
|
|
3205
3296
|
var EventTest1 = class extends CanvasEvent {
|
|
3206
3297
|
fn(event, sprite) {
|
|
3207
3298
|
if (event === "pointerdown") {
|
|
@@ -3279,17 +3370,13 @@ var canvasEventsTestLabel = newLabel(
|
|
|
3279
3370
|
character: juliette,
|
|
3280
3371
|
text: `This is the test of buttons in a canvas. (This example is from the official [PixiJS website](https://pixijs.com/8.x/examples/events/interactivity).)`
|
|
3281
3372
|
});
|
|
3282
|
-
yield pixi_js.Assets.load(
|
|
3283
|
-
|
|
3284
|
-
"https://pixijs.com/assets/button.png",
|
|
3285
|
-
"https://pixijs.com/assets/button_down.png",
|
|
3286
|
-
"https://pixijs.com/assets/button_over.png"
|
|
3287
|
-
]);
|
|
3288
|
-
const background = CanvasSprite.from("https://pixijs.com/assets/bg_button.jpg");
|
|
3373
|
+
const backgroundT = yield pixi_js.Assets.load("https://pixijs.com/assets/bg_button.jpg");
|
|
3374
|
+
const background = CanvasSprite.from(backgroundT);
|
|
3289
3375
|
background.width = GameWindowManager.screen.width;
|
|
3290
3376
|
background.height = GameWindowManager.screen.height;
|
|
3291
3377
|
GameWindowManager.addCanvasElement("bg", background);
|
|
3292
|
-
const
|
|
3378
|
+
const textureButtonT = yield pixi_js.Assets.load("https://pixijs.com/assets/button.png");
|
|
3379
|
+
const textureButton = CanvasSprite.from(textureButtonT);
|
|
3293
3380
|
const buttons = [];
|
|
3294
3381
|
const buttonPositions = [175, 75, 655, 75, 410, 325, 150, 465, 685, 445];
|
|
3295
3382
|
for (let i = 0; i < 5; i++) {
|
|
@@ -3855,6 +3942,15 @@ var pixivnTestStartLabel = newLabel(
|
|
|
3855
3942
|
(props) => GameStepManager.jumpLabel(pixivnTestStartLabel2, props)
|
|
3856
3943
|
]
|
|
3857
3944
|
);
|
|
3945
|
+
var openWiki = newLabel(
|
|
3946
|
+
"___pixi_vn_open_wiki___",
|
|
3947
|
+
[
|
|
3948
|
+
(props) => {
|
|
3949
|
+
window.open("https://pixi-vn.web.app/");
|
|
3950
|
+
GameStepManager.goNext(props);
|
|
3951
|
+
}
|
|
3952
|
+
]
|
|
3953
|
+
);
|
|
3858
3954
|
var RESTART_TEST_LABEL = "___pixi_vn_restart_test_label___";
|
|
3859
3955
|
var pixivnTestStartLabel2 = newLabel(
|
|
3860
3956
|
RESTART_TEST_LABEL,
|
|
@@ -3863,8 +3959,10 @@ var pixivnTestStartLabel2 = newLabel(
|
|
|
3863
3959
|
GameWindowManager.clear();
|
|
3864
3960
|
setDialogue({ character: juliette, text: "Which test would you like to start with?" });
|
|
3865
3961
|
setChoiceMenuOptions([
|
|
3962
|
+
new ChoiceMenuOption("Open Pixi\u2019VN Wiki", openWiki),
|
|
3866
3963
|
new ChoiceMenuOption("Images, Transitions and Animations Test", imagesAnimationsTest),
|
|
3867
3964
|
new ChoiceMenuOption("Canvas Events Test Label", canvasEventsTestLabel),
|
|
3965
|
+
new ChoiceMenuOption("Base Canvas Element Test", baseCanvasElementTestLabel),
|
|
3868
3966
|
new ChoiceMenuOption("Custom Ticker Canvas Element Test", customTickerCanvasElementTestLabel),
|
|
3869
3967
|
new ChoiceMenuOption("Markdown Test", markdownTest)
|
|
3870
3968
|
]);
|
|
@@ -3933,5 +4031,5 @@ exports.showWithFadeTransition = showWithFadeTransition;
|
|
|
3933
4031
|
exports.tickerDecorator = tickerDecorator;
|
|
3934
4032
|
exports.zoomIn = zoomIn;
|
|
3935
4033
|
exports.zoomOut = zoomOut;
|
|
3936
|
-
//# sourceMappingURL=
|
|
4034
|
+
//# sourceMappingURL=index.js.map
|
|
3937
4035
|
//# sourceMappingURL=index.js.map
|