bug: Fix low-resolution text
This commit is contained in:
parent
64c055b23f
commit
e287853798
13 changed files with 1463 additions and 104 deletions
23
main.tscn
23
main.tscn
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://cmlg48m6buclv"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://cmlg48m6buclv"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cuqofgxmpn2fu" path="res://Sprites/space.png" id="1_7mycd"]
|
||||
[ext_resource type="Script" uid="uid://dpa4j6me328ak" path="res://Scripts/ui.gd" id="2_272bh"]
|
||||
|
|
@ -6,8 +6,6 @@
|
|||
[ext_resource type="Script" uid="uid://mfgrqlsgsyrx" path="res://Scripts/spawner.gd" id="4_1bvp3"]
|
||||
[ext_resource type="Script" uid="uid://miwfeu4n6uh7" path="res://Scripts/lives.gd" id="4_kek77"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_7mycd"]
|
||||
|
||||
[node name="Node2D" type="Node2D"]
|
||||
|
||||
[node name="Background" type="TextureRect" parent="."]
|
||||
|
|
@ -20,25 +18,24 @@ stretch_mode = 1
|
|||
script = ExtResource("2_272bh")
|
||||
|
||||
[node name="Score" type="Label" parent="UI"]
|
||||
visible = false
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -66.0
|
||||
offset_top = 2.0
|
||||
offset_right = -5.0
|
||||
offset_bottom = 25.0
|
||||
offset_left = -102.0
|
||||
offset_top = 10.0
|
||||
offset_right = -11.0
|
||||
offset_bottom = 44.0
|
||||
grow_horizontal = 0
|
||||
text = "Score: 0"
|
||||
label_settings = SubResource("LabelSettings_7mycd")
|
||||
horizontal_alignment = 2
|
||||
script = ExtResource("3_5vw27")
|
||||
|
||||
[node name="Lives" type="HBoxContainer" parent="UI"]
|
||||
offset_left = 6.0
|
||||
offset_top = 6.0
|
||||
offset_right = 46.0
|
||||
offset_bottom = 46.0
|
||||
offset_left = 15.0
|
||||
offset_top = 15.0
|
||||
offset_right = 199.0
|
||||
offset_bottom = 108.0
|
||||
theme_override_constants/separation = 10
|
||||
script = ExtResource("4_kek77")
|
||||
|
||||
[node name="Spawner" type="Node2D" parent="."]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue