summary refs log tree commit diff stats
path: root/src/map.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2021-03-11 21:01:57 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2021-03-11 21:01:57 -0500
commite76b9cb3a64f414ee2e11a28f3d421f6efeb06a6 (patch)
tree4a8b40a2e2b0fec293e304f33a0b7c9f076772ec /src/map.h
parent52eb82ca4331242bfb9d7acd5a7b58f6ecab0e18 (diff)
downloadtanetane-e76b9cb3a64f414ee2e11a28f3d421f6efeb06a6.tar.gz
tanetane-e76b9cb3a64f414ee2e11a28f3d421f6efeb06a6.tar.bz2
tanetane-e76b9cb3a64f414ee2e11a28f3d421f6efeb06a6.zip
Made default sprite hitboxes slightly narrower
This includes the player characters. It was impossible to access the Time Passage mailbox with the wider hitbox because the player would continuously slide between the solid tiles to either side of it.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map.h b/src/map.h index 8b79d7b..7398d66 100644 --- a/src/map.h +++ b/src/map.h
@@ -21,8 +21,8 @@ struct Tile {
21struct Prototype { 21struct Prototype {
22 std::string name; 22 std::string name;
23 vec2i pos; 23 vec2i pos;
24 vec2i collisionOffset {-8, -8}; 24 vec2i collisionOffset {-7, -8};
25 vec2i collisionSize {16, 8}; 25 vec2i collisionSize {14, 8};
26 std::string animationFilename; 26 std::string animationFilename;
27 std::string animName; 27 std::string animName;
28 Direction dir = Direction::down; 28 Direction dir = Direction::down;