Removing some log statements
This commit is contained in:
@@ -55,8 +55,6 @@ player_update_chunks :: proc(p: ^Player, w: ^World) {
|
||||
current_player_chunk.position.y + dir.y
|
||||
}
|
||||
|
||||
fmt.printfln("Checking adjacent chunk at: %v", adjacent_pos)
|
||||
|
||||
get_chunk(w, adjacent_pos)
|
||||
}
|
||||
|
||||
@@ -79,7 +77,6 @@ player_update_chunks :: proc(p: ^Player, w: ^World) {
|
||||
}
|
||||
|
||||
if !is_adjacent {
|
||||
fmt.printfln("Unloading chunk at: %v", chunk_pos)
|
||||
unload_chunk(chunk_pos, w)
|
||||
}
|
||||
}
|
||||
@@ -89,7 +86,7 @@ handle_player_input :: proc(p:^Player, w:^World) {
|
||||
target_pos := get_player_grid_position(p)
|
||||
|
||||
dt := rl.GetFrameTime()
|
||||
move_delay : f32 = 0.1
|
||||
move_delay : f32 = 0.2
|
||||
|
||||
if p.move_timer > 0 {
|
||||
p.move_timer -= dt
|
||||
|
||||
Reference in New Issue
Block a user