2025-04-21 21:38:38 +10:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://cp2t5xc2yk3q4"]
|
2025-04-20 16:15:26 +10:00
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://ddafqftfujtry" path="res://scorecard.gd" id="1_hcikf"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://77quibtjcvca" path="res://sprites/scorecard.png" id="1_l1cy6"]
|
|
|
|
|
[ext_resource type="SpriteFrames" uid="uid://c7ceeyn5e3kgr" path="res://playerSprites.tres" id="3_hcikf"]
|
2025-04-20 17:31:40 +10:00
|
|
|
[ext_resource type="Texture2D" uid="uid://b4ffkmx1xbr7e" path="res://sprites/scorecard - white.png" id="3_lb3t7"]
|
2025-04-20 16:15:26 +10:00
|
|
|
|
2025-04-21 21:38:38 +10:00
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_lb3t7"]
|
|
|
|
|
font_size = 8
|
|
|
|
|
|
|
|
|
|
[node name="Scorecard" type="Control" node_paths=PackedStringArray("score_label", "sprite", "back", "command_label")]
|
2025-04-20 17:31:40 +10:00
|
|
|
self_modulate = Color(0.879205, 0.000618961, 0.879199, 1)
|
2025-04-20 16:15:26 +10:00
|
|
|
custom_minimum_size = Vector2(0, 23)
|
|
|
|
|
layout_mode = 3
|
|
|
|
|
anchors_preset = 15
|
|
|
|
|
anchor_right = 1.0
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
offset_right = -1094.0
|
|
|
|
|
offset_bottom = -625.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
script = ExtResource("1_hcikf")
|
|
|
|
|
score_label = NodePath("Score")
|
|
|
|
|
sprite = NodePath("PlayerSprite")
|
2025-04-20 17:31:40 +10:00
|
|
|
back = NodePath("Back")
|
|
|
|
|
alive_texture = ExtResource("1_l1cy6")
|
|
|
|
|
dead_texture = ExtResource("3_lb3t7")
|
2025-04-21 21:38:38 +10:00
|
|
|
command_label = NodePath("command")
|
2025-04-20 16:15:26 +10:00
|
|
|
|
|
|
|
|
[node name="Back" type="TextureRect" parent="."]
|
2025-04-20 17:31:40 +10:00
|
|
|
show_behind_parent = true
|
2025-04-21 01:11:27 +10:00
|
|
|
layout_mode = 0
|
2025-04-20 16:15:26 +10:00
|
|
|
offset_right = 58.0
|
|
|
|
|
offset_bottom = 23.0
|
2025-04-20 17:31:40 +10:00
|
|
|
texture = ExtResource("3_lb3t7")
|
|
|
|
|
|
|
|
|
|
[node name="PlayerSprite" type="AnimatedSprite2D" parent="."]
|
|
|
|
|
position = Vector2(9, 12)
|
|
|
|
|
sprite_frames = ExtResource("3_hcikf")
|
2025-04-20 16:15:26 +10:00
|
|
|
|
|
|
|
|
[node name="Score" type="Label" parent="."]
|
|
|
|
|
layout_mode = 0
|
|
|
|
|
offset_left = 37.0
|
|
|
|
|
offset_right = 56.0
|
|
|
|
|
offset_bottom = 23.0
|
|
|
|
|
text = "00"
|
2025-04-21 15:57:48 +10:00
|
|
|
horizontal_alignment = 1
|
2025-04-21 21:38:38 +10:00
|
|
|
|
|
|
|
|
[node name="command" type="Label" parent="."]
|
|
|
|
|
layout_mode = 0
|
|
|
|
|
offset_left = 61.0
|
|
|
|
|
offset_top = 5.0
|
|
|
|
|
offset_right = 97.0
|
|
|
|
|
offset_bottom = 18.0
|
|
|
|
|
text = "!bet ___ ?"
|
|
|
|
|
label_settings = SubResource("LabelSettings_lb3t7")
|