diff options
author | BoredGuy <osome3717@gmail.com> | 2024-12-30 18:46:31 +0300 |
---|---|---|
committer | BoredGuy <osome3717@gmail.com> | 2024-12-30 18:46:31 +0300 |
commit | 6f7d1bb16ff266f4126a46c6acb132dd9f80cd86 (patch) | |
tree | 126fc32cfae7dc53f3f4b1769453ff1b1fb336b4 /Week1-Pacman/src/map.c | |
parent | 6f3fe42d5888e70fe195b6bbf32b7bdd4059415b (diff) |
Smoother Movement
Tis all
Diffstat (limited to 'Week1-Pacman/src/map.c')
-rw-r--r-- | Week1-Pacman/src/map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Week1-Pacman/src/map.c b/Week1-Pacman/src/map.c index 7df77af..d5efc9d 100644 --- a/Week1-Pacman/src/map.c +++ b/Week1-Pacman/src/map.c @@ -77,9 +77,9 @@ void add_map_row(const char* line, struct map* map) { map->colliders[map->collider_count - 1] = (SDL_Rect) { .x = i * 26, - .y = (map->height - 1) * 26, + .y = (map->height - 1) * 20, .w = 26, - .h = 26 + .h = 20 }; } |