evotars 0.0.11 → 0.0.12
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/CanvasPool-5ekdWScU.js +46 -0
- package/dist/SharedSystems-n7sA1Ui-.js +2134 -0
- package/dist/WebGLRenderer-BUvcWTmB.js +2564 -0
- package/dist/WebGPURenderer-BPb_585F.js +1561 -0
- package/dist/browserAll-DR-9ZkSp.js +1968 -0
- package/dist/colorToUniform-Cp4M-zOy.js +1308 -0
- package/dist/evotars.js +6 -26282
- package/dist/evotars.umd.cjs +902 -1069
- package/dist/getBatchSamplersUniformGroup-CIYh8OT7.js +16 -0
- package/dist/index-B5GUB2He.js +14036 -0
- package/dist/index.d.ts +9 -21
- package/dist/webworkerAll-Bg_9Ksbn.js +2661 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { SpritesheetData as SpritesheetData_2 } from 'pixi.js';
|
|
2
|
+
import { SpritesheetFrameData as SpritesheetFrameData_2 } from 'pixi.js';
|
|
3
3
|
|
|
4
4
|
export declare type ActionableData = {
|
|
5
5
|
arguments: string[];
|
|
@@ -29,13 +29,6 @@ declare type Collider = {
|
|
|
29
29
|
h: number;
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
-
export declare type ColorUserActionEntity = {
|
|
33
|
-
name: 'color';
|
|
34
|
-
data: {
|
|
35
|
-
color: string;
|
|
36
|
-
};
|
|
37
|
-
} & UserActionEntity;
|
|
38
|
-
|
|
39
32
|
export declare type DashUserActionEntity = {
|
|
40
33
|
name: 'dash';
|
|
41
34
|
data: {
|
|
@@ -73,15 +66,17 @@ export declare type GrowUserActionEntity = {
|
|
|
73
66
|
};
|
|
74
67
|
} & UserActionEntity;
|
|
75
68
|
|
|
76
|
-
export declare
|
|
69
|
+
export declare type InfoUserActionEntity = {
|
|
70
|
+
name: 'info';
|
|
71
|
+
} & UserActionEntity;
|
|
77
72
|
|
|
78
73
|
export declare const isDashUserActionEntity: (entity: ActionEntity) => entity is DashUserActionEntity;
|
|
79
74
|
|
|
80
75
|
export declare const isGrowUserActionEntity: (entity: ActionEntity) => entity is GrowUserActionEntity;
|
|
81
76
|
|
|
82
|
-
export declare const
|
|
77
|
+
export declare const isInfoUserActionEntity: (entity: ActionEntity) => entity is InfoUserActionEntity;
|
|
83
78
|
|
|
84
|
-
export declare const
|
|
79
|
+
export declare const isJumpUserActionEntity: (entity: ActionEntity) => entity is JumpUserActionEntity;
|
|
85
80
|
|
|
86
81
|
export declare type JumpUserActionEntity = {
|
|
87
82
|
name: 'jump';
|
|
@@ -127,11 +122,11 @@ declare type SpriteLoaderFn = (name: string) => Promise<{
|
|
|
127
122
|
image: string;
|
|
128
123
|
} | undefined>;
|
|
129
124
|
|
|
130
|
-
declare interface SpritesheetData extends
|
|
125
|
+
declare interface SpritesheetData extends SpritesheetData_2 {
|
|
131
126
|
frames: Record<string, SpritesheetFrameData>;
|
|
132
127
|
}
|
|
133
128
|
|
|
134
|
-
declare interface SpritesheetFrameData extends
|
|
129
|
+
declare interface SpritesheetFrameData extends SpritesheetFrameData_2 {
|
|
135
130
|
duration: number;
|
|
136
131
|
}
|
|
137
132
|
|
|
@@ -140,13 +135,6 @@ declare type SpriteSize = {
|
|
|
140
135
|
h: number;
|
|
141
136
|
};
|
|
142
137
|
|
|
143
|
-
export declare type SpriteUserActionEntity = {
|
|
144
|
-
name: 'sprite';
|
|
145
|
-
data: {
|
|
146
|
-
sprite: string;
|
|
147
|
-
};
|
|
148
|
-
} & UserActionEntity;
|
|
149
|
-
|
|
150
138
|
export declare type TwitchChatterEntity = {
|
|
151
139
|
userId: string;
|
|
152
140
|
name: string;
|