diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-02-13 21:58:24 +0000 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-02-13 21:58:24 +0000 |
commit | 2d182c1f9c80a1e1ffb232bc6e17980cb3a64cf5 (patch) | |
tree | 3e6a2b49a5fddd3d421a83f155de255b71560159 /data/sprites.json | |
parent | cfc5b71c86a4927fa8d2294fce5e8b8264b4a3ca (diff) | |
download | space-plat-hs-2d182c1f9c80a1e1ffb232bc6e17980cb3a64cf5.tar.gz space-plat-hs-2d182c1f9c80a1e1ffb232bc6e17980cb3a64cf5.zip |
Pickups WIP
TODO: collision
Diffstat (limited to 'data/sprites.json')
-rw-r--r-- | data/sprites.json | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/data/sprites.json b/data/sprites.json index 6fddd4e..6df8b7b 100644 --- a/data/sprites.json +++ b/data/sprites.json @@ -15,12 +15,23 @@ }, "dust": { "frames": [ - { "x": 0, "y": 24, "width": 16, "height": 24 }, - { "x": 16, "y": 24, "width": 16, "height": 24 }, - { "x": 32, "y": 24, "width": 16, "height": 24 } + { "x": 0, "y": 24, "width": 16, "height": 16 }, + { "x": 16, "y": 24, "width": 16, "height": 16 }, + { "x": 32, "y": 24, "width": 16, "height": 16 } ], "sets": [ [0, 1, 2] ] + }, + "battery": { + "frames": [ + { "x": 0, "y": 40, "width": 16, "height": 16 }, + { "x": 16, "y": 40, "width": 16, "height": 16 }, + { "x": 32, "y": 40, "width": 16, "height": 16 }, + { "x": 48, "y": 40, "width": 16, "height": 16 } + ], + "sets": [ + [0, 0, 0, 0, 0, 0, 0, 1, 2, 3] + ] } } |