[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/pacmacs 2a9ec76c28 263/472: Automate Big Pills sprites gen
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/pacmacs 2a9ec76c28 263/472: Automate Big Pills sprites generating (#26) |
Date: |
Thu, 6 Jan 2022 21:59:30 -0500 (EST) |
branch: elpa/pacmacs
commit 2a9ec76c28b77f0fbacbebc0b8198629e0005490
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>
Automate Big Pills sprites generating (#26)
---
sprites/Big-Pill.json | 82 +++++++++++++++++++++++++++++++++++----------------
sprites/Makefile | 14 +++++++--
2 files changed, 68 insertions(+), 28 deletions(-)
diff --git a/sprites/Big-Pill.json b/sprites/Big-Pill.json
index 38e5a90a24..a459b2b549 100644
--- a/sprites/Big-Pill.json
+++ b/sprites/Big-Pill.json
@@ -1,27 +1,57 @@
-{ "frames": {
- "Big-Pill 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": 300
- },
- "Big-Pill 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": 300
- }
- },
- "meta": {
- "app": "http://www.aseprite.org/",
- "version": "1.1.0-dev",
- "image": "Big-Pill.xpm",
- "format": "RGBA8888",
- "size": { "w": 80, "h": 40 },
- "scale": "1"
- }
+{
+ "meta": {
+ "scale": "1",
+ "size": {
+ "h": 40,
+ "w": 80
+ },
+ "format": "RGBA8888",
+ "image": "Big-Pill.xpm",
+ "version": "1.1.0-dev",
+ "app": "http://www.aseprite.org/"
+ },
+ "frames": {
+ "Big-Pill 1.ase": {
+ "duration": 300,
+ "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
+ }
+ },
+ "Big-Pill 0.ase": {
+ "duration": 300,
+ "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
+ }
+ }
+ }
}
diff --git a/sprites/Makefile b/sprites/Makefile
index eb7aa35a1c..9ff31f7816 100644
--- a/sprites/Makefile
+++ b/sprites/Makefile
@@ -1,6 +1,7 @@
-Pill=Pill.json Pill.xpm
+PILL=Pill.json Pill.xpm
+BIG_PILL=Big-Pill.json Big-Pill.xpm
-all: $(Pill) Makefile
+all: $(PILL) $(BIG_PILL) Makefile
Pill.json: Pill.raw.json
jq ".meta.image |= \"Pill.xpm\"" Pill.raw.json > Pill.json
@@ -10,3 +11,12 @@ Pill.xpm: Pill.png
Pill.raw%json Pill%png: src/Pill.ase
aseprite -b src/Pill.ase --sheet Pill$*png --data Pill.raw$*json
+
+Big-Pill.json: Big-Pill.raw.json
+ jq ".meta.image |= \"Big-Pill.xpm\"" Big-Pill.raw.json > Big-Pill.json
+
+Big-Pill.xpm: Big-Pill.png
+ convert Big-Pill.png Big-Pill.xpm
+
+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
- [nongnu] elpa/pacmacs 09c0a15f40 217/472: Get pacmacs--object-at-p back (#122), (continued)
- [nongnu] elpa/pacmacs 09c0a15f40 217/472: Get pacmacs--object-at-p back (#122), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs daca08b8b1 219/472: Add another it case (#122), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs ed46a4b500 221/472: Add big pills sprites. Close #82, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs ca32745bcb 224/472: Refactor char making duplicate code (#81), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 5f7b4fcb12 235/472: Rename pacmacs--put-dot function (#131), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs ba28d344be 068/472: Remove copypaste (#54), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 49e0ff0fe8 020/472: Cask: take package info from pacman.el file, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 7a8db8e06c 228/472: Merge branch 'xbm-flip-bit-hack-133'. Close #133, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs f65f288b18 239/472: Cache wall tiles (#131), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs edf7600fca 237/472: Add functions for drawing bars (#131), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 2a9ec76c28 263/472: Automate Big Pills sprites generating (#26),
ELPA Syncer <=
- [nongnu] elpa/pacmacs a1bf99c5f7 176/472: Add an animation, close #118., ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 29b87c4538 181/472: Refactor out unpaused play state predicate, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 93f964e11e 186/472: Merge branch 'compile-on-ci-123'. Close #123, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 3f7bf5c282 192/472: Fix board UTs, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 805d91d22b 194/472: Rename all the buffer stuff to board back (#105), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 1ab8264214 198/472: Remove dead vars for board size (#126), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 144a973d83 203/472: Merge branch 'slow-object-look-up-126'. Close #126, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 6a4bf8c87f 214/472: Merge branch 'integration-test-recorder-115'. Close #115, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs b73dd8215c 220/472: Merge branch 'integration-test-replayer-122'. Close #122, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 1eadfb94fd 225/472: Refactor out pacmacs--wall-cells list (#81), ELPA Syncer, 2022/01/06