channel-switcher/games/ddr/ddr.tscn

84 lines
2.9 KiB
Text
Raw Normal View History

2025-05-17 14:21:38 +10:00
[gd_scene load_steps=10 format=3 uid="uid://b5lh8cnwu8xhg"]
2025-05-13 15:56:51 +10:00
[ext_resource type="PackedScene" uid="uid://dgg4fsg4xhdwa" path="res://games/ddr/note_path.tscn" id="1_wdky4"]
[ext_resource type="Script" uid="uid://dv72o4x8p6raq" path="res://games/ddr/ddr.gd" id="1_wvoco"]
[ext_resource type="Texture2D" uid="uid://50vdogpsfifh" path="res://sprites/ddr_green.png" id="2_oxbdn"]
[ext_resource type="Texture2D" uid="uid://c30il7iehgccl" path="res://sprites/ddr_yellow.png" id="3_wvoco"]
[ext_resource type="Texture2D" uid="uid://c3rmkv7q4q8gc" path="res://sprites/ddr_blue.png" id="4_i3ush"]
[sub_resource type="Gradient" id="Gradient_s8ryg"]
interpolation_color_space = 2
offsets = PackedFloat32Array(0, 0.129707, 1)
colors = PackedColorArray(5.17406e-07, 0.310176, 0.264961, 1, 0, 0.313239, 0.313239, 1, 0.313805, 0.000234589, 0.377941, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_wdky4"]
gradient = SubResource("Gradient_s8ryg")
fill = 2
fill_from = Vector2(0.542735, 1)
fill_to = Vector2(0.487179, 0)
2025-05-17 14:21:38 +10:00
[sub_resource type="LabelSettings" id="LabelSettings_i3ush"]
font_size = 36
[sub_resource type="LabelSettings" id="LabelSettings_wvoco"]
font_size = 121
[node name="Ddr" type="Node" node_paths=PackedStringArray("paths", "score_label")]
2025-05-13 15:56:51 +10:00
script = ExtResource("1_wvoco")
paths = [NodePath("left_path"), NodePath("down_path"), NodePath("up_path"), NodePath("right_path")]
2025-05-17 14:21:38 +10:00
score_label = NodePath("VBoxContainer/Score")
2025-05-13 15:56:51 +10:00
[node name="TextureRect" type="TextureRect" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("GradientTexture2D_wdky4")
[node name="left_path" parent="." instance=ExtResource("1_wdky4")]
position = Vector2(379, 40)
arrow_rotation = 270
[node name="down_path" parent="." instance=ExtResource("1_wdky4")]
position = Vector2(445, 40)
arrow_texture = ExtResource("2_oxbdn")
arrow_rotation = 180
[node name="up_path" parent="." instance=ExtResource("1_wdky4")]
position = Vector2(511, 40)
arrow_texture = ExtResource("3_wvoco")
[node name="right_path" parent="." instance=ExtResource("1_wdky4")]
position = Vector2(577, 40)
arrow_texture = ExtResource("4_i3ush")
arrow_rotation = 90
2025-05-17 14:21:38 +10:00
[node name="VBoxContainer" type="VBoxContainer" parent="."]
offset_left = 4.0
offset_top = 15.0
offset_right = 341.0
offset_bottom = 350.0
[node name="Label" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Press the Arrows!"
label_settings = SubResource("LabelSettings_i3ush")
horizontal_alignment = 1
[node name="RichTextLabel" type="RichTextLabel" parent="VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/normal_font_size = 81
bbcode_enabled = true
text = "[wave amp=100][rainbow freq=0.1 speed=10]Combo"
fit_content = true
horizontal_alignment = 1
vertical_alignment = 1
[node name="Score" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "0/5"
label_settings = SubResource("LabelSettings_wvoco")
horizontal_alignment = 1
vertical_alignment = 1