diff options
| author | esquizo <esquizo+noreply@esquizo.net> | 2026-05-05 20:52:27 -0300 |
|---|---|---|
| committer | esquizo <esquizo+noreply@esquizo.net> | 2026-05-05 20:52:27 -0300 |
| commit | d784c30796fb4e7b6dc4170e410ec7fda10f2084 (patch) | |
| tree | 36d1eca6d12bff15a9c88e80639eb0b40e7a926c | |
| parent | 38287a5a739ed80857c97bba8e193a765d974529 (diff) | |
consertado local de inicialização do player
| -rw-r--r-- | game.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -35,8 +35,8 @@ entinit() { player = allocentity(); player->type = EPLAYER; - player->body.pos[0] = player_x; - player->body.pos[1] = player_x; + player->body.pos[0] = player_x * ENTITY_SIZE * 2; + player->body.pos[1] = player_y * ENTITY_SIZE * 2; player->body.size[0] = ENTITY_SIZE; player->body.size[1] = ENTITY_SIZE; player->life = 1; |
