Add high scores level with specific settings, new resources for images and textures, update project configuration to include HighScoreMgr, and define style boxes for game theme.

This commit is contained in:
Dan 2024-05-11 13:53:04 +01:00
parent 3eaa959910
commit 115b4b0a69
22 changed files with 821 additions and 12 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bhw76y620miuj"
path="res://.godot/imported/highscores.png-755bc25dea6a9b7068f83d8847686b1f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/images/highscores.png"
dest_files=["res://.godot/imported/highscores.png-755bc25dea6a9b7068f83d8847686b1f.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cvjdxb2cybcow"
path="res://.godot/imported/gravestone.png-5703c884ce4a9f27ef2d69327f18af65.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/textures/gravestone.png"
dest_files=["res://.godot/imported/gravestone.png-5703c884ce4a9f27ef2d69327f18af65.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cm4u74pa1mmwu"
path="res://.godot/imported/honeypot.png-b45f45f16128e6be852a0ded3c6fd106.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/textures/honeypot.png"
dest_files=["res://.godot/imported/honeypot.png-b45f45f16128e6be852a0ded3c6fd106.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View file

@ -1,10 +1,113 @@
[gd_resource type="Theme" load_steps=2 format=3 uid="uid://cpkvret5gi66h"]
[gd_resource type="Theme" load_steps=9 format=3 uid="uid://cpkvret5gi66h"]
[ext_resource type="FontFile" uid="uid://beyoaacc7uhy1" path="res://resources/fonts/Kaph-Regular.ttf" id="1_fwiur"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_lcmkq"]
bg_color = Color(0.996078, 0.85098, 0.498039, 0.776471)
border_width_left = 4
border_width_top = 4
border_width_right = 4
border_width_bottom = 4
border_color = Color(1, 0.878431, 0.545098, 1)
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_c0e0a"]
content_margin_left = 20.0
content_margin_top = 20.0
content_margin_right = 20.0
content_margin_bottom = 20.0
bg_color = Color(0.996078, 0.85098, 0.498039, 1)
border_width_left = 4
border_width_top = 4
border_width_right = 4
border_width_bottom = 4
border_color = Color(0.819608, 0.454902, 0.254902, 1)
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_g31a1"]
content_margin_left = 20.0
content_margin_top = 20.0
content_margin_right = 20.0
content_margin_bottom = 20.0
bg_color = Color(0.996078, 0.85098, 0.498039, 1)
border_width_left = 4
border_width_top = 4
border_width_right = 4
border_width_bottom = 4
border_color = Color(0.819608, 0.454902, 0.254902, 1)
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1c0sa"]
bg_color = Color(0.996078, 0.85098, 0.498039, 0.784314)
border_width_left = 4
border_width_top = 4
border_width_right = 4
border_width_bottom = 4
border_color = Color(0.819608, 0.454902, 0.254902, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
shadow_color = Color(0, 0, 0, 0.258824)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_crayb"]
bg_color = Color(0.819608, 0.454902, 0.254902, 1)
border_color = Color(0.819608, 0.454902, 0.254902, 1)
shadow_color = Color(0, 0, 0, 0.258824)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0rei0"]
bg_color = Color(0.996078, 0.85098, 0.498039, 1)
border_width_left = 4
border_width_top = 4
border_width_right = 4
border_width_bottom = 4
border_color = Color(0.819608, 0.454902, 0.254902, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
shadow_color = Color(0, 0, 0, 0.258824)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_vj6bi"]
content_margin_left = 2.0
content_margin_top = 2.0
content_margin_right = 2.0
content_margin_bottom = 2.0
bg_color = Color(0.819608, 0.454902, 0.254902, 1)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6
corner_detail = 6
[resource]
default_font = ExtResource("1_fwiur")
default_font_size = 12
Button/colors/font_color = Color(0.819608, 0.454902, 0.254902, 1)
Button/colors/font_hover_color = Color(0.819608, 0.454902, 0.254902, 1)
Button/colors/font_pressed_color = Color(1, 0.878431, 0.545098, 1)
Button/constants/h_separation = 5
Button/font_sizes/font_size = 16
Button/styles/hover = SubResource("StyleBoxFlat_lcmkq")
Button/styles/normal = SubResource("StyleBoxFlat_c0e0a")
Button/styles/pressed = SubResource("StyleBoxFlat_g31a1")
Fonts/fonts/large = ExtResource("1_fwiur")
Fonts/fonts/normal = ExtResource("1_fwiur")
Label/colors/font_shadow_color = Color(0, 0, 0, 0.921569)
Label/colors/font_color = Color(0.819608, 0.454902, 0.254902, 1)
Label/colors/font_shadow_color = Color(0.00392157, 0, 0, 0.45098)
Panel/styles/panel = SubResource("StyleBoxFlat_1c0sa")
PopupMenu/colors/font_color = Color(0.819608, 0.454902, 0.254902, 1)
PopupMenu/constants/h_separation = 6
PopupMenu/constants/v_separation = 6
PopupMenu/styles/hover = SubResource("StyleBoxFlat_crayb")
PopupMenu/styles/panel = SubResource("StyleBoxFlat_0rei0")
ProgressBar/styles/fill = SubResource("StyleBoxFlat_vj6bi")