@drincs/pixi-vn 0.6.2 → 0.6.3
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 +119 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +120 -18
- 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 +15 -15
- package/dist/labels/CanvasEventsTestLabel.js.map +1 -1
- package/dist/labels/CanvasEventsTestLabel.mjs +15 -15
- 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 +121 -19
- package/dist/labels/StartLabel.js.map +1 -1
- package/dist/labels/StartLabel.mjs +122 -20
- 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 +121 -19
- package/dist/labels/index.js.map +1 -1
- package/dist/labels/index.mjs +122 -20
- 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
|
@@ -197,7 +197,7 @@ var CanvasContainer = class extends pixi_js.Container {
|
|
|
197
197
|
constructor(options) {
|
|
198
198
|
super(options);
|
|
199
199
|
this.pixivnId = CANVAS_CONTAINER_ID;
|
|
200
|
-
this.pixivnId = this.constructor.prototype.pixivnId;
|
|
200
|
+
this.pixivnId = this.constructor.prototype.pixivnId || CANVAS_CONTAINER_ID;
|
|
201
201
|
}
|
|
202
202
|
get memory() {
|
|
203
203
|
let memory = getMemoryContainer(this);
|
|
@@ -235,7 +235,6 @@ function getMemoryContainer(element) {
|
|
|
235
235
|
position: { x: element.position.x, y: element.position.y },
|
|
236
236
|
skew: { x: element.skew.x, y: element.skew.y },
|
|
237
237
|
visible: element.visible,
|
|
238
|
-
culled: element.culled,
|
|
239
238
|
x: element.x,
|
|
240
239
|
y: element.y,
|
|
241
240
|
boundsArea: element.boundsArea,
|
|
@@ -273,7 +272,6 @@ function setMemoryContainer(element, memory) {
|
|
|
273
272
|
memory.position && element.position.set(memory.position.x, memory.position.y);
|
|
274
273
|
memory.skew && element.skew.set(memory.skew.x, memory.skew.y);
|
|
275
274
|
memory.visible && (element.visible = memory.visible);
|
|
276
|
-
memory.culled && (element.culled = memory.culled);
|
|
277
275
|
memory.x && (element.x = memory.x);
|
|
278
276
|
memory.y && (element.y = memory.y);
|
|
279
277
|
memory.boundsArea && (element.boundsArea = memory.boundsArea);
|
|
@@ -304,17 +302,19 @@ function getTexture(imageUrl) {
|
|
|
304
302
|
});
|
|
305
303
|
});
|
|
306
304
|
}
|
|
307
|
-
function
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
console.warn("[Pixi'VN] CanvasText.style.fill is a FillGradient or FillPattern, this is not supported yet.", fill);
|
|
311
|
-
fill = "#00FF00";
|
|
305
|
+
function getFillGradientFillPattern(prop, propName) {
|
|
306
|
+
if (!(prop instanceof Object)) {
|
|
307
|
+
return prop;
|
|
312
308
|
}
|
|
309
|
+
console.warn(`[Pixi'VN] CanvasText.style.${propName} is a FillGradient or FillPattern, this is not supported yet.`, prop);
|
|
310
|
+
return void 0;
|
|
311
|
+
}
|
|
312
|
+
function getTextStyle(style) {
|
|
313
313
|
return {
|
|
314
314
|
align: style.align,
|
|
315
315
|
breakWords: style.breakWords,
|
|
316
316
|
dropShadow: style.dropShadow,
|
|
317
|
-
fill,
|
|
317
|
+
fill: getFillGradientFillPattern(style.stroke, "fill"),
|
|
318
318
|
fontFamily: style.fontFamily,
|
|
319
319
|
fontSize: style.fontSize,
|
|
320
320
|
fontStyle: style.fontStyle,
|
|
@@ -324,7 +324,7 @@ function getTextStyle(style) {
|
|
|
324
324
|
letterSpacing: style.letterSpacing,
|
|
325
325
|
lineHeight: style.lineHeight,
|
|
326
326
|
padding: style.padding,
|
|
327
|
-
stroke: style.stroke,
|
|
327
|
+
stroke: getFillGradientFillPattern(style.stroke, "stroke"),
|
|
328
328
|
textBaseline: style.textBaseline,
|
|
329
329
|
trim: style.trim,
|
|
330
330
|
whiteSpace: style.whiteSpace,
|
|
@@ -383,7 +383,7 @@ var CanvasSprite = class _CanvasSprite extends pixi_js.Sprite {
|
|
|
383
383
|
super(options);
|
|
384
384
|
this.pixivnId = CANVAS_SPRITE_ID;
|
|
385
385
|
this._onEvents = {};
|
|
386
|
-
this.pixivnId = this.constructor.prototype.pixivnId;
|
|
386
|
+
this.pixivnId = this.constructor.prototype.pixivnId || CANVAS_SPRITE_ID;
|
|
387
387
|
}
|
|
388
388
|
get memory() {
|
|
389
389
|
return getMemorySprite(this);
|
|
@@ -539,7 +539,7 @@ var CanvasText = class extends pixi_js.Text {
|
|
|
539
539
|
super(options);
|
|
540
540
|
this.pixivnId = CANVAS_TEXT_ID;
|
|
541
541
|
this._onEvents = {};
|
|
542
|
-
this.pixivnId = this.constructor.prototype.pixivnId;
|
|
542
|
+
this.pixivnId = this.constructor.prototype.pixivnId || CANVAS_TEXT_ID;
|
|
543
543
|
}
|
|
544
544
|
get memory() {
|
|
545
545
|
return getMemoryText(this);
|
|
@@ -640,9 +640,6 @@ function setMemoryText(element, memory) {
|
|
|
640
640
|
var registeredCanvasElement = {};
|
|
641
641
|
function canvasElementDecorator(name) {
|
|
642
642
|
return function(target) {
|
|
643
|
-
if (!name) {
|
|
644
|
-
name = target.name;
|
|
645
|
-
}
|
|
646
643
|
if (registeredCanvasElement[name]) {
|
|
647
644
|
console.warn(`[Pixi'VN] CanvasElement ${name} already registered`);
|
|
648
645
|
}
|
|
@@ -1202,6 +1199,9 @@ function loadImage(canvasImages) {
|
|
|
1202
1199
|
});
|
|
1203
1200
|
});
|
|
1204
1201
|
}
|
|
1202
|
+
function removeCanvasElement(tag) {
|
|
1203
|
+
GameWindowManager.removeCanvasElement(tag);
|
|
1204
|
+
}
|
|
1205
1205
|
function showWithDissolveTransition(_0, _1) {
|
|
1206
1206
|
return __async(this, arguments, function* (tag, image, props = {}, priority) {
|
|
1207
1207
|
var _a;
|
|
@@ -1624,7 +1624,7 @@ var _GameWindowManager = class _GameWindowManager {
|
|
|
1624
1624
|
height
|
|
1625
1625
|
}, options)).then(() => {
|
|
1626
1626
|
_GameWindowManager._isInitialized = true;
|
|
1627
|
-
this.
|
|
1627
|
+
this.addCanvasIntoHTMLElement(element);
|
|
1628
1628
|
window.addEventListener("resize", _GameWindowManager.resize);
|
|
1629
1629
|
_GameWindowManager.resize();
|
|
1630
1630
|
asciiArtLog();
|
|
@@ -1635,7 +1635,7 @@ var _GameWindowManager = class _GameWindowManager {
|
|
|
1635
1635
|
* Add the canvas into a html element.
|
|
1636
1636
|
* @param element it is the html element where I will put the canvas. Example: document.body
|
|
1637
1637
|
*/
|
|
1638
|
-
static
|
|
1638
|
+
static addCanvasIntoHTMLElement(element) {
|
|
1639
1639
|
if (_GameWindowManager.isInitialized) {
|
|
1640
1640
|
element.appendChild(_GameWindowManager.app.canvas);
|
|
1641
1641
|
} else {
|
|
@@ -3058,7 +3058,98 @@ var skullyName = `<span style="color:red">Skully</span>`;
|
|
|
3058
3058
|
var bunnyImage = "https://pixijs.com/assets/bunny.png";
|
|
3059
3059
|
var bunnyName = `Bunny`;
|
|
3060
3060
|
|
|
3061
|
-
// src/labels/
|
|
3061
|
+
// src/labels/BaseCanvasElementTestLabel.ts
|
|
3062
|
+
var BASE_CANVAS_ELEMENT_LABEL = "___pixi_vn_base_canvas_element_label___";
|
|
3063
|
+
var baseCanvasElementTestLabel = newLabel(
|
|
3064
|
+
BASE_CANVAS_ELEMENT_LABEL,
|
|
3065
|
+
[
|
|
3066
|
+
() => __async(void 0, null, function* () {
|
|
3067
|
+
let number = 25;
|
|
3068
|
+
setDialogue({
|
|
3069
|
+
character: juliette,
|
|
3070
|
+
text: `Here's what's going to happen: I'm going to create ${number} bunnies (CanvasSprites) and put them in a CanvasContainer.`
|
|
3071
|
+
});
|
|
3072
|
+
const container = new CanvasContainer();
|
|
3073
|
+
GameWindowManager.addCanvasElement("container", container);
|
|
3074
|
+
const texture = yield pixi_js.Assets.load(bunnyImage);
|
|
3075
|
+
for (let i = 0; i < number; i++) {
|
|
3076
|
+
const bunny = new CanvasSprite(texture);
|
|
3077
|
+
bunny.x = i % 5 * 40;
|
|
3078
|
+
bunny.y = Math.floor(i / 5) * 40;
|
|
3079
|
+
container.addChild(bunny);
|
|
3080
|
+
}
|
|
3081
|
+
container.x = GameWindowManager.screen.width / 2;
|
|
3082
|
+
container.y = GameWindowManager.screen.height / 2;
|
|
3083
|
+
container.pivot.x = container.width / 2;
|
|
3084
|
+
container.pivot.y = container.height / 2;
|
|
3085
|
+
GameWindowManager.addTicker("container", new RotateTicker({ speed: 1 }));
|
|
3086
|
+
}),
|
|
3087
|
+
() => __async(void 0, null, function* () {
|
|
3088
|
+
removeCanvasElement("container");
|
|
3089
|
+
setDialogue({
|
|
3090
|
+
character: juliette,
|
|
3091
|
+
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.
|
|
3092
|
+
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)).`
|
|
3093
|
+
});
|
|
3094
|
+
const basicText = new CanvasText({ text: "Basic text in pixi" });
|
|
3095
|
+
basicText.x = 50;
|
|
3096
|
+
basicText.y = 100;
|
|
3097
|
+
GameWindowManager.addCanvasElement("basicText", basicText);
|
|
3098
|
+
const fill = new pixi_js.FillGradient(0, 0, 0, 36 * 1.7 * 7);
|
|
3099
|
+
const colors = [16777215, 65433].map((color) => pixi_js.Color.shared.setValue(color).toNumber());
|
|
3100
|
+
colors.forEach((number, index) => {
|
|
3101
|
+
const ratio = index / colors.length;
|
|
3102
|
+
fill.addColorStop(ratio, number);
|
|
3103
|
+
});
|
|
3104
|
+
const style = new pixi_js.TextStyle({
|
|
3105
|
+
fontFamily: "Arial",
|
|
3106
|
+
fontSize: 36,
|
|
3107
|
+
fontStyle: "italic",
|
|
3108
|
+
fontWeight: "bold",
|
|
3109
|
+
fill: { fill },
|
|
3110
|
+
stroke: { color: "#4a1850", width: 5, join: "round" },
|
|
3111
|
+
dropShadow: {
|
|
3112
|
+
color: "#000000",
|
|
3113
|
+
blur: 4,
|
|
3114
|
+
angle: Math.PI / 6,
|
|
3115
|
+
distance: 6
|
|
3116
|
+
},
|
|
3117
|
+
wordWrap: true,
|
|
3118
|
+
wordWrapWidth: 440
|
|
3119
|
+
});
|
|
3120
|
+
const richText = new CanvasText({
|
|
3121
|
+
text: "Rich text with a lot of options and across multiple lines",
|
|
3122
|
+
style
|
|
3123
|
+
});
|
|
3124
|
+
richText.x = 50;
|
|
3125
|
+
richText.y = 220;
|
|
3126
|
+
GameWindowManager.addCanvasElement("richText", richText);
|
|
3127
|
+
const skewStyle = new pixi_js.TextStyle({
|
|
3128
|
+
fontFamily: "Arial",
|
|
3129
|
+
dropShadow: {
|
|
3130
|
+
alpha: 0.8,
|
|
3131
|
+
angle: 2.1,
|
|
3132
|
+
blur: 4,
|
|
3133
|
+
color: "0x111111",
|
|
3134
|
+
distance: 10
|
|
3135
|
+
},
|
|
3136
|
+
fill: "#ffffff",
|
|
3137
|
+
stroke: { color: "#004620", width: 12, join: "round" },
|
|
3138
|
+
fontSize: 60,
|
|
3139
|
+
fontWeight: "lighter"
|
|
3140
|
+
});
|
|
3141
|
+
const skewText = new CanvasText({
|
|
3142
|
+
text: "SKEW IS COOL",
|
|
3143
|
+
style: skewStyle
|
|
3144
|
+
});
|
|
3145
|
+
skewText.skew.set(0.65, -0.3);
|
|
3146
|
+
skewText.anchor.set(0.5, 0.5);
|
|
3147
|
+
skewText.x = 300;
|
|
3148
|
+
skewText.y = 480;
|
|
3149
|
+
GameWindowManager.addCanvasElement("skewText", skewText);
|
|
3150
|
+
})
|
|
3151
|
+
]
|
|
3152
|
+
);
|
|
3062
3153
|
var EventTest1 = class extends CanvasEvent {
|
|
3063
3154
|
fn(event, sprite) {
|
|
3064
3155
|
if (event === "pointerdown") {
|
|
@@ -3712,6 +3803,15 @@ var pixivnTestStartLabel = newLabel(
|
|
|
3712
3803
|
(props) => GameStepManager.jumpLabel(pixivnTestStartLabel2, props)
|
|
3713
3804
|
]
|
|
3714
3805
|
);
|
|
3806
|
+
var openWiki = newLabel(
|
|
3807
|
+
"___pixi_vn_open_wiki___",
|
|
3808
|
+
[
|
|
3809
|
+
(props) => {
|
|
3810
|
+
window.open("https://pixi-vn.web.app/");
|
|
3811
|
+
GameStepManager.goNext(props);
|
|
3812
|
+
}
|
|
3813
|
+
]
|
|
3814
|
+
);
|
|
3715
3815
|
var RESTART_TEST_LABEL = "___pixi_vn_restart_test_label___";
|
|
3716
3816
|
var pixivnTestStartLabel2 = newLabel(
|
|
3717
3817
|
RESTART_TEST_LABEL,
|
|
@@ -3720,8 +3820,10 @@ var pixivnTestStartLabel2 = newLabel(
|
|
|
3720
3820
|
GameWindowManager.clear();
|
|
3721
3821
|
setDialogue({ character: juliette, text: "Which test would you like to start with?" });
|
|
3722
3822
|
setChoiceMenuOptions([
|
|
3823
|
+
new ChoiceMenuOption("Open Pixi\u2019VN Wiki", openWiki),
|
|
3723
3824
|
new ChoiceMenuOption("Images, Transitions and Animations Test", imagesAnimationsTest),
|
|
3724
3825
|
new ChoiceMenuOption("Canvas Events Test Label", canvasEventsTestLabel),
|
|
3826
|
+
new ChoiceMenuOption("Base Canvas Element Test", baseCanvasElementTestLabel),
|
|
3725
3827
|
new ChoiceMenuOption("Custom Ticker Canvas Element Test", customTickerCanvasElementTestLabel),
|
|
3726
3828
|
new ChoiceMenuOption("Markdown Test", markdownTest)
|
|
3727
3829
|
]);
|
|
@@ -3732,5 +3834,5 @@ var pixivnTestStartLabel2 = newLabel(
|
|
|
3732
3834
|
|
|
3733
3835
|
exports.pixivnTestStartLabel = pixivnTestStartLabel;
|
|
3734
3836
|
exports.pixivnTestStartLabel2 = pixivnTestStartLabel2;
|
|
3735
|
-
//# sourceMappingURL=
|
|
3837
|
+
//# sourceMappingURL=StartLabel.js.map
|
|
3736
3838
|
//# sourceMappingURL=StartLabel.js.map
|