constants.zig (621B)
1 // general 2 pub const fps: u8 = 60; 3 4 // screen 5 pub const screen_width: u16 = 800; 6 pub const screen_height: u16 = 1000; 7 pub const screen_title: [*]const u8 = "1.44mb game jam"; 8 9 // bullets 10 pub const max_bullets: u8 = 255; 11 pub const max_enemies: u8 = 255; 12 13 // enemies 14 // -- blorb 15 pub const blorb_health: u8 = 150; 16 pub const blorb_bullet_damage: f32 = 80; 17 pub const blorb_spawn_interval: f32 = 5.0; 18 pub const blorb_spawn_after: f32 = 60; 19 20 // -- grunt 21 pub const grunt_health: u8 = 50; 22 pub const grunt_bullet_damage: f32 = 30; 23 pub const grunt_spawn_interval: f32 = 0.7; 24 25 // player 26 pub const player_bullet_damage: f32 = 50;