Skip to content

Commit a0d1954

Browse files
committed
make fullscreen and change panel
1 parent 6a97cc5 commit a0d1954

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

main scene.tscn

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[gd_scene load_steps=22 format=3 uid="uid://dlewy2ppts022"]
1+
[gd_scene load_steps=23 format=3 uid="uid://dlewy2ppts022"]
22

33
[ext_resource type="TileSet" uid="uid://bigbiha614tnl" path="res://tileset.tres" id="1_dur42"]
44
[ext_resource type="Script" path="res://main scene.gd" id="1_xhh2k"]
@@ -27,6 +27,14 @@ glow_blend_mode = 1
2727
glow_hdr_threshold = 0.79
2828
glow_hdr_luminance_cap = 249.14
2929

30+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ea7v5"]
31+
bg_color = Color(0.227451, 0.266667, 0.4, 1)
32+
border_width_left = 2
33+
border_width_top = 2
34+
border_width_right = 2
35+
border_width_bottom = 2
36+
border_color = Color(0, 0, 0, 1)
37+
3038
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_vh38i"]
3139
bg_color = Color(0, 0, 0, 1)
3240

@@ -97,6 +105,7 @@ offset_left = 167.0
97105
offset_top = -130.0
98106
offset_right = 234.0
99107
offset_bottom = -17.0
108+
theme_override_styles/panel = SubResource("StyleBoxFlat_ea7v5")
100109

101110
[node name="Powerui" type="Sprite2D" parent="Camera2D"]
102111
texture_filter = 1

project.godot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ GlobalVars="*res://global.gd"
2323

2424
window/size/viewport_width=1920
2525
window/size/viewport_height=1080
26+
window/size/mode=3
2627
window/stretch/scale_mode="integer"
2728

2829
[input]

0 commit comments

Comments
 (0)