Rotating filter
This commit is contained in:
parent
05ecbbbbec
commit
5ac4b4711c
6 changed files with 58 additions and 24 deletions
|
|
@ -49,12 +49,12 @@ fn setup(mut commands: Commands, mut windows: ResMut<Windows>, asset_server: Res
|
|||
.unwrap()
|
||||
.set_title(String::from("Bevyjam"));
|
||||
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
let font: Handle<Font> = asset_server.load("UacariLegacy-Thin.ttf");
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
let font: Handle<Font> = asset_server.load("UacariLegacy-Thin.ttf");
|
||||
commands.insert_resource(font);
|
||||
|
||||
let bevy_icon: Handle<Image> = asset_server.load("bevy.png");
|
||||
commands.insert_resource(bevy_icon);
|
||||
|
||||
commands.spawn_bundle(Camera2dBundle::default());
|
||||
commands.insert_resource(AmbientLight {
|
||||
color: Color::WHITE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue