-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #163 from cdsupina/ui-buttons
New Main Menu with 3D Backgrounds and Selectable Buttons
- Loading branch information
Showing
19 changed files
with
711 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
({ | ||
"thetawave_logo.layout": TextureAtlasLayout ( | ||
tile_size_x: 1920., | ||
tile_size_y: 1080., | ||
columns: 4, | ||
rows: 12, | ||
), | ||
"thetawave_logo.image": File( path: "texture/thetawave_logo_spritesheet.png"), | ||
"thetawave_menu_button.layout": TextureAtlasLayout ( | ||
tile_size_x: 160., | ||
tile_size_y: 34., | ||
columns: 1, | ||
rows: 2, | ||
), | ||
"thetawave_menu_button.image": File( path: "texture/menu_button_spritesheet.png"), | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
use bevy::{ | ||
prelude::{Handle, Resource, TextureAtlasLayout}, | ||
render::texture::Image, | ||
}; | ||
use bevy_asset_loader::prelude::AssetCollection; | ||
|
||
#[derive(AssetCollection, Resource)] | ||
pub struct UiAssets { | ||
#[asset(key = "thetawave_logo.layout")] | ||
pub thetawave_logo_layout: Handle<TextureAtlasLayout>, | ||
#[asset(key = "thetawave_logo.image")] | ||
pub thetawave_logo_image: Handle<Image>, | ||
#[asset(key = "thetawave_menu_button.layout")] | ||
pub thetawave_menu_button_layout: Handle<TextureAtlasLayout>, | ||
#[asset(key = "thetawave_menu_button.image")] | ||
pub thetawave_menu_button_image: Handle<Image>, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.