diff options
author | quou <quou@disroot.org> | 2023-05-05 09:25:39 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2023-05-05 09:25:39 +1000 |
commit | 280552fa4750b5dac9243782f9c0a7e0b7eea6f8 (patch) | |
tree | 6385dc740cc965dad7dc628e8b10738724ec0a42 /player.c | |
parent | 0a083f5a9a747083bbc3a1f0689e76ac5fc3a3b9 (diff) |
Add a basic enemy.
Diffstat (limited to 'player.c')
-rw-r--r-- | player.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |