diff options
-rw-r--r-- | project.godot | 10 | ||||
-rw-r--r-- | scenes/menu.tscn | 7 | ||||
-rw-r--r-- | scenes/pause.gd | 4 | ||||
-rw-r--r-- | textures/icons/cursor.png | bin | 0 -> 822 bytes | |||
-rw-r--r-- | textures/icons/cursor.png.import | 34 | ||||
-rw-r--r-- | textures/icons/cursor.xcf | bin | 0 -> 6516 bytes |
6 files changed, 49 insertions, 6 deletions
diff --git a/project.godot b/project.godot index 851e9f0..763b0a3 100644 --- a/project.godot +++ b/project.godot @@ -52,6 +52,7 @@ _global_script_class_icons={ config/name="Deeper but Lighter" run/main_scene="res://scenes/menu.tscn" +boot_splash/bg_color=Color( 0.109804, 0.129412, 0.14902, 1 ) config/icon="res://icon.png" [autoload] @@ -62,6 +63,8 @@ Settings="*res://components/Settings.gd" window/size/width=1280 window/size/height=720 +window/size/fullscreen=true +mouse_cursor/custom_image="res://textures/icons/cursor.png" window/stretch/mode="2d" window/stretch/aspect="keep" @@ -69,6 +72,11 @@ window/stretch/aspect="keep" singletons=[ "res://git_api.gdnlib" ] +[gui] + +theme/custom="res://fonts/Flipps_Theme.tres" +theme/custom_font="res://fonts/Flipps.tres" + [input] mv_up={ @@ -94,6 +102,8 @@ common/enable_pause_aware_picking=true [rendering] quality/driver/driver_name="GLES2" +quality/intended_usage/framebuffer_allocation=0 +quality/intended_usage/framebuffer_allocation.mobile=0 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 index 126c482..71b525c 100644 --- a/scenes/menu.tscn +++ b/scenes/menu.tscn @@ -95,7 +95,7 @@ texture = ExtResource( 3 ) [node name="Content" type="Node2D" parent="."] [node name="Badge" type="Node2D" parent="Content"] -position = Vector2( 630.621, 247.313 ) +position = Vector2( 630.621, -217.796 ) [node name="bluestripe" type="Sprite" parent="Content/Badge"] position = Vector2( -1.27783, -0.902592 ) @@ -116,12 +116,12 @@ scale = Vector2( 4, 4 ) texture = SubResource( 1 ) [node name="Exit" parent="Content" instance=ExtResource( 2 )] -position = Vector2( 850, 500 ) +position = Vector2( 1508.94, 500 ) text = "Exit" fixed_width = 150 [node name="Strart" parent="Content" instance=ExtResource( 2 )] -position = Vector2( 450, 500 ) +position = Vector2( -150, 500 ) text = "Start" fixed_width = 150 @@ -131,7 +131,6 @@ anims/startgame = SubResource( 2 ) [node name="Outgoing" type="AnimationPlayer" parent="."] anims/tointro = SubResource( 3 ) - [connection signal="on_click" from="Content/Exit" to="." method="_on_Exit_on_click"] [connection signal="on_click" from="Content/Strart" to="." method="_on_Strart_on_click"] [connection signal="animation_finished" from="Transitions" to="." method="_on_Transitions_animation_finished"] diff --git a/scenes/pause.gd b/scenes/pause.gd index 43a2d5b..57ab574 100644 --- a/scenes/pause.gd +++ b/scenes/pause.gd @@ -6,7 +6,7 @@ onready var backgroud = $Sprite func pause(): pause_menu.visible = true pause_menu.pause_mode = PAUSE_MODE_PROCESS # to be save - get_tree().paused = true + # get_tree().paused = true func _ready(): @@ -15,7 +15,7 @@ func _ready(): func _on_Resume_on_click(): pause_menu.visible = false - get_tree().paused = false + # get_tree().paused = false func _on_Main_Menu_on_click(): diff --git a/textures/icons/cursor.png b/textures/icons/cursor.png Binary files differnew file mode 100644 index 0000000..6ecbe90 --- /dev/null +++ b/textures/icons/cursor.png diff --git a/textures/icons/cursor.png.import b/textures/icons/cursor.png.import new file mode 100644 index 0000000..aeb7bbf --- /dev/null +++ b/textures/icons/cursor.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/cursor.png-dd590eb27a61b45f6b852da40e6b08d1.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/icons/cursor.png" +dest_files=[ "res://.import/cursor.png-dd590eb27a61b45f6b852da40e6b08d1.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/icons/cursor.xcf b/textures/icons/cursor.xcf Binary files differnew file mode 100644 index 0000000..e3a63f9 --- /dev/null +++ b/textures/icons/cursor.xcf |