diff options
36 files changed, 279 insertions, 2 deletions
diff --git a/.import/left.png-fc260bc3362aca998fd6d04b1a90bf6a.md5 b/.import/left.png-fc260bc3362aca998fd6d04b1a90bf6a.md5 new file mode 100644 index 0000000..a518ecc --- /dev/null +++ b/.import/left.png-fc260bc3362aca998fd6d04b1a90bf6a.md5 @@ -0,0 +1,3 @@ +source_md5="4fa6a970c781a8aa4ddebd74a7e0af51" +dest_md5="fb678376de46c5d570a886c5d31b6ec2" + diff --git a/.import/left.png-fc260bc3362aca998fd6d04b1a90bf6a.stex b/.import/left.png-fc260bc3362aca998fd6d04b1a90bf6a.stex Binary files differnew file mode 100644 index 0000000..0be861c --- /dev/null +++ b/.import/left.png-fc260bc3362aca998fd6d04b1a90bf6a.stex diff --git a/.import/left_hover.png-dee3c576042cdf4d1c62b960923a7f79.md5 b/.import/left_hover.png-dee3c576042cdf4d1c62b960923a7f79.md5 new file mode 100644 index 0000000..64ff258 --- /dev/null +++ b/.import/left_hover.png-dee3c576042cdf4d1c62b960923a7f79.md5 @@ -0,0 +1,3 @@ +source_md5="15d247ded421b807f4e87548dc2d68c0" +dest_md5="3aeb92000e363e9a5408df60f8d6315f" + diff --git a/.import/left_hover.png-dee3c576042cdf4d1c62b960923a7f79.stex b/.import/left_hover.png-dee3c576042cdf4d1c62b960923a7f79.stex Binary files differnew file mode 100644 index 0000000..5eeb0c9 --- /dev/null +++ b/.import/left_hover.png-dee3c576042cdf4d1c62b960923a7f79.stex diff --git a/.import/middle.png-3c27213592f4c2f57163db99dd934186.md5 b/.import/middle.png-3c27213592f4c2f57163db99dd934186.md5 new file mode 100644 index 0000000..e41818a --- /dev/null +++ b/.import/middle.png-3c27213592f4c2f57163db99dd934186.md5 @@ -0,0 +1,3 @@ +source_md5="1f6dd94b5efac7de048168a6c3644125" +dest_md5="4cad66cb83f7adbef76314c5d89db69b" + diff --git a/.import/middle.png-3c27213592f4c2f57163db99dd934186.stex b/.import/middle.png-3c27213592f4c2f57163db99dd934186.stex Binary files differnew file mode 100644 index 0000000..64f9eb9 --- /dev/null +++ b/.import/middle.png-3c27213592f4c2f57163db99dd934186.stex diff --git a/.import/middle_hover.png-a098b1c2fabb904b5f6c8653f956cfff.md5 b/.import/middle_hover.png-a098b1c2fabb904b5f6c8653f956cfff.md5 new file mode 100644 index 0000000..2109667 --- /dev/null +++ b/.import/middle_hover.png-a098b1c2fabb904b5f6c8653f956cfff.md5 @@ -0,0 +1,3 @@ +source_md5="dadd8e8d465ab153ea6e0c986709e6e4" +dest_md5="b34d7b87d119bc61f15c4a2fe8b1656b" + diff --git a/.import/middle_hover.png-a098b1c2fabb904b5f6c8653f956cfff.stex b/.import/middle_hover.png-a098b1c2fabb904b5f6c8653f956cfff.stex Binary files differnew file mode 100644 index 0000000..7e58396 --- /dev/null +++ b/.import/middle_hover.png-a098b1c2fabb904b5f6c8653f956cfff.stex diff --git a/.import/right.png-db39734bb74e1cf7731e0f7e3dd0db7e.md5 b/.import/right.png-db39734bb74e1cf7731e0f7e3dd0db7e.md5 new file mode 100644 index 0000000..176d8f7 --- /dev/null +++ b/.import/right.png-db39734bb74e1cf7731e0f7e3dd0db7e.md5 @@ -0,0 +1,3 @@ +source_md5="cd2f00c1e45969e72bfb0d9f74cd99c4" +dest_md5="50191ba98c035e4c9a44fd68690de73d" + diff --git a/.import/right.png-db39734bb74e1cf7731e0f7e3dd0db7e.stex b/.import/right.png-db39734bb74e1cf7731e0f7e3dd0db7e.stex Binary files differnew file mode 100644 index 0000000..53c2858 --- /dev/null +++ b/.import/right.png-db39734bb74e1cf7731e0f7e3dd0db7e.stex diff --git a/.import/right_hover.png-acfe17fb2abd2d8eb701c51b11c9ee33.md5 b/.import/right_hover.png-acfe17fb2abd2d8eb701c51b11c9ee33.md5 new file mode 100644 index 0000000..78ee940 --- /dev/null +++ b/.import/right_hover.png-acfe17fb2abd2d8eb701c51b11c9ee33.md5 @@ -0,0 +1,3 @@ +source_md5="f7bc7e973ee1b477cb4e9b3a37b680a4" +dest_md5="469cf9459eb48b64157b553fbd00c495" + diff --git a/.import/right_hover.png-acfe17fb2abd2d8eb701c51b11c9ee33.stex b/.import/right_hover.png-acfe17fb2abd2d8eb701c51b11c9ee33.stex Binary files differnew file mode 100644 index 0000000..5994c12 --- /dev/null +++ b/.import/right_hover.png-acfe17fb2abd2d8eb701c51b11c9ee33.stex diff --git a/components/Logo.tscn b/components/Logo.tscn index 7ab131f..9d024e2 100644 --- a/components/Logo.tscn +++ b/components/Logo.tscn @@ -28,8 +28,7 @@ frame_7/delay_sec = 1.66 [node name="Node2D" type="Node2D"] [node name="Sprite" type="Sprite" parent="."] -position = Vector2( 100, 100 ) -scale = Vector2( 3, 3 ) +scale = Vector2( 5, 5 ) texture = ExtResource( 1 ) [node name="Sprite" type="Sprite" parent="Sprite"] diff --git a/components/buttontest.tscn b/components/buttontest.tscn new file mode 100644 index 0000000..d0d4e6b --- /dev/null +++ b/components/buttontest.tscn @@ -0,0 +1,46 @@ +[gd_scene load_steps=7 format=2] + +[ext_resource path="res://textures/components/button/middle.png" type="Texture" id=1] +[ext_resource path="res://textures/components/button/right.png" type="Texture" id=2] +[ext_resource path="res://fonts/Fipps-Regular.otf" type="DynamicFontData" id=3] +[ext_resource path="res://textures/components/button/left.png" type="Texture" id=4] + +[sub_resource type="DynamicFont" id=1] +outline_color = Color( 0, 0, 0, 1 ) +font_data = ExtResource( 3 ) + +[sub_resource type="Theme" id=2] +default_font = SubResource( 1 ) + +[node name="Node2D" type="Node2D"] + +[node name="Left" type="Sprite" parent="."] +position = Vector2( -100, 0 ) +scale = Vector2( 4, 4 ) +texture = ExtResource( 4 ) + +[node name="Right" type="Sprite" parent="."] +position = Vector2( 100, 0 ) +scale = Vector2( 4, 4 ) +texture = ExtResource( 2 ) + +[node name="Middle" type="Sprite" parent="."] +scale = Vector2( 30.321, 4 ) +texture = ExtResource( 1 ) + +[node name="RichTextLabel" type="RichTextLabel" parent="."] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -31.9373 +margin_top = -19.027 +margin_right = 76.0627 +margin_bottom = 27.973 +grow_horizontal = 2 +grow_vertical = 2 +theme = SubResource( 2 ) +text = "Menu" +__meta__ = { +"_edit_use_anchors_": false +} diff --git a/fonts/Fipps-Regular.otf b/fonts/Fipps-Regular.otf Binary files differnew file mode 100644 index 0000000..9334dad --- /dev/null +++ b/fonts/Fipps-Regular.otf diff --git a/fonts/fipps.zip b/fonts/fipps.zip Binary files differnew file mode 100644 index 0000000..fc18fea --- /dev/null +++ b/fonts/fipps.zip diff --git a/project.godot b/project.godot index 56773fa..a04a182 100644 --- a/project.godot +++ b/project.godot @@ -10,6 +10,7 @@ config_version=4 _global_script_classes=[ ] _global_script_class_icons={ + } [application] @@ -48,6 +49,7 @@ common/enable_pause_aware_picking=true [rendering] +quality/driver/driver_name="GLES2" vram_compression/import_etc=true vram_compression/import_etc2=false environment/default_environment="res://default_env.tres" diff --git a/scenes/menu.tscn b/scenes/menu.tscn new file mode 100644 index 0000000..32a75a0 --- /dev/null +++ b/scenes/menu.tscn @@ -0,0 +1,8 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://components/Logo.tscn" type="PackedScene" id=1] + +[node name="Node2D" type="Node2D"] + +[node name="Node2D" parent="." instance=ExtResource( 1 )] +position = Vector2( 144.311, 162.722 ) diff --git a/textures/components/button/left.png b/textures/components/button/left.png Binary files differnew file mode 100644 index 0000000..753e908 --- /dev/null +++ b/textures/components/button/left.png diff --git a/textures/components/button/left.png.import b/textures/components/button/left.png.import new file mode 100644 index 0000000..48179b9 --- /dev/null +++ b/textures/components/button/left.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/left.png-fc260bc3362aca998fd6d04b1a90bf6a.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/components/button/left.png" +dest_files=[ "res://.import/left.png-fc260bc3362aca998fd6d04b1a90bf6a.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/textures/components/button/left.xcf b/textures/components/button/left.xcf Binary files differnew file mode 100644 index 0000000..b7c0a43 --- /dev/null +++ b/textures/components/button/left.xcf diff --git a/textures/components/button/left_hover.png b/textures/components/button/left_hover.png Binary files differnew file mode 100644 index 0000000..93a80b0 --- /dev/null +++ b/textures/components/button/left_hover.png diff --git a/textures/components/button/left_hover.png.import b/textures/components/button/left_hover.png.import new file mode 100644 index 0000000..d1a34e0 --- /dev/null +++ b/textures/components/button/left_hover.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/left_hover.png-dee3c576042cdf4d1c62b960923a7f79.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/components/button/left_hover.png" +dest_files=[ "res://.import/left_hover.png-dee3c576042cdf4d1c62b960923a7f79.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/textures/components/button/left_hover.xcf b/textures/components/button/left_hover.xcf Binary files differnew file mode 100644 index 0000000..30c5383 --- /dev/null +++ b/textures/components/button/left_hover.xcf diff --git a/textures/components/button/middle.png b/textures/components/button/middle.png Binary files differnew file mode 100644 index 0000000..2aa0e91 --- /dev/null +++ b/textures/components/button/middle.png diff --git a/textures/components/button/middle.png.import b/textures/components/button/middle.png.import new file mode 100644 index 0000000..1851f5d --- /dev/null +++ b/textures/components/button/middle.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/middle.png-3c27213592f4c2f57163db99dd934186.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/components/button/middle.png" +dest_files=[ "res://.import/middle.png-3c27213592f4c2f57163db99dd934186.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/textures/components/button/middle.xcf b/textures/components/button/middle.xcf Binary files differnew file mode 100644 index 0000000..602712a --- /dev/null +++ b/textures/components/button/middle.xcf diff --git a/textures/components/button/middle_hover.png b/textures/components/button/middle_hover.png Binary files differnew file mode 100644 index 0000000..19e6df9 --- /dev/null +++ b/textures/components/button/middle_hover.png diff --git a/textures/components/button/middle_hover.png.import b/textures/components/button/middle_hover.png.import new file mode 100644 index 0000000..24542ba --- /dev/null +++ b/textures/components/button/middle_hover.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/middle_hover.png-a098b1c2fabb904b5f6c8653f956cfff.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/components/button/middle_hover.png" +dest_files=[ "res://.import/middle_hover.png-a098b1c2fabb904b5f6c8653f956cfff.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/textures/components/button/middle_hover.xcf b/textures/components/button/middle_hover.xcf Binary files differnew file mode 100644 index 0000000..06d5b34 --- /dev/null +++ b/textures/components/button/middle_hover.xcf diff --git a/textures/components/button/right.png b/textures/components/button/right.png Binary files differnew file mode 100644 index 0000000..fc41f5a --- /dev/null +++ b/textures/components/button/right.png diff --git a/textures/components/button/right.png.import b/textures/components/button/right.png.import new file mode 100644 index 0000000..e8f8e15 --- /dev/null +++ b/textures/components/button/right.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/right.png-db39734bb74e1cf7731e0f7e3dd0db7e.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/components/button/right.png" +dest_files=[ "res://.import/right.png-db39734bb74e1cf7731e0f7e3dd0db7e.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/textures/components/button/right.xcf b/textures/components/button/right.xcf Binary files differnew file mode 100644 index 0000000..695d748 --- /dev/null +++ b/textures/components/button/right.xcf diff --git a/textures/components/button/right_hover.png b/textures/components/button/right_hover.png Binary files differnew file mode 100644 index 0000000..9dade91 --- /dev/null +++ b/textures/components/button/right_hover.png diff --git a/textures/components/button/right_hover.png.import b/textures/components/button/right_hover.png.import new file mode 100644 index 0000000..174eb06 --- /dev/null +++ b/textures/components/button/right_hover.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/right_hover.png-acfe17fb2abd2d8eb701c51b11c9ee33.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/components/button/right_hover.png" +dest_files=[ "res://.import/right_hover.png-acfe17fb2abd2d8eb701c51b11c9ee33.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/textures/components/button/right_hover.xcf b/textures/components/button/right_hover.xcf Binary files differnew file mode 100644 index 0000000..7d7a029 --- /dev/null +++ b/textures/components/button/right_hover.xcf |