aboutsummaryrefslogtreecommitdiff
path: root/player.c
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2023-05-05 09:25:39 +1000
committerquou <quou@disroot.org>2023-05-05 09:25:39 +1000
commit280552fa4750b5dac9243782f9c0a7e0b7eea6f8 (patch)
tree6385dc740cc965dad7dc628e8b10738724ec0a42 /player.c
parent0a083f5a9a747083bbc3a1f0689e76ac5fc3a3b9 (diff)
Add a basic enemy.
Diffstat (limited to 'player.c')
-rw-r--r--player.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/player.c b/player.c
index cadb0dc..b723849 100644
--- a/player.c
+++ b/player.c
@@ -26,8 +26,8 @@ void init_player(Player* player, World* world) {
sprite = &world->sprites[e];
animated = &world->animateds[e];
- pos->x = 32;
- pos->y = 70;
+ pos->x = 32 << fbits;
+ pos->y = 70 << fbits;
sprite->id = asset_id_char;
sprite->rect = make_rect(0, 16, 16, 16);