[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/pacmacs b6c02d6f38 264/472: Automate Pacman Death sprites
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/pacmacs b6c02d6f38 264/472: Automate Pacman Death sprites generating (#26) |
Date: |
Thu, 6 Jan 2022 21:59:30 -0500 (EST) |
branch: elpa/pacmacs
commit b6c02d6f38545940811ceda034ff50bbf73d11b5
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>
Automate Pacman Death sprites generating (#26)
---
sprites/Makefile | 12 +-
sprites/Pacman-Death.json | 343 +++++++++++++++++++++++++++++++++-------------
2 files changed, 256 insertions(+), 99 deletions(-)
diff --git a/sprites/Makefile b/sprites/Makefile
index 9ff31f7816..ebbf8879b4 100644
--- a/sprites/Makefile
+++ b/sprites/Makefile
@@ -1,7 +1,8 @@
PILL=Pill.json Pill.xpm
BIG_PILL=Big-Pill.json Big-Pill.xpm
+PACMAN_DEATH=Pacman-Death.json Pacman-Death.xpm
-all: $(PILL) $(BIG_PILL) Makefile
+all: $(PILL) $(BIG_PILL) $(PACMAN_DEATH) Makefile
Pill.json: Pill.raw.json
jq ".meta.image |= \"Pill.xpm\"" Pill.raw.json > Pill.json
@@ -20,3 +21,12 @@ Big-Pill.xpm: Big-Pill.png
Big-Pill.raw%json Big-Pill%png: src/Big-Pill.ase
aseprite -b src/Big-Pill.ase --sheet Big-Pill$*png --data
Big-Pill.raw$*json
+
+Pacman-Death.json: Pacman-Death.raw.json
+ jq ".meta.image |= \"Pacman-Death.xpm\"" Pacman-Death.raw.json >
Pacman-Death.json
+
+Pacman-Death.xpm: Pacman-Death.png
+ convert Pacman-Death.png Pacman-Death.xpm
+
+Pacman-Death.raw%json Pacman-Death%png: src/Pacman-Death.ase
+ aseprite -b src/Pacman-Death.ase --sheet Pacman-Death$*png --data
Pacman-Death.raw$*json
diff --git a/sprites/Pacman-Death.json b/sprites/Pacman-Death.json
index d8295fc3c9..b3ed2b66a7 100644
--- a/sprites/Pacman-Death.json
+++ b/sprites/Pacman-Death.json
@@ -1,99 +1,246 @@
-{ "frames": {
- "Pacman-Death 0.ase": {
- "frame": { "x": 0, "y": 0, "w": 40, "h": 40 },
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": { "x": 0, "y": 0, "w": 40, "h": 40 },
- "sourceSize": { "w": 40, "h": 40 },
- "duration": 100
- },
- "Pacman-Death 1.ase": {
- "frame": { "x": 40, "y": 0, "w": 40, "h": 40 },
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": { "x": 0, "y": 0, "w": 40, "h": 40 },
- "sourceSize": { "w": 40, "h": 40 },
- "duration": 100
- },
- "Pacman-Death 2.ase": {
- "frame": { "x": 80, "y": 0, "w": 40, "h": 40 },
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": { "x": 0, "y": 0, "w": 40, "h": 40 },
- "sourceSize": { "w": 40, "h": 40 },
- "duration": 100
- },
- "Pacman-Death 3.ase": {
- "frame": { "x": 120, "y": 0, "w": 40, "h": 40 },
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": { "x": 0, "y": 0, "w": 40, "h": 40 },
- "sourceSize": { "w": 40, "h": 40 },
- "duration": 100
- },
- "Pacman-Death 4.ase": {
- "frame": { "x": 160, "y": 0, "w": 40, "h": 40 },
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": { "x": 0, "y": 0, "w": 40, "h": 40 },
- "sourceSize": { "w": 40, "h": 40 },
- "duration": 100
- },
- "Pacman-Death 5.ase": {
- "frame": { "x": 200, "y": 0, "w": 40, "h": 40 },
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": { "x": 0, "y": 0, "w": 40, "h": 40 },
- "sourceSize": { "w": 40, "h": 40 },
- "duration": 100
- },
- "Pacman-Death 6.ase": {
- "frame": { "x": 240, "y": 0, "w": 40, "h": 40 },
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": { "x": 0, "y": 0, "w": 40, "h": 40 },
- "sourceSize": { "w": 40, "h": 40 },
- "duration": 100
- },
- "Pacman-Death 7.ase": {
- "frame": { "x": 280, "y": 0, "w": 40, "h": 40 },
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": { "x": 0, "y": 0, "w": 40, "h": 40 },
- "sourceSize": { "w": 40, "h": 40 },
- "duration": 100
- },
- "Pacman-Death 8.ase": {
- "frame": { "x": 320, "y": 0, "w": 40, "h": 40 },
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": { "x": 0, "y": 0, "w": 40, "h": 40 },
- "sourceSize": { "w": 40, "h": 40 },
- "duration": 200
- },
- "Pacman-Death 9.ase": {
- "frame": { "x": 360, "y": 0, "w": 40, "h": 40 },
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": { "x": 0, "y": 0, "w": 40, "h": 40 },
- "sourceSize": { "w": 40, "h": 40 },
- "duration": 200
- },
- "Pacman-Death 10.ase": {
- "frame": { "x": 400, "y": 0, "w": 40, "h": 40 },
- "rotated": false,
- "trimmed": false,
- "spriteSourceSize": { "x": 0, "y": 0, "w": 40, "h": 40 },
- "sourceSize": { "w": 40, "h": 40 },
- "duration": 400
- }
- },
- "meta": {
- "app": "http://www.aseprite.org/",
- "version": "1.1.0-dev",
- "image": "Pacman-Death.png",
- "format": "RGBA8888",
- "size": { "w": 440, "h": 40 },
- "scale": "1"
- }
+{
+ "meta": {
+ "scale": "1",
+ "size": {
+ "h": 40,
+ "w": 440
+ },
+ "format": "RGBA8888",
+ "image": "Pacman-Death.xpm",
+ "version": "1.1.0-dev",
+ "app": "http://www.aseprite.org/"
+ },
+ "frames": {
+ "Pacman-Death 10.ase": {
+ "duration": 400,
+ "sourceSize": {
+ "h": 40,
+ "w": 40
+ },
+ "spriteSourceSize": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 0
+ },
+ "trimmed": false,
+ "rotated": false,
+ "frame": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 400
+ }
+ },
+ "Pacman-Death 9.ase": {
+ "duration": 200,
+ "sourceSize": {
+ "h": 40,
+ "w": 40
+ },
+ "spriteSourceSize": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 0
+ },
+ "trimmed": false,
+ "rotated": false,
+ "frame": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 360
+ }
+ },
+ "Pacman-Death 8.ase": {
+ "duration": 200,
+ "sourceSize": {
+ "h": 40,
+ "w": 40
+ },
+ "spriteSourceSize": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 0
+ },
+ "trimmed": false,
+ "rotated": false,
+ "frame": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 320
+ }
+ },
+ "Pacman-Death 0.ase": {
+ "duration": 100,
+ "sourceSize": {
+ "h": 40,
+ "w": 40
+ },
+ "spriteSourceSize": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 0
+ },
+ "trimmed": false,
+ "rotated": false,
+ "frame": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 0
+ }
+ },
+ "Pacman-Death 1.ase": {
+ "duration": 100,
+ "sourceSize": {
+ "h": 40,
+ "w": 40
+ },
+ "spriteSourceSize": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 0
+ },
+ "trimmed": false,
+ "rotated": false,
+ "frame": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 40
+ }
+ },
+ "Pacman-Death 2.ase": {
+ "duration": 100,
+ "sourceSize": {
+ "h": 40,
+ "w": 40
+ },
+ "spriteSourceSize": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 0
+ },
+ "trimmed": false,
+ "rotated": false,
+ "frame": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 80
+ }
+ },
+ "Pacman-Death 3.ase": {
+ "duration": 100,
+ "sourceSize": {
+ "h": 40,
+ "w": 40
+ },
+ "spriteSourceSize": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 0
+ },
+ "trimmed": false,
+ "rotated": false,
+ "frame": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 120
+ }
+ },
+ "Pacman-Death 4.ase": {
+ "duration": 100,
+ "sourceSize": {
+ "h": 40,
+ "w": 40
+ },
+ "spriteSourceSize": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 0
+ },
+ "trimmed": false,
+ "rotated": false,
+ "frame": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 160
+ }
+ },
+ "Pacman-Death 5.ase": {
+ "duration": 100,
+ "sourceSize": {
+ "h": 40,
+ "w": 40
+ },
+ "spriteSourceSize": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 0
+ },
+ "trimmed": false,
+ "rotated": false,
+ "frame": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 200
+ }
+ },
+ "Pacman-Death 6.ase": {
+ "duration": 100,
+ "sourceSize": {
+ "h": 40,
+ "w": 40
+ },
+ "spriteSourceSize": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 0
+ },
+ "trimmed": false,
+ "rotated": false,
+ "frame": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 240
+ }
+ },
+ "Pacman-Death 7.ase": {
+ "duration": 100,
+ "sourceSize": {
+ "h": 40,
+ "w": 40
+ },
+ "spriteSourceSize": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 0
+ },
+ "trimmed": false,
+ "rotated": false,
+ "frame": {
+ "h": 40,
+ "w": 40,
+ "y": 0,
+ "x": 280
+ }
+ }
+ }
}
- [nongnu] elpa/pacmacs 929b367fa2 453/472: Make render-score-table more dumb (#203), (continued)
- [nongnu] elpa/pacmacs 929b367fa2 453/472: Make render-score-table more dumb (#203), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 548155de50 456/472: Dash the mode labels (#203), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 5e0bcba1ee 468/472: Merge pull request #224 from basil-conto/blc/dash, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs b68e557f36 064/472: Refactor pacman-load-anim function. Close #53, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 3a3ead9ac1 083/472: Support dash. Close #65, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 6365c3db7b 086/472: Remove ghost-state instead of player-state, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 3cbd9508d8 089/472: Merge branch 'coverage-broken-68'. Close #68, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 2331e2074c 262/472: Automate Pill sprites generating (#26), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs d980f5dbe2 454/472: Introduce with-render-target macro (#203), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs d813e9c62c 466/472: Merge pull request #214 from codingteam/qfix/bump-copyright-year, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs b6c02d6f38 264/472: Automate Pacman Death sprites generating (#26),
ELPA Syncer <=
- [nongnu] elpa/pacmacs 80f25498d6 270/472: Add initial UT for pacmacs--create-wall-tile, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs ad201e341a 271/472: Add UT for pacmacs--bits-to-xpm, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs ea74310be3 275/472: Add README for sprites. Close #148, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 80f16102c5 291/472: Implement unterrifying timed out ghosts (#153), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 609416d41a 057/472: Fix delete minibuffer or sole ordinary window error. Close #42, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 43cc1205c6 066/472: Try to fix pacman-image UTs after #52, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs e44bade6bf 087/472: Fix lambda expressions (#68), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 2dac90bc61 092/472: Merge branch 'entire-code-coverage-70'. Close #70, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 2fdeb1dbdf 188/472: Try to remove compilation step (#124), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs a8bbb61bf8 189/472: Try to remove elcs after the compilation (#124), ELPA Syncer, 2022/01/06