summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-07-16 23:08:06 +0200
committerkdx <kikoodx@paranoici.org>2023-07-16 23:08:06 +0200
commite01373acd557c16f38153084b155143cd0b37848 (patch)
treefdb6efc748943cc898be77c7e1d3b6c46980fb0a
parent2acd02f3126e3685a721c9e5a084775f13fa4137 (diff)
downloadstudy-sttky-e01373acd557c16f38153084b155143cd0b37848.tar.gz
Revert "boring"
This reverts commit 2acd02f3126e3685a721c9e5a084775f13fa4137.
-rw-r--r--map/game.tmj29
-rw-r--r--res/pal.pngbin93 -> 82 bytes
-rw-r--r--res/tset.pngbin188 -> 166 bytes
-rw-r--r--src/main.c1
4 files changed, 2 insertions, 28 deletions
diff --git a/map/game.tmj b/map/game.tmj
index f23ed53..655c884 100644
--- a/map/game.tmj
+++ b/map/game.tmj
@@ -3,33 +3,6 @@
"infinite":false,
"layers":[
{
- "data":[4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
- 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
- 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
- 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
- 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
- 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
- 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 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1, 1, 1, 1, 1, 1, 1, 1, 1,
@@ -78,7 +51,7 @@
"x":0,
"y":0
}],
- "nextlayerid":4,
+ "nextlayerid":3,
"nextobjectid":2,
"orientation":"orthogonal",
"renderorder":"right-down",
diff --git a/res/pal.png b/res/pal.png
index ff8f6e6..7290652 100644
--- a/res/pal.png
+++ b/res/pal.png
Binary files differ
diff --git a/res/tset.png b/res/tset.png
index ba59d20..149e764 100644
--- a/res/tset.png
+++ b/res/tset.png
Binary files differ
diff --git a/src/main.c b/src/main.c
index 8871617..3000bef 100644
--- a/src/main.c
+++ b/src/main.c
@@ -85,6 +85,7 @@ main_loop(void *udata)
return 1;
pxPalt();
pxCls(0);
+ pxPalt(0, true);
game_draw(game);
//acid(game);
pxFlip();