Files
MusicPlayer/Player.tscn

48 lines
1.3 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://cslogy2csnd7a"]
[ext_resource type="Script" path="res://Player.gd" id="1_if4kc"]
[ext_resource type="Texture2D" uid="uid://bah8j3gu07305" path="res://characters/Kiryu.png" id="1_y7dih"]
[ext_resource type="Texture2D" uid="uid://t1tnj6nqpi4a" path="res://person_remove-black-36dp.svg" id="2_xw2ck"]
[node name="Player" type="Control"]
custom_minimum_size = Vector2(2.08165e-12, 40)
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_if4kc")
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="Name" type="Label" parent="HBoxContainer"]
layout_mode = 2
text = "Sansan: "
[node name="Points" type="Label" parent="HBoxContainer"]
layout_mode = 2
text = "0"
[node name="Character" type="TextureButton" parent="HBoxContainer"]
custom_minimum_size = Vector2(80, 40)
layout_mode = 2
texture_normal = ExtResource("1_y7dih")
ignore_texture_size = true
stretch_mode = 5
[node name="AddPoint" type="Button" parent="HBoxContainer"]
layout_mode = 2
text = "+1"
[node name="RemovePoint" type="Button" parent="HBoxContainer"]
layout_mode = 2
text = "-1"
[node name="RemovePlayer" type="TextureButton" parent="HBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("2_xw2ck")