evotars 0.0.1

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.
Files changed (49) hide show
  1. package/.editorconfig +13 -0
  2. package/.prettierrc.json +3 -0
  3. package/LICENSE +21 -0
  4. package/README.md +40 -0
  5. package/index.html +13 -0
  6. package/package.json +20 -0
  7. package/public/fonts/Rubik.ttf +0 -0
  8. package/public/sounds/jump.mp3 +0 -0
  9. package/public/sprites/agent/agent.json +166 -0
  10. package/public/sprites/agent/agent.png +0 -0
  11. package/public/sprites/cat/cat.json +231 -0
  12. package/public/sprites/cat/cat.png +0 -0
  13. package/public/sprites/dude/dude.json +231 -0
  14. package/public/sprites/dude/dude.png +0 -0
  15. package/public/sprites/girl/girl.json +231 -0
  16. package/public/sprites/girl/girl.png +0 -0
  17. package/public/sprites/nerd/nerd.json +231 -0
  18. package/public/sprites/nerd/nerd.png +0 -0
  19. package/public/sprites/senior/senior.json +231 -0
  20. package/public/sprites/senior/senior.png +0 -0
  21. package/public/sprites/sith/sith.json +166 -0
  22. package/public/sprites/sith/sith.png +0 -0
  23. package/src/app.ts +63 -0
  24. package/src/config/config.ts +133 -0
  25. package/src/config/constants.ts +1 -0
  26. package/src/dudes.ts +71 -0
  27. package/src/entities/Dude.ts +453 -0
  28. package/src/entities/DudeEmoteSpitter.ts +60 -0
  29. package/src/entities/DudeMessage.ts +163 -0
  30. package/src/entities/DudeName.ts +39 -0
  31. package/src/entities/DudeSpriteContainer.ts +68 -0
  32. package/src/entities/DudeTrailEffect.ts +72 -0
  33. package/src/helpers/timer.ts +43 -0
  34. package/src/helpers/types.ts +11 -0
  35. package/src/index.ts +75 -0
  36. package/src/services/assetsLoader.ts +27 -0
  37. package/src/services/dudesManager.ts +305 -0
  38. package/src/services/soundService.ts +28 -0
  39. package/src/services/spriteProvider.ts +93 -0
  40. package/src/styles.css +16 -0
  41. package/src/types/dto/action.ts +68 -0
  42. package/src/types/dto/chatter.ts +4 -0
  43. package/src/types/dto/event.ts +9 -0
  44. package/src/types/dto/index.ts +6 -0
  45. package/src/types/dto/message.ts +8 -0
  46. package/src/types/dto/settings.ts +5 -0
  47. package/src/types/dto/user.ts +13 -0
  48. package/src/types/index.ts +1 -0
  49. package/tsconfig.json +23 -0
package/.editorconfig ADDED
@@ -0,0 +1,13 @@
1
+ # Editor configuration, see http://editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ charset = utf-8
6
+ indent_style = space
7
+ indent_size = 2
8
+ insert_final_newline = true
9
+ trim_trailing_whitespace = true
10
+
11
+ [*.md]
12
+ max_line_length = off
13
+ trim_trailing_whitespace = false
@@ -0,0 +1,3 @@
1
+ {
2
+ "singleQuote": true
3
+ }
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Mike
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,40 @@
1
+ # Evotars
2
+
3
+ Show animated chatter's evotars on your stream.
4
+
5
+ ## Features
6
+
7
+ When a chatter send a meassage, the evotar appears with the chat box.
8
+
9
+ ## Usage
10
+
11
+ Preinstalled version can be used on your stream right now.
12
+
13
+ Preview: http://dudes2.mikedanagam.space
14
+
15
+ Open OBS or any streaming tool which supported browser overlay.
16
+
17
+ Put URL to the browser source.
18
+
19
+ ## Development
20
+
21
+ Frontend uses PIXI JS for rendering evotars.
22
+
23
+ ```
24
+ npm run dev
25
+ ```
26
+
27
+ ## Creating new sprites
28
+
29
+ It's really easy to create sprites with [Aseprite](https://github.com/aseprite/aseprite)
30
+
31
+ Example can be found in aseprite folder.
32
+
33
+ ## Contributing
34
+
35
+ If you'd like to contribute to this project, please feel free to create pull requests.
36
+
37
+ ## Useful links
38
+
39
+ - [https://0x72.itch.io/pixeldudesmaker](https://0x72.itch.io/pixeldudesmaker)
40
+ - [https://masterpose.itch.io/pixelduuuuudesmaker](https://masterpose.itch.io/pixelduuuuudesmaker)
package/index.html ADDED
@@ -0,0 +1,13 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <title>Evotars</title>
7
+ </head>
8
+ <body>
9
+ <div id="root"></div>
10
+ <script type="module" src="/src/index.ts"></script>
11
+ </body>
12
+ </html>
13
+
package/package.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "evotars",
3
+ "version": "0.0.1",
4
+ "scripts": {
5
+ "dev": "vite",
6
+ "build": "tsc && vite build",
7
+ "preview": "vite preview",
8
+ "lint": "tsc --noEmit"
9
+ },
10
+ "devDependencies": {
11
+ "@types/tinycolor2": "^1.4.6",
12
+ "typescript": "^5.0.2",
13
+ "vite": "^5.2.9"
14
+ },
15
+ "dependencies": {
16
+ "@tweenjs/tween.js": "^23.1.1",
17
+ "pixi.js": "^7.3.1",
18
+ "zod": "^3.22.5"
19
+ }
20
+ }
Binary file
Binary file
@@ -0,0 +1,166 @@
1
+ { "frames": {
2
+ "agent_Body_0": {
3
+ "frame": { "x": 0, "y": 0, "w": 32, "h": 32 },
4
+ "rotated": false,
5
+ "trimmed": false,
6
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
7
+ "sourceSize": { "w": 32, "h": 32 },
8
+ "duration": 300
9
+ },
10
+ "agent_Body_1": {
11
+ "frame": { "x": 32, "y": 0, "w": 32, "h": 32 },
12
+ "rotated": false,
13
+ "trimmed": false,
14
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
15
+ "sourceSize": { "w": 32, "h": 32 },
16
+ "duration": 300
17
+ },
18
+ "agent_Body_2": {
19
+ "frame": { "x": 64, "y": 0, "w": 32, "h": 32 },
20
+ "rotated": false,
21
+ "trimmed": false,
22
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
23
+ "sourceSize": { "w": 32, "h": 32 },
24
+ "duration": 300
25
+ },
26
+ "agent_Body_3": {
27
+ "frame": { "x": 96, "y": 0, "w": 32, "h": 32 },
28
+ "rotated": false,
29
+ "trimmed": false,
30
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
31
+ "sourceSize": { "w": 32, "h": 32 },
32
+ "duration": 100
33
+ },
34
+ "agent_Body_4": {
35
+ "frame": { "x": 128, "y": 0, "w": 32, "h": 32 },
36
+ "rotated": false,
37
+ "trimmed": false,
38
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
39
+ "sourceSize": { "w": 32, "h": 32 },
40
+ "duration": 100
41
+ },
42
+ "agent_Body_5": {
43
+ "frame": { "x": 160, "y": 0, "w": 32, "h": 32 },
44
+ "rotated": false,
45
+ "trimmed": false,
46
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
47
+ "sourceSize": { "w": 32, "h": 32 },
48
+ "duration": 100
49
+ },
50
+ "agent_Body_6": {
51
+ "frame": { "x": 192, "y": 0, "w": 32, "h": 32 },
52
+ "rotated": false,
53
+ "trimmed": false,
54
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
55
+ "sourceSize": { "w": 32, "h": 32 },
56
+ "duration": 100
57
+ },
58
+ "agent_Body_7": {
59
+ "frame": { "x": 224, "y": 0, "w": 32, "h": 32 },
60
+ "rotated": false,
61
+ "trimmed": false,
62
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
63
+ "sourceSize": { "w": 32, "h": 32 },
64
+ "duration": 100
65
+ },
66
+ "agent_Body_8": {
67
+ "frame": { "x": 256, "y": 0, "w": 32, "h": 32 },
68
+ "rotated": false,
69
+ "trimmed": false,
70
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
71
+ "sourceSize": { "w": 32, "h": 32 },
72
+ "duration": 100
73
+ },
74
+ "agent_Eyes_0": {
75
+ "frame": { "x": 0, "y": 32, "w": 32, "h": 32 },
76
+ "rotated": false,
77
+ "trimmed": false,
78
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
79
+ "sourceSize": { "w": 32, "h": 32 },
80
+ "duration": 300
81
+ },
82
+ "agent_Eyes_1": {
83
+ "frame": { "x": 32, "y": 32, "w": 32, "h": 32 },
84
+ "rotated": false,
85
+ "trimmed": false,
86
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
87
+ "sourceSize": { "w": 32, "h": 32 },
88
+ "duration": 300
89
+ },
90
+ "agent_Eyes_2": {
91
+ "frame": { "x": 64, "y": 32, "w": 32, "h": 32 },
92
+ "rotated": false,
93
+ "trimmed": false,
94
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
95
+ "sourceSize": { "w": 32, "h": 32 },
96
+ "duration": 300
97
+ },
98
+ "agent_Eyes_3": {
99
+ "frame": { "x": 96, "y": 32, "w": 32, "h": 32 },
100
+ "rotated": false,
101
+ "trimmed": false,
102
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
103
+ "sourceSize": { "w": 32, "h": 32 },
104
+ "duration": 100
105
+ },
106
+ "agent_Eyes_4": {
107
+ "frame": { "x": 128, "y": 32, "w": 32, "h": 32 },
108
+ "rotated": false,
109
+ "trimmed": false,
110
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
111
+ "sourceSize": { "w": 32, "h": 32 },
112
+ "duration": 100
113
+ },
114
+ "agent_Eyes_5": {
115
+ "frame": { "x": 160, "y": 32, "w": 32, "h": 32 },
116
+ "rotated": false,
117
+ "trimmed": false,
118
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
119
+ "sourceSize": { "w": 32, "h": 32 },
120
+ "duration": 100
121
+ },
122
+ "agent_Eyes_6": {
123
+ "frame": { "x": 192, "y": 32, "w": 32, "h": 32 },
124
+ "rotated": false,
125
+ "trimmed": false,
126
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
127
+ "sourceSize": { "w": 32, "h": 32 },
128
+ "duration": 100
129
+ },
130
+ "agent_Eyes_7": {
131
+ "frame": { "x": 224, "y": 32, "w": 32, "h": 32 },
132
+ "rotated": false,
133
+ "trimmed": false,
134
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
135
+ "sourceSize": { "w": 32, "h": 32 },
136
+ "duration": 100
137
+ },
138
+ "agent_Eyes_8": {
139
+ "frame": { "x": 256, "y": 32, "w": 32, "h": 32 },
140
+ "rotated": false,
141
+ "trimmed": false,
142
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
143
+ "sourceSize": { "w": 32, "h": 32 },
144
+ "duration": 100
145
+ }
146
+ },
147
+ "meta": {
148
+ "app": "https://www.aseprite.org/",
149
+ "version": "1.x-dev",
150
+ "image": "agent.png",
151
+ "format": "RGBA8888",
152
+ "size": { "w": 288, "h": 64 },
153
+ "scale": "1",
154
+ "frameTags": [
155
+ { "name": "Idle", "from": 0, "to": 2, "direction": "forward", "color": "#000000ff" },
156
+ { "name": "Jump", "from": 3, "to": 3, "direction": "forward", "color": "#000000ff" },
157
+ { "name": "Fall", "from": 4, "to": 4, "direction": "forward", "color": "#000000ff" },
158
+ { "name": "Land", "from": 5, "to": 5, "direction": "forward", "color": "#000000ff" },
159
+ { "name": "Run", "from": 6, "to": 8, "direction": "forward", "color": "#000000ff" }
160
+ ],
161
+ "layers": [
162
+ { "name": "Body", "opacity": 255, "blendMode": "normal" },
163
+ { "name": "Eyes", "opacity": 255, "blendMode": "normal" }
164
+ ]
165
+ }
166
+ }
Binary file
@@ -0,0 +1,231 @@
1
+ { "frames": {
2
+ "cat_Body_0": {
3
+ "frame": { "x": 0, "y": 0, "w": 32, "h": 32 },
4
+ "rotated": false,
5
+ "trimmed": false,
6
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
7
+ "sourceSize": { "w": 32, "h": 32 },
8
+ "duration": 300
9
+ },
10
+ "cat_Body_1": {
11
+ "frame": { "x": 32, "y": 0, "w": 32, "h": 32 },
12
+ "rotated": false,
13
+ "trimmed": false,
14
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
15
+ "sourceSize": { "w": 32, "h": 32 },
16
+ "duration": 300
17
+ },
18
+ "cat_Body_2": {
19
+ "frame": { "x": 64, "y": 0, "w": 32, "h": 32 },
20
+ "rotated": false,
21
+ "trimmed": false,
22
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
23
+ "sourceSize": { "w": 32, "h": 32 },
24
+ "duration": 300
25
+ },
26
+ "cat_Body_3": {
27
+ "frame": { "x": 96, "y": 0, "w": 32, "h": 32 },
28
+ "rotated": false,
29
+ "trimmed": false,
30
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
31
+ "sourceSize": { "w": 32, "h": 32 },
32
+ "duration": 100
33
+ },
34
+ "cat_Body_4": {
35
+ "frame": { "x": 128, "y": 0, "w": 32, "h": 32 },
36
+ "rotated": false,
37
+ "trimmed": false,
38
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
39
+ "sourceSize": { "w": 32, "h": 32 },
40
+ "duration": 100
41
+ },
42
+ "cat_Body_5": {
43
+ "frame": { "x": 160, "y": 0, "w": 32, "h": 32 },
44
+ "rotated": false,
45
+ "trimmed": false,
46
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
47
+ "sourceSize": { "w": 32, "h": 32 },
48
+ "duration": 100
49
+ },
50
+ "cat_Body_6": {
51
+ "frame": { "x": 192, "y": 0, "w": 32, "h": 32 },
52
+ "rotated": false,
53
+ "trimmed": false,
54
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
55
+ "sourceSize": { "w": 32, "h": 32 },
56
+ "duration": 100
57
+ },
58
+ "cat_Body_7": {
59
+ "frame": { "x": 224, "y": 0, "w": 32, "h": 32 },
60
+ "rotated": false,
61
+ "trimmed": false,
62
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
63
+ "sourceSize": { "w": 32, "h": 32 },
64
+ "duration": 100
65
+ },
66
+ "cat_Body_8": {
67
+ "frame": { "x": 256, "y": 0, "w": 32, "h": 32 },
68
+ "rotated": false,
69
+ "trimmed": false,
70
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
71
+ "sourceSize": { "w": 32, "h": 32 },
72
+ "duration": 100
73
+ },
74
+ "cat_Body_9": {
75
+ "frame": { "x": 288, "y": 0, "w": 32, "h": 32 },
76
+ "rotated": false,
77
+ "trimmed": false,
78
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
79
+ "sourceSize": { "w": 32, "h": 32 },
80
+ "duration": 300
81
+ },
82
+ "cat_Body_10": {
83
+ "frame": { "x": 320, "y": 0, "w": 32, "h": 32 },
84
+ "rotated": false,
85
+ "trimmed": false,
86
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
87
+ "sourceSize": { "w": 32, "h": 32 },
88
+ "duration": 300
89
+ },
90
+ "cat_Body_11": {
91
+ "frame": { "x": 352, "y": 0, "w": 32, "h": 32 },
92
+ "rotated": false,
93
+ "trimmed": false,
94
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
95
+ "sourceSize": { "w": 32, "h": 32 },
96
+ "duration": 300
97
+ },
98
+ "cat_Body_12": {
99
+ "frame": { "x": 384, "y": 0, "w": 32, "h": 32 },
100
+ "rotated": false,
101
+ "trimmed": false,
102
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
103
+ "sourceSize": { "w": 32, "h": 32 },
104
+ "duration": 1000
105
+ },
106
+ "cat_Eyes_0": {
107
+ "frame": { "x": 0, "y": 32, "w": 32, "h": 32 },
108
+ "rotated": false,
109
+ "trimmed": false,
110
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
111
+ "sourceSize": { "w": 32, "h": 32 },
112
+ "duration": 300
113
+ },
114
+ "cat_Eyes_1": {
115
+ "frame": { "x": 32, "y": 32, "w": 32, "h": 32 },
116
+ "rotated": false,
117
+ "trimmed": false,
118
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
119
+ "sourceSize": { "w": 32, "h": 32 },
120
+ "duration": 300
121
+ },
122
+ "cat_Eyes_2": {
123
+ "frame": { "x": 64, "y": 32, "w": 32, "h": 32 },
124
+ "rotated": false,
125
+ "trimmed": false,
126
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
127
+ "sourceSize": { "w": 32, "h": 32 },
128
+ "duration": 300
129
+ },
130
+ "cat_Eyes_3": {
131
+ "frame": { "x": 96, "y": 32, "w": 32, "h": 32 },
132
+ "rotated": false,
133
+ "trimmed": false,
134
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
135
+ "sourceSize": { "w": 32, "h": 32 },
136
+ "duration": 100
137
+ },
138
+ "cat_Eyes_4": {
139
+ "frame": { "x": 128, "y": 32, "w": 32, "h": 32 },
140
+ "rotated": false,
141
+ "trimmed": false,
142
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
143
+ "sourceSize": { "w": 32, "h": 32 },
144
+ "duration": 100
145
+ },
146
+ "cat_Eyes_5": {
147
+ "frame": { "x": 160, "y": 32, "w": 32, "h": 32 },
148
+ "rotated": false,
149
+ "trimmed": false,
150
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
151
+ "sourceSize": { "w": 32, "h": 32 },
152
+ "duration": 100
153
+ },
154
+ "cat_Eyes_6": {
155
+ "frame": { "x": 192, "y": 32, "w": 32, "h": 32 },
156
+ "rotated": false,
157
+ "trimmed": false,
158
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
159
+ "sourceSize": { "w": 32, "h": 32 },
160
+ "duration": 100
161
+ },
162
+ "cat_Eyes_7": {
163
+ "frame": { "x": 224, "y": 32, "w": 32, "h": 32 },
164
+ "rotated": false,
165
+ "trimmed": false,
166
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
167
+ "sourceSize": { "w": 32, "h": 32 },
168
+ "duration": 100
169
+ },
170
+ "cat_Eyes_8": {
171
+ "frame": { "x": 256, "y": 32, "w": 32, "h": 32 },
172
+ "rotated": false,
173
+ "trimmed": false,
174
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
175
+ "sourceSize": { "w": 32, "h": 32 },
176
+ "duration": 100
177
+ },
178
+ "cat_Eyes_9": {
179
+ "frame": { "x": 288, "y": 32, "w": 32, "h": 32 },
180
+ "rotated": false,
181
+ "trimmed": false,
182
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
183
+ "sourceSize": { "w": 32, "h": 32 },
184
+ "duration": 300
185
+ },
186
+ "cat_Eyes_10": {
187
+ "frame": { "x": 320, "y": 32, "w": 32, "h": 32 },
188
+ "rotated": false,
189
+ "trimmed": false,
190
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
191
+ "sourceSize": { "w": 32, "h": 32 },
192
+ "duration": 300
193
+ },
194
+ "cat_Eyes_11": {
195
+ "frame": { "x": 352, "y": 32, "w": 32, "h": 32 },
196
+ "rotated": false,
197
+ "trimmed": false,
198
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
199
+ "sourceSize": { "w": 32, "h": 32 },
200
+ "duration": 300
201
+ },
202
+ "cat_Eyes_12": {
203
+ "frame": { "x": 384, "y": 32, "w": 32, "h": 32 },
204
+ "rotated": false,
205
+ "trimmed": false,
206
+ "spriteSourceSize": { "x": 0, "y": 0, "w": 32, "h": 32 },
207
+ "sourceSize": { "w": 32, "h": 32 },
208
+ "duration": 1000
209
+ }
210
+ },
211
+ "meta": {
212
+ "app": "https://www.aseprite.org/",
213
+ "version": "1.x-dev",
214
+ "image": "cat.png",
215
+ "format": "RGBA8888",
216
+ "size": { "w": 416, "h": 64 },
217
+ "scale": "1",
218
+ "frameTags": [
219
+ { "name": "Idle", "from": 0, "to": 2, "direction": "forward", "color": "#000000ff" },
220
+ { "name": "Jump", "from": 3, "to": 3, "direction": "forward", "color": "#000000ff" },
221
+ { "name": "Fall", "from": 4, "to": 4, "direction": "forward", "color": "#000000ff" },
222
+ { "name": "Land", "from": 5, "to": 5, "direction": "forward", "color": "#000000ff" },
223
+ { "name": "Run", "from": 6, "to": 8, "direction": "forward", "color": "#000000ff" },
224
+ { "name": "Die", "from": 9, "to": 12, "direction": "forward", "color": "#000000ff" }
225
+ ],
226
+ "layers": [
227
+ { "name": "Body", "opacity": 255, "blendMode": "normal" },
228
+ { "name": "Eyes", "opacity": 255, "blendMode": "normal" }
229
+ ]
230
+ }
231
+ }
Binary file