diff options
author | George L. Albany <Megacake1234@gmail.com> | 2023-02-21 08:49:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-21 08:49:46 +0100 |
commit | fb9e316a18139ea6b6ffe3b237796b42d7114738 (patch) | |
tree | 7eb315989e19d1e8eabea955330e3a2e5469c876 /game/theme_assets | |
parent | 0b3f9cb21cfa86e98649066ff7d260b4f9022023 (diff) |
Add stylized theme to MainMenu (#12)
* Add stylized theme to MainMenu
Increase message queue memory size by 4
Add default_theme.theme
Refactor SampleGame.gd to better account for refactoring via @export nodes
Properly aligne SampleGame scene
Reorganize MainMenu into its own directory
Add main_menu_border_paper.png
Add main_menu_button.png
* Add background image to theme
Implement StyleBoxCombinedTexture
Allows drawing an array of textures all at once
Make MainMenu Panel a PanelContainer for consistency
* Implement MainMenu button press, hover, and focus styles
Improve MainMenu button disabled style
* Add Godot's latest documentation to the README.md
Diffstat (limited to 'game/theme_assets')
-rw-r--r-- | game/theme_assets/main_menu_background.png | bin | 0 -> 7817823 bytes | |||
-rw-r--r-- | game/theme_assets/main_menu_background.png.import | 34 | ||||
-rw-r--r-- | game/theme_assets/main_menu_border_paper.png | bin | 0 -> 4496997 bytes | |||
-rw-r--r-- | game/theme_assets/main_menu_border_paper.png.import | 34 | ||||
-rw-r--r-- | game/theme_assets/main_menu_button.png | bin | 0 -> 121864 bytes | |||
-rw-r--r-- | game/theme_assets/main_menu_button.png.import | 34 | ||||
-rw-r--r-- | game/theme_assets/main_menu_button_normal.stylebox | bin | 0 -> 497 bytes |
7 files changed, 102 insertions, 0 deletions
diff --git a/game/theme_assets/main_menu_background.png b/game/theme_assets/main_menu_background.png Binary files differnew file mode 100644 index 0000000..7d64b9f --- /dev/null +++ b/game/theme_assets/main_menu_background.png diff --git a/game/theme_assets/main_menu_background.png.import b/game/theme_assets/main_menu_background.png.import new file mode 100644 index 0000000..271c7a7 --- /dev/null +++ b/game/theme_assets/main_menu_background.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dapuqgpjs56bs" +path="res://.godot/imported/main_menu_background.png-c4fc744a964a06c84b08c83d86c1109c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://theme_assets/main_menu_background.png" +dest_files=["res://.godot/imported/main_menu_background.png-c4fc744a964a06c84b08c83d86c1109c.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/game/theme_assets/main_menu_border_paper.png b/game/theme_assets/main_menu_border_paper.png Binary files differnew file mode 100644 index 0000000..0693ce5 --- /dev/null +++ b/game/theme_assets/main_menu_border_paper.png diff --git a/game/theme_assets/main_menu_border_paper.png.import b/game/theme_assets/main_menu_border_paper.png.import new file mode 100644 index 0000000..d01f7b1 --- /dev/null +++ b/game/theme_assets/main_menu_border_paper.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://q25s41oavuxw" +path="res://.godot/imported/main_menu_border_paper.png-a42b85887a8e3c9c1d1136c72c94fdc0.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://theme_assets/main_menu_border_paper.png" +dest_files=["res://.godot/imported/main_menu_border_paper.png-a42b85887a8e3c9c1d1136c72c94fdc0.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/game/theme_assets/main_menu_button.png b/game/theme_assets/main_menu_button.png Binary files differnew file mode 100644 index 0000000..b84c8a3 --- /dev/null +++ b/game/theme_assets/main_menu_button.png diff --git a/game/theme_assets/main_menu_button.png.import b/game/theme_assets/main_menu_button.png.import new file mode 100644 index 0000000..745b2e1 --- /dev/null +++ b/game/theme_assets/main_menu_button.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c0p34i3d3b0pw" +path="res://.godot/imported/main_menu_button.png-c10c48e0a8cab217f3c5b89e1e5b8b32.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://theme_assets/main_menu_button.png" +dest_files=["res://.godot/imported/main_menu_button.png-c10c48e0a8cab217f3c5b89e1e5b8b32.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/game/theme_assets/main_menu_button_normal.stylebox b/game/theme_assets/main_menu_button_normal.stylebox Binary files differnew file mode 100644 index 0000000..563b302 --- /dev/null +++ b/game/theme_assets/main_menu_button_normal.stylebox |