fewer deserts

This commit is contained in:
2025-03-01 23:10:22 -06:00
parent 2be653504a
commit cc339b9389
4 changed files with 7 additions and 14 deletions

View File

@@ -93,7 +93,7 @@ handle_player_input :: proc(p:^Player, w:^World) {
// Movement
target_pos := get_player_grid_position(p)
dt := rl.GetFrameTime()
move_delay : f32 = 0.0
move_delay : f32 = 0.2
if p.move_timer > 0 {
p.move_timer -= dt
}
@@ -215,7 +215,7 @@ will_collide :: proc(w:^World, pos:rl.Vector2) -> bool {
#partial switch tile.type {
case .SOLID:
return false
return true
}
return false