From 221e5620701a984cf526c4c08013e219fc15ac98 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 12 Jun 2023 22:39:46 +0100 Subject: Sprites, tiles, bitmap font, map WIP, updated TODO --- data/font.png | Bin 0 -> 936 bytes data/sprites.png | Bin 9174 -> 1951 bytes data/stage.json | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ data/tiles.png | Bin 0 -> 1038 bytes 4 files changed, 66 insertions(+) create mode 100644 data/font.png create mode 100644 data/stage.json create mode 100644 data/tiles.png (limited to 'data') diff --git a/data/font.png b/data/font.png new file mode 100644 index 0000000..065d767 Binary files /dev/null and b/data/font.png differ diff --git a/data/sprites.png b/data/sprites.png index 6ca0043..e9c1665 100644 Binary files a/data/sprites.png and b/data/sprites.png differ diff --git a/data/stage.json b/data/stage.json new file mode 100644 index 0000000..152712b --- /dev/null +++ b/data/stage.json @@ -0,0 +1,66 @@ +{ "compressionlevel":-1, + "height":23, + "infinite":false, + "layers":[ + { + "data":[2, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 3, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164], + "height":23, + "id":2, + "name":"BG", + "opacity":1, + "type":"tilelayer", + "visible":true, + "width":20, + "x":0, + "y":0 + }, + { + "data":[14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 15, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 15, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 168, 0, 0, 0, 0, 0, 0, 168, 14, 15, 0, 168, 0, 0, 0, 0, 168, 0, 0, 0, 0, 0, 0, 168, 0, 0, 0, 0, 15, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 15, 0, 0, 0, 0, 168, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 14, 180, 180, 180, 180, 180, 0, 0, 0, 0, 0, 0, 0, 18, 18, 18, 18, 18, 18, 14, 15, 163, 163, 163, 163, 167, 0, 0, 0, 0, 0, 0, 0, 1, 167, 1, 1, 1, 1, 15, 14, 0, 0, 0, 0, 166, 0, 0, 0, 0, 168, 0, 0, 0, 166, 0, 168, 0, 0, 14, 15, 0, 0, 168, 0, 166, 180, 180, 180, 0, 0, 0, 0, 0, 166, 18, 18, 18, 18, 15, 14, 0, 0, 0, 0, 166, 163, 167, 163, 0, 0, 0, 0, 0, 166, 1, 167, 1, 1, 14, 15, 0, 0, 0, 0, 166, 0, 166, 0, 0, 0, 0, 0, 0, 166, 0, 166, 0, 0, 15, 14, 0, 168, 0, 180, 180, 180, 180, 0, 0, 0, 168, 0, 18, 18, 18, 18, 0, 168, 14, 1, 0, 0, 0, 163, 163, 167, 163, 168, 0, 0, 0, 0, 1, 167, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 166, 0, 0, 0, 0, 0, 0, 0, 166, 0, 0, 0, 0, 0, 179, 18, 18, 18, 18, 18, 18, 0, 0, 0, 0, 0, 0, 18, 18, 18, 18, 18, 18, 179, 14, 1, 1, 167, 1, 1, 167, 0, 0, 0, 0, 0, 0, 1, 1, 1, 167, 1, 1, 14, 15, 0, 0, 166, 0, 0, 166, 0, 0, 0, 168, 0, 0, 0, 0, 0, 166, 0, 0, 15, 14, 18, 18, 18, 18, 18, 18, 0, 0, 0, 0, 0, 0, 0, 0, 18, 18, 18, 18, 14, 15, 1, 1, 167, 1, 1, 167, 0, 168, 0, 0, 0, 0, 168, 0, 1, 167, 1, 1, 15, 14, 168, 0, 166, 0, 0, 166, 0, 0, 0, 0, 0, 0, 0, 0, 0, 166, 168, 0, 14, 15, 179, 179, 179, 179, 179, 179, 179, 0, 0, 0, 0, 0, 179, 179, 179, 179, 179, 179, 15, 14, 14, 14, 14, 14, 14, 14, 14, 27, 27, 27, 27, 189, 14, 14, 14, 14, 14, 14, 14], + "height":23, + "id":1, + "name":"Map", + "opacity":1, + "type":"tilelayer", + "visible":true, + "width":20, + "x":0, + "y":0 + }], + "nextlayerid":3, + "nextobjectid":1, + "orientation":"orthogonal", + "renderorder":"right-down", + "tiledversion":"1.7.2", + "tileheight":8, + "tilesets":[ + { + "columns":13, + "firstgid":1, + "image":"tiles.png", + "imageheight":48, + "imagewidth":208, + "margin":0, + "name":"Default", + "spacing":0, + "tilecount":162, + "tileheight":8, + "tilewidth":16 + }, + { + "columns":13, + "firstgid":163, + "image":"tiles.png", + "imageheight":48, + "imagewidth":208, + "margin":0, + "name":"Default", + "spacing":0, + "tilecount":78, + "tileheight":8, + "tilewidth":16 + }], + "tilewidth":16, + "type":"map", + "version":"1.6", + "width":20 +} \ No newline at end of file diff --git a/data/tiles.png b/data/tiles.png new file mode 100644 index 0000000..f7cc4f2 Binary files /dev/null and b/data/tiles.png differ -- cgit v1.2.3