kiwiengine 0.5.2 → 0.5.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/README.ko.md +2 -2
- package/README.md +2 -2
- package/examples/auto-battle/assets/bgm/battle.mp3 +0 -0
- package/examples/auto-battle/assets/bitmap-fonts/white-peaberry.fnt +107 -0
- package/examples/auto-battle/assets/bitmap-fonts/white-peaberry.png +0 -0
- package/examples/auto-battle/assets/joystick/joystick.png +0 -0
- package/examples/auto-battle/assets/joystick/knob.png +0 -0
- package/examples/auto-battle/assets/sfx/hero/die/die.wav +0 -0
- package/examples/auto-battle/assets/sfx/hero/heal/heal.wav +0 -0
- package/examples/auto-battle/assets/sfx/hero/hit/hit1.wav +0 -0
- package/examples/auto-battle/assets/sfx/hero/hit/hit2.wav +0 -0
- package/examples/auto-battle/assets/sfx/hero/hit/hit3.wav +0 -0
- package/examples/auto-battle/assets/sfx/hero/miss/miss1.wav +0 -0
- package/examples/auto-battle/assets/sfx/hero/miss/miss2.wav +0 -0
- package/examples/auto-battle/assets/sfx/hero/miss/miss3.wav +0 -0
- package/examples/auto-battle/assets/sfx/orc/die/die.wav +0 -0
- package/examples/auto-battle/assets/sfx/orc/hit/hit1.wav +0 -0
- package/examples/auto-battle/assets/sfx/orc/hit/hit2.wav +0 -0
- package/examples/auto-battle/assets/sfx/orc/hit/hit3.wav +0 -0
- package/examples/auto-battle/assets/sfx/orc/miss/miss1.wav +0 -0
- package/examples/auto-battle/assets/sfx/orc/miss/miss2.wav +0 -0
- package/examples/auto-battle/assets/sfx/orc/miss/miss3.wav +0 -0
- package/examples/auto-battle/assets/spritesheets/hero-atlas.json +246 -0
- package/examples/auto-battle/assets/spritesheets/hero.png +0 -0
- package/examples/auto-battle/assets/spritesheets/orc-atlas.json +246 -0
- package/examples/auto-battle/assets/spritesheets/orc.png +0 -0
- package/examples/auto-battle/assets/spritesheets/potion-atlas.json +68 -0
- package/examples/auto-battle/assets/spritesheets/potion.png +0 -0
- package/examples/auto-battle/dist/game.js +2 -0
- package/examples/auto-battle/dist/game.js.LICENSE.txt +35 -0
- package/examples/auto-battle/hud/damage-text.ts +46 -0
- package/examples/auto-battle/hud/heal-text.ts +46 -0
- package/examples/auto-battle/hud/hp-bar.ts +38 -0
- package/examples/auto-battle/index.ts +41 -0
- package/examples/auto-battle/objects/character.ts +95 -0
- package/examples/auto-battle/objects/hero.ts +119 -0
- package/examples/auto-battle/objects/orc.ts +107 -0
- package/examples/auto-battle/objects/potion.ts +27 -0
- package/examples/auto-battle/stage.ts +366 -0
- package/examples/battle-benchmark-matterjs/assets/bgm/battle.mp3 +0 -0
- package/examples/battle-benchmark-matterjs/assets/bitmap-fonts/white-peaberry.fnt +107 -0
- package/examples/battle-benchmark-matterjs/assets/bitmap-fonts/white-peaberry.png +0 -0
- package/examples/battle-benchmark-matterjs/assets/joystick/joystick.png +0 -0
- package/examples/battle-benchmark-matterjs/assets/joystick/knob.png +0 -0
- package/examples/battle-benchmark-matterjs/assets/sfx/hero/die/die.wav +0 -0
- package/examples/battle-benchmark-matterjs/assets/sfx/hero/heal/heal.wav +0 -0
- package/examples/battle-benchmark-matterjs/assets/sfx/hero/hit/hit1.wav +0 -0
- package/examples/battle-benchmark-matterjs/assets/sfx/hero/hit/hit2.wav +0 -0
- package/examples/battle-benchmark-matterjs/assets/sfx/hero/hit/hit3.wav +0 -0
- package/examples/battle-benchmark-matterjs/assets/sfx/hero/miss/miss1.wav +0 -0
- package/examples/battle-benchmark-matterjs/assets/sfx/hero/miss/miss2.wav +0 -0
- package/examples/battle-benchmark-matterjs/assets/sfx/hero/miss/miss3.wav +0 -0
- package/examples/battle-benchmark-matterjs/assets/sfx/orc/die/die.wav +0 -0
- package/examples/battle-benchmark-matterjs/assets/sfx/orc/hit/hit1.wav +0 -0
- package/examples/battle-benchmark-matterjs/assets/sfx/orc/hit/hit2.wav +0 -0
- package/examples/battle-benchmark-matterjs/assets/sfx/orc/hit/hit3.wav +0 -0
- package/examples/battle-benchmark-matterjs/assets/sfx/orc/miss/miss1.wav +0 -0
- package/examples/battle-benchmark-matterjs/assets/sfx/orc/miss/miss2.wav +0 -0
- package/examples/battle-benchmark-matterjs/assets/sfx/orc/miss/miss3.wav +0 -0
- package/examples/battle-benchmark-matterjs/assets/spritesheets/hero-atlas.json +246 -0
- package/examples/battle-benchmark-matterjs/assets/spritesheets/hero.png +0 -0
- package/examples/battle-benchmark-matterjs/assets/spritesheets/orc-atlas.json +246 -0
- package/examples/battle-benchmark-matterjs/assets/spritesheets/orc.png +0 -0
- package/examples/battle-benchmark-matterjs/assets/spritesheets/potion-atlas.json +68 -0
- package/examples/battle-benchmark-matterjs/assets/spritesheets/potion.png +0 -0
- package/examples/battle-benchmark-matterjs/dist/game.js +2 -0
- package/examples/battle-benchmark-matterjs/dist/game.js.LICENSE.txt +35 -0
- package/examples/battle-benchmark-matterjs/hud/damage-text.ts +46 -0
- package/examples/battle-benchmark-matterjs/hud/heal-text.ts +46 -0
- package/examples/battle-benchmark-matterjs/hud/hp-bar.ts +38 -0
- package/examples/battle-benchmark-matterjs/index.html +24 -0
- package/examples/battle-benchmark-matterjs/index.ts +41 -0
- package/examples/battle-benchmark-matterjs/objects/character.ts +95 -0
- package/examples/battle-benchmark-matterjs/objects/hero.ts +111 -0
- package/examples/battle-benchmark-matterjs/objects/orc.ts +107 -0
- package/examples/battle-benchmark-matterjs/objects/potion.ts +27 -0
- package/examples/battle-benchmark-matterjs/stage.ts +177 -0
- package/examples/battle-benchmark-separation/assets/bgm/battle.mp3 +0 -0
- package/examples/battle-benchmark-separation/assets/bitmap-fonts/white-peaberry.fnt +107 -0
- package/examples/battle-benchmark-separation/assets/bitmap-fonts/white-peaberry.png +0 -0
- package/examples/battle-benchmark-separation/assets/joystick/joystick.png +0 -0
- package/examples/battle-benchmark-separation/assets/joystick/knob.png +0 -0
- package/examples/battle-benchmark-separation/assets/sfx/hero/die/die.wav +0 -0
- package/examples/battle-benchmark-separation/assets/sfx/hero/heal/heal.wav +0 -0
- package/examples/battle-benchmark-separation/assets/sfx/hero/hit/hit1.wav +0 -0
- package/examples/battle-benchmark-separation/assets/sfx/hero/hit/hit2.wav +0 -0
- package/examples/battle-benchmark-separation/assets/sfx/hero/hit/hit3.wav +0 -0
- package/examples/battle-benchmark-separation/assets/sfx/hero/miss/miss1.wav +0 -0
- package/examples/battle-benchmark-separation/assets/sfx/hero/miss/miss2.wav +0 -0
- package/examples/battle-benchmark-separation/assets/sfx/hero/miss/miss3.wav +0 -0
- package/examples/battle-benchmark-separation/assets/sfx/orc/die/die.wav +0 -0
- package/examples/battle-benchmark-separation/assets/sfx/orc/hit/hit1.wav +0 -0
- package/examples/battle-benchmark-separation/assets/sfx/orc/hit/hit2.wav +0 -0
- package/examples/battle-benchmark-separation/assets/sfx/orc/hit/hit3.wav +0 -0
- package/examples/battle-benchmark-separation/assets/sfx/orc/miss/miss1.wav +0 -0
- package/examples/battle-benchmark-separation/assets/sfx/orc/miss/miss2.wav +0 -0
- package/examples/battle-benchmark-separation/assets/sfx/orc/miss/miss3.wav +0 -0
- package/examples/battle-benchmark-separation/assets/spritesheets/hero-atlas.json +246 -0
- package/examples/battle-benchmark-separation/assets/spritesheets/hero.png +0 -0
- package/examples/battle-benchmark-separation/assets/spritesheets/orc-atlas.json +246 -0
- package/examples/battle-benchmark-separation/assets/spritesheets/orc.png +0 -0
- package/examples/battle-benchmark-separation/assets/spritesheets/potion-atlas.json +68 -0
- package/examples/battle-benchmark-separation/assets/spritesheets/potion.png +0 -0
- package/examples/battle-benchmark-separation/dist/game.js +2 -0
- package/examples/battle-benchmark-separation/dist/game.js.LICENSE.txt +35 -0
- package/examples/battle-benchmark-separation/hud/damage-text.ts +46 -0
- package/examples/battle-benchmark-separation/hud/heal-text.ts +46 -0
- package/examples/battle-benchmark-separation/hud/hp-bar.ts +38 -0
- package/examples/battle-benchmark-separation/index.html +24 -0
- package/examples/battle-benchmark-separation/index.ts +41 -0
- package/examples/battle-benchmark-separation/objects/character.ts +225 -0
- package/examples/battle-benchmark-separation/objects/hero.ts +110 -0
- package/examples/battle-benchmark-separation/objects/orc.ts +213 -0
- package/examples/battle-benchmark-separation/objects/potion.ts +27 -0
- package/examples/battle-benchmark-separation/stage.ts +178 -0
- package/examples/battle-benchmark-separation2/assets/bgm/battle.mp3 +0 -0
- package/examples/battle-benchmark-separation2/assets/bitmap-fonts/white-peaberry.fnt +107 -0
- package/examples/battle-benchmark-separation2/assets/bitmap-fonts/white-peaberry.png +0 -0
- package/examples/battle-benchmark-separation2/assets/joystick/joystick.png +0 -0
- package/examples/battle-benchmark-separation2/assets/joystick/knob.png +0 -0
- package/examples/battle-benchmark-separation2/assets/sfx/hero/die/die.wav +0 -0
- package/examples/battle-benchmark-separation2/assets/sfx/hero/heal/heal.wav +0 -0
- package/examples/battle-benchmark-separation2/assets/sfx/hero/hit/hit1.wav +0 -0
- package/examples/battle-benchmark-separation2/assets/sfx/hero/hit/hit2.wav +0 -0
- package/examples/battle-benchmark-separation2/assets/sfx/hero/hit/hit3.wav +0 -0
- package/examples/battle-benchmark-separation2/assets/sfx/hero/miss/miss1.wav +0 -0
- package/examples/battle-benchmark-separation2/assets/sfx/hero/miss/miss2.wav +0 -0
- package/examples/battle-benchmark-separation2/assets/sfx/hero/miss/miss3.wav +0 -0
- package/examples/battle-benchmark-separation2/assets/sfx/orc/die/die.wav +0 -0
- package/examples/battle-benchmark-separation2/assets/sfx/orc/hit/hit1.wav +0 -0
- package/examples/battle-benchmark-separation2/assets/sfx/orc/hit/hit2.wav +0 -0
- package/examples/battle-benchmark-separation2/assets/sfx/orc/hit/hit3.wav +0 -0
- package/examples/battle-benchmark-separation2/assets/sfx/orc/miss/miss1.wav +0 -0
- package/examples/battle-benchmark-separation2/assets/sfx/orc/miss/miss2.wav +0 -0
- package/examples/battle-benchmark-separation2/assets/sfx/orc/miss/miss3.wav +0 -0
- package/examples/battle-benchmark-separation2/assets/spritesheets/hero-atlas.json +246 -0
- package/examples/battle-benchmark-separation2/assets/spritesheets/hero.png +0 -0
- package/examples/battle-benchmark-separation2/assets/spritesheets/orc-atlas.json +246 -0
- package/examples/battle-benchmark-separation2/assets/spritesheets/orc.png +0 -0
- package/examples/battle-benchmark-separation2/assets/spritesheets/potion-atlas.json +68 -0
- package/examples/battle-benchmark-separation2/assets/spritesheets/potion.png +0 -0
- package/examples/battle-benchmark-separation2/dist/game.js +2 -0
- package/examples/battle-benchmark-separation2/dist/game.js.LICENSE.txt +35 -0
- package/examples/battle-benchmark-separation2/hud/damage-text.ts +46 -0
- package/examples/battle-benchmark-separation2/hud/heal-text.ts +46 -0
- package/examples/battle-benchmark-separation2/hud/hp-bar.ts +38 -0
- package/examples/battle-benchmark-separation2/index.html +24 -0
- package/examples/battle-benchmark-separation2/index.ts +41 -0
- package/examples/battle-benchmark-separation2/objects/character.ts +195 -0
- package/examples/battle-benchmark-separation2/objects/hero.ts +110 -0
- package/examples/battle-benchmark-separation2/objects/orc.ts +213 -0
- package/examples/battle-benchmark-separation2/objects/potion.ts +27 -0
- package/examples/battle-benchmark-separation2/stage.ts +178 -0
- package/examples/dom-sprite-test/index.ts +6 -9
- package/examples/simple-battle/assets/spritesheets/hero-atlas.json +180 -223
- package/examples/simple-battle/assets/spritesheets/orc-atlas.json +180 -223
- package/examples/simple-battle/assets/spritesheets/potion-atlas.json +46 -61
- package/examples/simple-battle/hud/damage-text.ts +1 -0
- package/examples/simple-battle/hud/heal-text.ts +1 -0
- package/examples/simple-battle/objects/character.ts +3 -3
- package/examples/simple-battle/objects/hero.ts +3 -5
- package/examples/simple-battle/objects/orc.ts +3 -5
- package/examples/simple-battle/objects/potion.ts +0 -2
- package/examples/simple-battle/stage.ts +2 -4
- package/examples/sprite-test/index.ts +6 -9
- package/examples/webpack.config.js +4 -1
- package/lib/asset/loaders/audio.js +4 -1
- package/lib/asset/loaders/audio.js.map +1 -1
- package/lib/asset/loaders/binary.js +4 -1
- package/lib/asset/loaders/binary.js.map +1 -1
- package/lib/asset/loaders/bitmap-font.js +24 -21
- package/lib/asset/loaders/bitmap-font.js.map +1 -1
- package/lib/asset/loaders/font.js +3 -0
- package/lib/asset/loaders/font.js.map +1 -1
- package/lib/asset/loaders/spritesheet.js +12 -1
- package/lib/asset/loaders/spritesheet.js.map +1 -1
- package/lib/asset/loaders/text.js +3 -0
- package/lib/asset/loaders/text.js.map +1 -1
- package/lib/asset/loaders/texture.js +21 -26
- package/lib/asset/loaders/texture.js.map +1 -1
- package/lib/asset/preload.js.map +1 -1
- package/lib/collision/check-collision.js +16 -16
- package/lib/collision/check-collision.js.map +1 -1
- package/lib/dom/dom-animated-sprite.js +21 -36
- package/lib/dom/dom-animated-sprite.js.map +1 -1
- package/lib/dom/dom-game-object.js +9 -7
- package/lib/dom/dom-game-object.js.map +1 -1
- package/lib/dom/dom-particle.js.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/node/core/dirty-number.js +0 -19
- package/lib/node/core/dirty-number.js.map +1 -1
- package/lib/node/core/renderable.js +7 -0
- package/lib/node/core/renderable.js.map +1 -1
- package/lib/node/core/transform.js +22 -11
- package/lib/node/core/transform.js.map +1 -1
- package/lib/node/ext/animated-sprite.js +3 -22
- package/lib/node/ext/animated-sprite.js.map +1 -1
- package/lib/node/ext/bitmap-text.js +7 -3
- package/lib/node/ext/bitmap-text.js.map +1 -1
- package/lib/node/ext/circle.js +18 -3
- package/lib/node/ext/circle.js.map +1 -1
- package/lib/node/ext/deplay.js +2 -0
- package/lib/node/ext/deplay.js.map +1 -1
- package/lib/node/ext/dom-container.js +2 -2
- package/lib/node/ext/dom-container.js.map +1 -1
- package/lib/node/ext/interval.js +2 -0
- package/lib/node/ext/interval.js.map +1 -1
- package/lib/node/ext/particle.js.map +1 -1
- package/lib/node/ext/rectangle.js +24 -4
- package/lib/node/ext/rectangle.js.map +1 -1
- package/lib/node/physics/physics-object.js +9 -29
- package/lib/node/physics/physics-object.js.map +1 -1
- package/lib/node/physics/physics-world.js +2 -0
- package/lib/node/physics/physics-world.js.map +1 -1
- package/lib/node/physics/rigidbodies.js +7 -0
- package/lib/node/physics/rigidbodies.js.map +1 -0
- package/lib/renderer/renderer.js +3 -2
- package/lib/renderer/renderer.js.map +1 -1
- package/lib/types/animation-atlas.js +2 -0
- package/lib/types/animation-atlas.js.map +1 -0
- package/lib/types/asset/loaders/audio.d.ts +1 -0
- package/lib/types/asset/loaders/audio.d.ts.map +1 -1
- package/lib/types/asset/loaders/binary.d.ts +1 -0
- package/lib/types/asset/loaders/binary.d.ts.map +1 -1
- package/lib/types/asset/loaders/bitmap-font.d.ts +1 -0
- package/lib/types/asset/loaders/bitmap-font.d.ts.map +1 -1
- package/lib/types/asset/loaders/font.d.ts +1 -0
- package/lib/types/asset/loaders/font.d.ts.map +1 -1
- package/lib/types/asset/loaders/spritesheet.d.ts +11 -3
- package/lib/types/asset/loaders/spritesheet.d.ts.map +1 -1
- package/lib/types/asset/loaders/text.d.ts +1 -0
- package/lib/types/asset/loaders/text.d.ts.map +1 -1
- package/lib/types/asset/loaders/texture.d.ts +1 -1
- package/lib/types/asset/loaders/texture.d.ts.map +1 -1
- package/lib/types/asset/preload.d.ts +2 -2
- package/lib/types/asset/preload.d.ts.map +1 -1
- package/lib/types/atlas copy.js +2 -0
- package/lib/types/atlas copy.js.map +1 -0
- package/lib/types/atlas.js +2 -0
- package/lib/types/atlas.js.map +1 -0
- package/lib/types/dom/dom-animated-sprite.d.ts +4 -10
- package/lib/types/dom/dom-animated-sprite.d.ts.map +1 -1
- package/lib/types/dom/dom-game-object.d.ts +1 -1
- package/lib/types/dom/dom-game-object.d.ts.map +1 -1
- package/lib/types/dom/dom-particle.d.ts.map +1 -1
- package/lib/types/index.d.ts +2 -0
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/node/core/dirty-number.d.ts +0 -8
- package/lib/types/node/core/dirty-number.d.ts.map +1 -1
- package/lib/types/node/core/renderable.d.ts +1 -0
- package/lib/types/node/core/renderable.d.ts.map +1 -1
- package/lib/types/node/core/transform.d.ts +4 -2
- package/lib/types/node/core/transform.d.ts.map +1 -1
- package/lib/types/node/ext/animated-sprite.d.ts +4 -10
- package/lib/types/node/ext/animated-sprite.d.ts.map +1 -1
- package/lib/types/node/ext/bitmap-text.d.ts.map +1 -1
- package/lib/types/node/ext/circle.d.ts +3 -3
- package/lib/types/node/ext/circle.d.ts.map +1 -1
- package/lib/types/node/ext/deplay.d.ts.map +1 -1
- package/lib/types/node/ext/dom-container.d.ts +1 -1
- package/lib/types/node/ext/dom-container.d.ts.map +1 -1
- package/lib/types/node/ext/interval.d.ts.map +1 -1
- package/lib/types/node/ext/particle.d.ts.map +1 -1
- package/lib/types/node/ext/rectangle.d.ts +4 -4
- package/lib/types/node/ext/rectangle.d.ts.map +1 -1
- package/lib/types/node/physics/physics-object.d.ts +2 -2
- package/lib/types/node/physics/physics-object.d.ts.map +1 -1
- package/lib/types/node/physics/physics-world.d.ts.map +1 -1
- package/lib/types/node/physics/rigidbodies.d.ts +23 -0
- package/lib/types/node/physics/rigidbodies.d.ts.map +1 -0
- package/lib/types/renderer/renderer.d.ts.map +1 -1
- package/lib/types/sprite-atlas.js +2 -0
- package/lib/types/sprite-atlas.js.map +1 -0
- package/lib/types/types/animation-atlas.d.ts +14 -0
- package/lib/types/types/animation-atlas.d.ts.map +1 -0
- package/lib/types/types/atlas copy.d.ts +12 -0
- package/lib/types/types/atlas copy.d.ts.map +1 -0
- package/lib/types/types/atlas.d.ts +16 -0
- package/lib/types/types/atlas.d.ts.map +1 -0
- package/lib/types/types/sprite-atlas.d.ts +13 -0
- package/lib/types/types/sprite-atlas.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/asset/loaders/audio.ts +5 -2
- package/src/asset/loaders/binary.ts +5 -1
- package/src/asset/loaders/bitmap-font.ts +33 -27
- package/src/asset/loaders/font.ts +4 -0
- package/src/asset/loaders/spritesheet.ts +18 -5
- package/src/asset/loaders/text.ts +4 -0
- package/src/asset/loaders/texture.ts +19 -27
- package/src/asset/preload.ts +4 -8
- package/src/collision/check-collision.ts +16 -16
- package/src/dom/dom-animated-sprite.ts +24 -45
- package/src/dom/dom-game-object.ts +9 -6
- package/src/dom/dom-particle.ts +1 -1
- package/src/index.ts +2 -0
- package/src/node/core/dirty-number.ts +0 -24
- package/src/node/core/renderable.ts +7 -0
- package/src/node/core/transform.ts +23 -11
- package/src/node/ext/animated-sprite.ts +9 -29
- package/src/node/ext/bitmap-text.ts +7 -3
- package/src/node/ext/circle.ts +18 -3
- package/src/node/ext/deplay.ts +1 -0
- package/src/node/ext/dom-container.ts +2 -2
- package/src/node/ext/interval.ts +1 -0
- package/src/node/ext/particle.ts +1 -1
- package/src/node/ext/rectangle.ts +24 -4
- package/src/node/physics/physics-object.ts +11 -40
- package/src/node/physics/physics-world.ts +1 -0
- package/src/node/physics/rigidbodies.ts +14 -0
- package/src/renderer/renderer.ts +4 -3
- package/src/types/atlas.ts +17 -0
- package/examples/flappy-cat/assets/bgm/bgm.ogg +0 -0
- package/examples/flappy-cat/assets/images/base.png +0 -0
- package/examples/flappy-cat/assets/images/bg.png +0 -0
- package/examples/flappy-cat/assets/images/cat.png +0 -0
- package/examples/flappy-cat/assets/images/pipe-green.png +0 -0
- package/examples/flappy-cat/assets/images/pipe-red.png +0 -0
- package/examples/flappy-cat/assets/sfx/die.wav +0 -0
- package/examples/flappy-cat/assets/sfx/hit.wav +0 -0
- package/examples/flappy-cat/assets/sfx/point.wav +0 -0
- package/examples/flappy-cat/assets/sfx/wing.wav +0 -0
- package/examples/flappy-cat/dist/game.js +0 -0
- package/examples/flappy-cat/index.ts +0 -0
- /package/examples/{flappy-cat → auto-battle}/index.html +0 -0
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
{
|
|
2
|
+
"frames": {
|
|
3
|
+
"idle-1": {
|
|
4
|
+
"x": 0,
|
|
5
|
+
"y": 0,
|
|
6
|
+
"w": 100,
|
|
7
|
+
"h": 100
|
|
8
|
+
},
|
|
9
|
+
"idle-2": {
|
|
10
|
+
"x": 100,
|
|
11
|
+
"y": 0,
|
|
12
|
+
"w": 100,
|
|
13
|
+
"h": 100
|
|
14
|
+
},
|
|
15
|
+
"idle-3": {
|
|
16
|
+
"x": 200,
|
|
17
|
+
"y": 0,
|
|
18
|
+
"w": 100,
|
|
19
|
+
"h": 100
|
|
20
|
+
},
|
|
21
|
+
"idle-4": {
|
|
22
|
+
"x": 300,
|
|
23
|
+
"y": 0,
|
|
24
|
+
"w": 100,
|
|
25
|
+
"h": 100
|
|
26
|
+
},
|
|
27
|
+
"idle-5": {
|
|
28
|
+
"x": 400,
|
|
29
|
+
"y": 0,
|
|
30
|
+
"w": 100,
|
|
31
|
+
"h": 100
|
|
32
|
+
},
|
|
33
|
+
"idle-6": {
|
|
34
|
+
"x": 500,
|
|
35
|
+
"y": 0,
|
|
36
|
+
"w": 100,
|
|
37
|
+
"h": 100
|
|
38
|
+
},
|
|
39
|
+
"walk-1": {
|
|
40
|
+
"x": 0,
|
|
41
|
+
"y": 100,
|
|
42
|
+
"w": 100,
|
|
43
|
+
"h": 100
|
|
44
|
+
},
|
|
45
|
+
"walk-2": {
|
|
46
|
+
"x": 100,
|
|
47
|
+
"y": 100,
|
|
48
|
+
"w": 100,
|
|
49
|
+
"h": 100
|
|
50
|
+
},
|
|
51
|
+
"walk-3": {
|
|
52
|
+
"x": 200,
|
|
53
|
+
"y": 100,
|
|
54
|
+
"w": 100,
|
|
55
|
+
"h": 100
|
|
56
|
+
},
|
|
57
|
+
"walk-4": {
|
|
58
|
+
"x": 300,
|
|
59
|
+
"y": 100,
|
|
60
|
+
"w": 100,
|
|
61
|
+
"h": 100
|
|
62
|
+
},
|
|
63
|
+
"walk-5": {
|
|
64
|
+
"x": 400,
|
|
65
|
+
"y": 100,
|
|
66
|
+
"w": 100,
|
|
67
|
+
"h": 100
|
|
68
|
+
},
|
|
69
|
+
"walk-6": {
|
|
70
|
+
"x": 500,
|
|
71
|
+
"y": 100,
|
|
72
|
+
"w": 100,
|
|
73
|
+
"h": 100
|
|
74
|
+
},
|
|
75
|
+
"walk-7": {
|
|
76
|
+
"x": 600,
|
|
77
|
+
"y": 100,
|
|
78
|
+
"w": 100,
|
|
79
|
+
"h": 100
|
|
80
|
+
},
|
|
81
|
+
"walk-8": {
|
|
82
|
+
"x": 700,
|
|
83
|
+
"y": 100,
|
|
84
|
+
"w": 100,
|
|
85
|
+
"h": 100
|
|
86
|
+
},
|
|
87
|
+
"attack1-1": {
|
|
88
|
+
"x": 0,
|
|
89
|
+
"y": 200,
|
|
90
|
+
"w": 100,
|
|
91
|
+
"h": 100
|
|
92
|
+
},
|
|
93
|
+
"attack1-2": {
|
|
94
|
+
"x": 100,
|
|
95
|
+
"y": 200,
|
|
96
|
+
"w": 100,
|
|
97
|
+
"h": 100
|
|
98
|
+
},
|
|
99
|
+
"attack1-3": {
|
|
100
|
+
"x": 200,
|
|
101
|
+
"y": 200,
|
|
102
|
+
"w": 100,
|
|
103
|
+
"h": 100
|
|
104
|
+
},
|
|
105
|
+
"attack1-4": {
|
|
106
|
+
"x": 300,
|
|
107
|
+
"y": 200,
|
|
108
|
+
"w": 100,
|
|
109
|
+
"h": 100
|
|
110
|
+
},
|
|
111
|
+
"attack1-5": {
|
|
112
|
+
"x": 400,
|
|
113
|
+
"y": 200,
|
|
114
|
+
"w": 100,
|
|
115
|
+
"h": 100
|
|
116
|
+
},
|
|
117
|
+
"attack1-6": {
|
|
118
|
+
"x": 500,
|
|
119
|
+
"y": 200,
|
|
120
|
+
"w": 100,
|
|
121
|
+
"h": 100
|
|
122
|
+
},
|
|
123
|
+
"attack2-1": {
|
|
124
|
+
"x": 0,
|
|
125
|
+
"y": 300,
|
|
126
|
+
"w": 100,
|
|
127
|
+
"h": 100
|
|
128
|
+
},
|
|
129
|
+
"attack2-2": {
|
|
130
|
+
"x": 100,
|
|
131
|
+
"y": 300,
|
|
132
|
+
"w": 100,
|
|
133
|
+
"h": 100
|
|
134
|
+
},
|
|
135
|
+
"attack2-3": {
|
|
136
|
+
"x": 200,
|
|
137
|
+
"y": 300,
|
|
138
|
+
"w": 100,
|
|
139
|
+
"h": 100
|
|
140
|
+
},
|
|
141
|
+
"attack2-4": {
|
|
142
|
+
"x": 300,
|
|
143
|
+
"y": 300,
|
|
144
|
+
"w": 100,
|
|
145
|
+
"h": 100
|
|
146
|
+
},
|
|
147
|
+
"attack2-5": {
|
|
148
|
+
"x": 400,
|
|
149
|
+
"y": 300,
|
|
150
|
+
"w": 100,
|
|
151
|
+
"h": 100
|
|
152
|
+
},
|
|
153
|
+
"attack2-6": {
|
|
154
|
+
"x": 500,
|
|
155
|
+
"y": 300,
|
|
156
|
+
"w": 100,
|
|
157
|
+
"h": 100
|
|
158
|
+
},
|
|
159
|
+
"die-1": {
|
|
160
|
+
"x": 0,
|
|
161
|
+
"y": 500,
|
|
162
|
+
"w": 100,
|
|
163
|
+
"h": 100
|
|
164
|
+
},
|
|
165
|
+
"die-2": {
|
|
166
|
+
"x": 100,
|
|
167
|
+
"y": 500,
|
|
168
|
+
"w": 100,
|
|
169
|
+
"h": 100
|
|
170
|
+
},
|
|
171
|
+
"die-3": {
|
|
172
|
+
"x": 200,
|
|
173
|
+
"y": 500,
|
|
174
|
+
"w": 100,
|
|
175
|
+
"h": 100
|
|
176
|
+
},
|
|
177
|
+
"die-4": {
|
|
178
|
+
"x": 300,
|
|
179
|
+
"y": 500,
|
|
180
|
+
"w": 100,
|
|
181
|
+
"h": 100
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"animations": {
|
|
185
|
+
"idle": {
|
|
186
|
+
"frames": [
|
|
187
|
+
"idle-1",
|
|
188
|
+
"idle-2",
|
|
189
|
+
"idle-3",
|
|
190
|
+
"idle-4",
|
|
191
|
+
"idle-5",
|
|
192
|
+
"idle-6"
|
|
193
|
+
],
|
|
194
|
+
"fps": 10,
|
|
195
|
+
"loop": true
|
|
196
|
+
},
|
|
197
|
+
"walk": {
|
|
198
|
+
"frames": [
|
|
199
|
+
"walk-1",
|
|
200
|
+
"walk-2",
|
|
201
|
+
"walk-3",
|
|
202
|
+
"walk-4",
|
|
203
|
+
"walk-5",
|
|
204
|
+
"walk-6",
|
|
205
|
+
"walk-7",
|
|
206
|
+
"walk-8"
|
|
207
|
+
],
|
|
208
|
+
"fps": 10,
|
|
209
|
+
"loop": true
|
|
210
|
+
},
|
|
211
|
+
"attack1": {
|
|
212
|
+
"frames": [
|
|
213
|
+
"attack1-1",
|
|
214
|
+
"attack1-2",
|
|
215
|
+
"attack1-3",
|
|
216
|
+
"attack1-4",
|
|
217
|
+
"attack1-5",
|
|
218
|
+
"attack1-6"
|
|
219
|
+
],
|
|
220
|
+
"fps": 10,
|
|
221
|
+
"loop": false
|
|
222
|
+
},
|
|
223
|
+
"attack2": {
|
|
224
|
+
"frames": [
|
|
225
|
+
"attack2-1",
|
|
226
|
+
"attack2-2",
|
|
227
|
+
"attack2-3",
|
|
228
|
+
"attack2-4",
|
|
229
|
+
"attack2-5",
|
|
230
|
+
"attack2-6"
|
|
231
|
+
],
|
|
232
|
+
"fps": 10,
|
|
233
|
+
"loop": false
|
|
234
|
+
},
|
|
235
|
+
"die": {
|
|
236
|
+
"frames": [
|
|
237
|
+
"die-1",
|
|
238
|
+
"die-2",
|
|
239
|
+
"die-3",
|
|
240
|
+
"die-4"
|
|
241
|
+
],
|
|
242
|
+
"fps": 10,
|
|
243
|
+
"loop": false
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"frames": {
|
|
3
|
+
"frame-1": {
|
|
4
|
+
"x": 0,
|
|
5
|
+
"y": 0,
|
|
6
|
+
"w": 16,
|
|
7
|
+
"h": 16
|
|
8
|
+
},
|
|
9
|
+
"frame-2": {
|
|
10
|
+
"x": 16,
|
|
11
|
+
"y": 0,
|
|
12
|
+
"w": 16,
|
|
13
|
+
"h": 16
|
|
14
|
+
},
|
|
15
|
+
"frame-3": {
|
|
16
|
+
"x": 32,
|
|
17
|
+
"y": 0,
|
|
18
|
+
"w": 16,
|
|
19
|
+
"h": 16
|
|
20
|
+
},
|
|
21
|
+
"frame-4": {
|
|
22
|
+
"x": 0,
|
|
23
|
+
"y": 16,
|
|
24
|
+
"w": 16,
|
|
25
|
+
"h": 16
|
|
26
|
+
},
|
|
27
|
+
"frame-5": {
|
|
28
|
+
"x": 16,
|
|
29
|
+
"y": 16,
|
|
30
|
+
"w": 16,
|
|
31
|
+
"h": 16
|
|
32
|
+
},
|
|
33
|
+
"frame-6": {
|
|
34
|
+
"x": 32,
|
|
35
|
+
"y": 16,
|
|
36
|
+
"w": 16,
|
|
37
|
+
"h": 16
|
|
38
|
+
},
|
|
39
|
+
"frame-7": {
|
|
40
|
+
"x": 0,
|
|
41
|
+
"y": 32,
|
|
42
|
+
"w": 16,
|
|
43
|
+
"h": 16
|
|
44
|
+
},
|
|
45
|
+
"frame-8": {
|
|
46
|
+
"x": 16,
|
|
47
|
+
"y": 32,
|
|
48
|
+
"w": 16,
|
|
49
|
+
"h": 16
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"animations": {
|
|
53
|
+
"animation": {
|
|
54
|
+
"frames": [
|
|
55
|
+
"frame-1",
|
|
56
|
+
"frame-2",
|
|
57
|
+
"frame-3",
|
|
58
|
+
"frame-4",
|
|
59
|
+
"frame-5",
|
|
60
|
+
"frame-6",
|
|
61
|
+
"frame-7",
|
|
62
|
+
"frame-8"
|
|
63
|
+
],
|
|
64
|
+
"fps": 10,
|
|
65
|
+
"loop": true
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
Binary file
|