diff --git a/AceTheme.tres b/AceTheme.tres new file mode 100644 index 0000000..ee20b54 --- /dev/null +++ b/AceTheme.tres @@ -0,0 +1,6 @@ +[gd_resource type="Theme" load_steps=2 format=3 uid="uid://b4dcn26i0p6ym"] + +[ext_resource type="FontFile" uid="uid://dtvh6e1i057a6" path="res://Fonts/Comfortaa-Regular.ttf" id="1_6bbem"] + +[resource] +default_font = ExtResource("1_6bbem") diff --git a/Fonts/Comfortaa-Regular.ttf b/Fonts/Comfortaa-Regular.ttf new file mode 100644 index 0000000..abc4409 Binary files /dev/null and b/Fonts/Comfortaa-Regular.ttf differ diff --git a/Fonts/Comfortaa-Regular.ttf.import b/Fonts/Comfortaa-Regular.ttf.import new file mode 100644 index 0000000..92920af --- /dev/null +++ b/Fonts/Comfortaa-Regular.ttf.import @@ -0,0 +1,33 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://dtvh6e1i057a6" +path="res://.godot/imported/Comfortaa-Regular.ttf-b5da63c599bb6327af0a826061919753.fontdata" + +[deps] + +source_file="res://Fonts/Comfortaa-Regular.ttf" +dest_files=["res://.godot/imported/Comfortaa-Regular.ttf-b5da63c599bb6327af0a826061919753.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +hinting=1 +subpixel_positioning=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/Scenes/Player.tscn b/Scenes/Player.tscn index 5f0140f..73a3c5a 100644 --- a/Scenes/Player.tscn +++ b/Scenes/Player.tscn @@ -1,10 +1,11 @@ -[gd_scene load_steps=11 format=3 uid="uid://b3gx0bl43lku3"] +[gd_scene load_steps=12 format=3 uid="uid://b3gx0bl43lku3"] [ext_resource type="Script" path="res://Scripts/Player.cs" id="1_0btyt"] [ext_resource type="Texture2D" uid="uid://c4als6t3k4myc" path="res://Sprites/Player.png" id="1_cqpqa"] [ext_resource type="PackedScene" uid="uid://ds40mib6ur8yf" path="res://Scenes/Bullet.tscn" id="2_nmop0"] [ext_resource type="PackedScene" uid="uid://nu34biv4xo5k" path="res://Scenes/Brick.tscn" id="3_6sbto"] [ext_resource type="Script" path="res://Scripts/Logic/PlayerInput.cs" id="3_tvoua"] +[ext_resource type="Theme" uid="uid://b4dcn26i0p6ym" path="res://AceTheme.tres" id="4_64t2j"] [ext_resource type="Script" path="res://Scripts/Effects/CameraShake.cs" id="4_fwngj"] [sub_resource type="CircleShape2D" id="CircleShape2D_68yf8"] @@ -62,6 +63,7 @@ offset_left = -90.0 offset_top = -86.0 offset_right = 90.0 offset_bottom = -26.0 +theme = ExtResource("4_64t2j") theme_override_constants/separation = 4 alignment = 1 diff --git a/Scenes/Root.tscn b/Scenes/Root.tscn index 0c4dc0a..bd8f61c 100644 --- a/Scenes/Root.tscn +++ b/Scenes/Root.tscn @@ -1,9 +1,10 @@ -[gd_scene load_steps=12 format=3 uid="uid://bjhmjrldq4lkt"] +[gd_scene load_steps=13 format=3 uid="uid://bjhmjrldq4lkt"] [ext_resource type="PackedScene" uid="uid://b3gx0bl43lku3" path="res://Scenes/Player.tscn" id="1_vby0g"] [ext_resource type="PackedScene" uid="uid://dk8x2aeq1eevf" path="res://Scenes/UI/BootScreen.tscn" id="2_7aede"] [ext_resource type="PackedScene" uid="uid://bvll23f5ibd4v" path="res://Scenes/UI/LaunchScreen.tscn" id="2_7o53i"] [ext_resource type="Script" path="res://Scripts/Launcher.cs" id="2_u5cms"] +[ext_resource type="Theme" uid="uid://b4dcn26i0p6ym" path="res://AceTheme.tres" id="2_w3ynu"] [ext_resource type="Script" path="res://Scripts/Logic/Scoreboard.cs" id="3_as2wg"] [ext_resource type="Script" path="res://Scripts/Logic/World.cs" id="3_xwguj"] [ext_resource type="PackedScene" uid="uid://cnf80yioktsvj" path="res://Scenes/UI/GameOverScreen.tscn" id="5_441wx"] @@ -25,10 +26,12 @@ properties/2/replication_mode = 1 [node name="Node" type="Node"] [node name="LaunchScreen" parent="." node_paths=PackedStringArray("Launcher") instance=ExtResource("2_7o53i")] +theme = ExtResource("2_w3ynu") Launcher = NodePath("../LauncherNode") [node name="BootScreen" parent="." node_paths=PackedStringArray("World") instance=ExtResource("2_7aede")] visible = false +theme = ExtResource("2_w3ynu") World = NodePath("../World") [node name="LauncherNode" type="Node" parent="." node_paths=PackedStringArray("World", "BootMenu", "Overlay")] @@ -44,19 +47,23 @@ script = ExtResource("3_as2wg") [node name="PlayerDiedScreen" parent="OverlayLayer" instance=ExtResource("5_pimes")] visible = false +theme = ExtResource("2_w3ynu") [node name="GameOverScreen" parent="OverlayLayer" node_paths=PackedStringArray("Scoreboard") instance=ExtResource("5_441wx")] process_mode = 3 visible = false +theme = ExtResource("2_w3ynu") Scoreboard = NodePath("../../ScoreboardNode") [node name="Leaderboard" parent="OverlayLayer" node_paths=PackedStringArray("Scoreboard") instance=ExtResource("7_j24m7")] process_mode = 3 visible = false +theme = ExtResource("2_w3ynu") Scoreboard = NodePath("../../ScoreboardNode") [node name="Hud" parent="OverlayLayer" node_paths=PackedStringArray("World") instance=ExtResource("5_qvun1")] visible = false +theme = ExtResource("2_w3ynu") World = NodePath("../../World") [node name="World" type="Node2D" parent="." node_paths=PackedStringArray("Scoreboard")] diff --git a/Scenes/UI/LaunchScreen.tscn b/Scenes/UI/LaunchScreen.tscn index 1c828e9..c37cb56 100644 --- a/Scenes/UI/LaunchScreen.tscn +++ b/Scenes/UI/LaunchScreen.tscn @@ -27,7 +27,7 @@ layout_mode = 2 [node name="MainTitle" type="Label" parent="CenterContainer/VBoxContainer"] layout_mode = 2 text = "AceField -Prototype ยท Closed test" +Prototype v0.0.0" horizontal_alignment = 1 [node name="Spacer" type="BoxContainer" parent="CenterContainer/VBoxContainer"] diff --git a/Scenes/UI/LeaderboardRecord.tscn b/Scenes/UI/LeaderboardRecord.tscn index df00585..af4b1cd 100644 --- a/Scenes/UI/LeaderboardRecord.tscn +++ b/Scenes/UI/LeaderboardRecord.tscn @@ -1,6 +1,7 @@ -[gd_scene load_steps=2 format=3 uid="uid://b8s2m7gujfmp6"] +[gd_scene load_steps=3 format=3 uid="uid://b8s2m7gujfmp6"] [ext_resource type="Script" path="res://Scripts/UI/LeaderboardRecord.cs" id="1_jc2uj"] +[ext_resource type="Theme" uid="uid://b4dcn26i0p6ym" path="res://AceTheme.tres" id="1_mb1ty"] [node name="LeaderboardRecord" type="Control"] layout_mode = 3 @@ -14,6 +15,7 @@ offset_right = 0.12793 offset_bottom = 0.0959988 grow_horizontal = 2 grow_vertical = 2 +theme = ExtResource("1_mb1ty") script = ExtResource("1_jc2uj") [node name="Panel" type="Panel" parent="."] diff --git a/project.godot b/project.godot index 4c1eb73..7596187 100644 --- a/project.godot +++ b/project.godot @@ -75,3 +75,5 @@ ui_leaderboard={ renderer/rendering_method="mobile" textures/vram_compression/import_etc2_astc=true +anti_aliasing/quality/msaa_2d=2 +anti_aliasing/quality/screen_space_aa=1