Add a rendering system using temporary images #61

Merged
CoCo_Sol merged 26 commits from renderer into main 2024-03-05 18:08:56 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 530922aa88 - Show all commits

View file

@ -2,17 +2,14 @@
use bevy::prelude::*;
use border_wars::camera::CameraPlugin;
use border_wars::map::generation::MapGenerationPlugin;
use border_wars::map::renderer::RendererPlugin;
use border_wars::scenes::ScenesPlugin;
fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_plugins(ScenesPlugin)
.add_plugins(RendererPlugin)
.add_plugins(MapGenerationPlugin)
.add_plugins(CameraPlugin)
.run();
}

View file

@ -47,7 +47,10 @@ impl Tile {
x: 1250.0,
y: 1000.0,
},
Self::Hill => Vec2 { x: 1250.0, y: 1300.0 },
Self::Hill => Vec2 {
x: 1250.0,
y: 1300.0,
},
}
}
}