cozette font

This commit is contained in:
2026-09-20 17:08:06 +02:00
parent 8d24093585
commit 9ed562735e
7 changed files with 95 additions and 17 deletions
+3 -3
View File
@@ -6,8 +6,8 @@ pub const SCREEN_HEIGHT: f32 = 1080.0;
pub const SCREEN_ASPECT: f32 = SCREEN_WIDTH / SCREEN_HEIGHT; // 2:3
// Grid
pub const CELL_SIZE: f32 = 32.0;
pub const TERRAIN_COLS: i32 = 21;
pub const CELL_SIZE: f32 = 24.0;
pub const TERRAIN_COLS: i32 = 30;
pub const CHUNK_ROWS: i32 = 32;
pub const TERRAIN_WIDTH: f32 = CELL_SIZE * TERRAIN_COLS as f32;
@@ -19,7 +19,7 @@ pub const MARGIN_ABOVE: f32 = 400.0;
pub const MARGIN_BELLOW: f32 = 400.0;
// Player
pub const PLAYER_HITBOX: Vec2 = Vec2::new(20.0, 40.0);
pub const PLAYER_HITBOX: Vec2 = Vec2::new(16.0, 32.0);
pub const FALL_SPEED: f32 = 500.0;
pub const DIVE_SPEED: f32 = 2000.0;
pub const HORIZONTAL_SPEED: f32 = 400.0;