cozette font
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
use std::time::UNIX_EPOCH;
|
||||
|
||||
use bevy::{prelude::*, window::PresentMode};
|
||||
|
||||
use bevy_egui::{EguiGlobalSettings, EguiPlugin};
|
||||
|
||||
use crate::config::{SCREEN_HEIGHT, SCREEN_WIDTH};
|
||||
use crate::debug::DebugPlugin;
|
||||
use crate::font::FontPlugin;
|
||||
use crate::gameplay::bounds::BoundsPlugin;
|
||||
use crate::gameplay::camera::CameraPlugin;
|
||||
use crate::gameplay::collision::CollisionPlugin;
|
||||
@@ -17,6 +20,7 @@ use crate::world::WorldPlugin;
|
||||
|
||||
mod config;
|
||||
mod debug;
|
||||
mod font;
|
||||
mod gameplay;
|
||||
mod screen;
|
||||
mod states;
|
||||
@@ -38,6 +42,7 @@ fn main() {
|
||||
}),
|
||||
..default()
|
||||
}))
|
||||
.add_plugins(FontPlugin) // Font
|
||||
.add_plugins(PlayerPlugin) // Player
|
||||
.add_plugins(ScreenPlugin) // Virtual screen
|
||||
.add_plugins(CameraPlugin) // Camera
|
||||
@@ -48,6 +53,7 @@ fn main() {
|
||||
.add_plugins(GameStatePlugin) // Game states
|
||||
.add_plugins(MainMenuPlugin) // Main Menu
|
||||
.add_plugins(GameOverPlugin) // GameOver
|
||||
// Debug UI
|
||||
.insert_resource(EguiGlobalSettings {
|
||||
auto_create_primary_context: false,
|
||||
..default()
|
||||
|
||||
Reference in New Issue
Block a user