vue-phaserjs 2.12.0 → 2.13.0
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/LICENSE +201 -201
- package/README.md +43 -43
- package/dist/components/Circle.vue.d.ts +1 -1
- package/dist/components/Container.vue.d.ts +1 -1
- package/dist/components/Game.vue.d.ts +1 -1
- package/dist/components/Image.vue.d.ts +1 -1
- package/dist/components/Nineslice.vue.d.ts +1 -1
- package/dist/components/PathFollower.vue.d.ts +1 -1
- package/dist/components/Rectangle.vue.d.ts +1 -1
- package/dist/components/Scene.vue.d.ts +1 -1
- package/dist/components/Sprite.vue.d.ts +1 -1
- package/dist/components/Text.vue.d.ts +1 -1
- package/dist/components/TileSprite.vue.d.ts +1 -1
- package/dist/components/Tilemap.vue.d.ts +1 -1
- package/dist/components/Zone.vue.d.ts +1 -1
- package/dist/composables/useAnimations.d.ts +1 -43
- package/dist/composables/useGame.d.ts +1 -2
- package/dist/index.js +733 -762
- package/dist/store/camera.d.ts +1 -14
- package/dist/store/index.d.ts +1 -30
- package/dist/store/input.d.ts +1 -7
- package/dist/store/text.d.ts +1 -8
- package/package.json +7 -7
package/dist/store/camera.d.ts
CHANGED
|
@@ -1,14 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const useCameraStore: import('pinia').StoreDefinition<"phaser/camera", Pick<{
|
|
3
|
-
fadeIn: (scene: SceneWithPlugins, duration?: number | undefined, red?: number | undefined, green?: number | undefined, blue?: number | undefined, callback?: Function | undefined, context?: any) => void;
|
|
4
|
-
fadeOut: (scene: SceneWithPlugins, duration?: number | undefined, red?: number | undefined, green?: number | undefined, blue?: number | undefined, callback?: Function | undefined, context?: any) => void;
|
|
5
|
-
isFading: globalThis.Ref<boolean, boolean>;
|
|
6
|
-
}, "isFading">, Pick<{
|
|
7
|
-
fadeIn: (scene: SceneWithPlugins, duration?: number | undefined, red?: number | undefined, green?: number | undefined, blue?: number | undefined, callback?: Function | undefined, context?: any) => void;
|
|
8
|
-
fadeOut: (scene: SceneWithPlugins, duration?: number | undefined, red?: number | undefined, green?: number | undefined, blue?: number | undefined, callback?: Function | undefined, context?: any) => void;
|
|
9
|
-
isFading: globalThis.Ref<boolean, boolean>;
|
|
10
|
-
}, never>, Pick<{
|
|
11
|
-
fadeIn: (scene: SceneWithPlugins, duration?: number | undefined, red?: number | undefined, green?: number | undefined, blue?: number | undefined, callback?: Function | undefined, context?: any) => void;
|
|
12
|
-
fadeOut: (scene: SceneWithPlugins, duration?: number | undefined, red?: number | undefined, green?: number | undefined, blue?: number | undefined, callback?: Function | undefined, context?: any) => void;
|
|
13
|
-
isFading: globalThis.Ref<boolean, boolean>;
|
|
14
|
-
}, "fadeIn" | "fadeOut">>;
|
|
1
|
+
export declare const useCameraStore: any;
|
package/dist/store/index.d.ts
CHANGED
|
@@ -1,30 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { Game } from 'phaser';
|
|
3
|
-
export declare const usePhaserStore: import('pinia').StoreDefinition<"phaser", Pick<{
|
|
4
|
-
game: globalThis.WritableComputedRef<Game | undefined, Game | undefined>;
|
|
5
|
-
isSameScene: (newSceneKey: SceneWithPlugins["scene"]["key"]) => boolean;
|
|
6
|
-
launchParallelScene: (scene: SceneWithPlugins, sceneKey: SceneWithPlugins["scene"]["key"]) => void;
|
|
7
|
-
parallelSceneKeys: globalThis.Ref<string[], string[]>;
|
|
8
|
-
prioritizedParallelSceneKeys: globalThis.Ref<string[], string[]>;
|
|
9
|
-
removeParallelScene: (scene: SceneWithPlugins, sceneKey: SceneWithPlugins["scene"]["key"]) => void;
|
|
10
|
-
rootSceneKey: Ref<SceneWithPlugins["scene"]["key"]>;
|
|
11
|
-
switchToScene: (newSceneKey: SceneWithPlugins["scene"]["key"]) => Promise<void>;
|
|
12
|
-
}, "parallelSceneKeys" | "prioritizedParallelSceneKeys" | "rootSceneKey">, Pick<{
|
|
13
|
-
game: globalThis.WritableComputedRef<Game | undefined, Game | undefined>;
|
|
14
|
-
isSameScene: (newSceneKey: SceneWithPlugins["scene"]["key"]) => boolean;
|
|
15
|
-
launchParallelScene: (scene: SceneWithPlugins, sceneKey: SceneWithPlugins["scene"]["key"]) => void;
|
|
16
|
-
parallelSceneKeys: globalThis.Ref<string[], string[]>;
|
|
17
|
-
prioritizedParallelSceneKeys: globalThis.Ref<string[], string[]>;
|
|
18
|
-
removeParallelScene: (scene: SceneWithPlugins, sceneKey: SceneWithPlugins["scene"]["key"]) => void;
|
|
19
|
-
rootSceneKey: Ref<SceneWithPlugins["scene"]["key"]>;
|
|
20
|
-
switchToScene: (newSceneKey: SceneWithPlugins["scene"]["key"]) => Promise<void>;
|
|
21
|
-
}, "game">, Pick<{
|
|
22
|
-
game: globalThis.WritableComputedRef<Game | undefined, Game | undefined>;
|
|
23
|
-
isSameScene: (newSceneKey: SceneWithPlugins["scene"]["key"]) => boolean;
|
|
24
|
-
launchParallelScene: (scene: SceneWithPlugins, sceneKey: SceneWithPlugins["scene"]["key"]) => void;
|
|
25
|
-
parallelSceneKeys: globalThis.Ref<string[], string[]>;
|
|
26
|
-
prioritizedParallelSceneKeys: globalThis.Ref<string[], string[]>;
|
|
27
|
-
removeParallelScene: (scene: SceneWithPlugins, sceneKey: SceneWithPlugins["scene"]["key"]) => void;
|
|
28
|
-
rootSceneKey: Ref<SceneWithPlugins["scene"]["key"]>;
|
|
29
|
-
switchToScene: (newSceneKey: SceneWithPlugins["scene"]["key"]) => Promise<void>;
|
|
30
|
-
}, "isSameScene" | "launchParallelScene" | "removeParallelScene" | "switchToScene">>;
|
|
1
|
+
export declare const usePhaserStore: any;
|
package/dist/store/input.d.ts
CHANGED
|
@@ -1,7 +1 @@
|
|
|
1
|
-
export declare const useInputStore:
|
|
2
|
-
isInputActive: globalThis.Ref<boolean, boolean>;
|
|
3
|
-
}, "isInputActive">, Pick<{
|
|
4
|
-
isInputActive: globalThis.Ref<boolean, boolean>;
|
|
5
|
-
}, never>, Pick<{
|
|
6
|
-
isInputActive: globalThis.Ref<boolean, boolean>;
|
|
7
|
-
}, never>>;
|
|
1
|
+
export declare const useInputStore: any;
|
package/dist/store/text.d.ts
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const useTextStore: import('pinia').StoreDefinition<"phaser/text", Pick<{
|
|
3
|
-
defaultTextStyle: globalThis.Ref<Types.GameObjects.Text.TextStyle | undefined, Types.GameObjects.Text.TextStyle | undefined>;
|
|
4
|
-
}, "defaultTextStyle">, Pick<{
|
|
5
|
-
defaultTextStyle: globalThis.Ref<Types.GameObjects.Text.TextStyle | undefined, Types.GameObjects.Text.TextStyle | undefined>;
|
|
6
|
-
}, never>, Pick<{
|
|
7
|
-
defaultTextStyle: globalThis.Ref<Types.GameObjects.Text.TextStyle | undefined, Types.GameObjects.Text.TextStyle | undefined>;
|
|
8
|
-
}, never>>;
|
|
1
|
+
export declare const useTextStore: any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-phaserjs",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"description": "A component library to integrate Phaser Framework with Vue.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://github.com/Esposter/Esposter/blob/main/packages/vue-phaserjs#readme",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"export:gen": "ctix build --config ../configuration/.ctirc-vue && ctix build --config ../configuration/.ctirc-ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"parse-tmx": "2.
|
|
36
|
+
"parse-tmx": "2.13.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"phaser": "
|
|
40
|
-
"phaser3-rex-plugins": "
|
|
41
|
-
"pinia": "
|
|
42
|
-
"vue": "
|
|
39
|
+
"phaser": "^4.0.0-rc.5",
|
|
40
|
+
"phaser3-rex-plugins": "^1.80.16",
|
|
41
|
+
"pinia": "^3.0.3",
|
|
42
|
+
"vue": "^3.5.18"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "1765c0d90ecc03c94e942d88b8d8da962a8f53bc"
|
|
45
45
|
}
|