30
src/main.rs
Normal file
30
src/main.rs
Normal file
@@ -0,0 +1,30 @@
|
||||
use bevy::prelude::*;
|
||||
use bevy_aseprite_ultra::prelude::*;
|
||||
use bevy_dev_tools::fps_overlay::*;
|
||||
use pomomon_garden::plugins;
|
||||
|
||||
fn main() {
|
||||
App::new()
|
||||
.add_plugins((
|
||||
DefaultPlugins.set(ImagePlugin::default_nearest()),
|
||||
AsepriteUltraPlugin,
|
||||
))
|
||||
.add_plugins((FpsOverlayPlugin {
|
||||
config: FpsOverlayConfig {
|
||||
refresh_interval: core::time::Duration::from_millis(100),
|
||||
enabled: true,
|
||||
frame_time_graph_config: FrameTimeGraphConfig {
|
||||
enabled: true,
|
||||
min_fps: 30.0,
|
||||
target_fps: 144.0,
|
||||
},
|
||||
..default()
|
||||
},
|
||||
},))
|
||||
.add_plugins((
|
||||
plugins::CorePlugin,
|
||||
plugins::StartScreenPlugin,
|
||||
plugins::GameScreenPlugin,
|
||||
))
|
||||
.run();
|
||||
}
|
||||
Reference in New Issue
Block a user