Added media player and character select and started some other stuff
This commit is contained in:
59
Player.tscn
59
Player.tscn
@@ -1,48 +1,47 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://cvixk5bkj7lgb"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://cslogy2csnd7a"]
|
||||
|
||||
[ext_resource type="Script" path="res://Player.gd" id="1_if4kc"]
|
||||
[ext_resource type="AudioStream" uid="uid://n2g8jddr85h2" path="res://01. Opening.mp3" id="2_sv4nm"]
|
||||
[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="PanelContainer"]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -121.0
|
||||
offset_top = -15.5
|
||||
offset_right = 121.0
|
||||
offset_bottom = 15.5
|
||||
[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
|
||||
size_flags_vertical = 4
|
||||
script = ExtResource("1_if4kc")
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("2_sv4nm")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
layout_mode = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="PlayButton" type="Button" parent="HBoxContainer"]
|
||||
[node name="Name" type="Label" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Play"
|
||||
text = "Sansan: "
|
||||
|
||||
[node name="PauseButton" type="Button" parent="HBoxContainer"]
|
||||
[node name="Points" type="Label" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Pause"
|
||||
text = "0"
|
||||
|
||||
[node name="StopButton" type="Button" parent="HBoxContainer"]
|
||||
[node name="Character" type="TextureButton" parent="HBoxContainer"]
|
||||
custom_minimum_size = Vector2(80, 40)
|
||||
layout_mode = 2
|
||||
text = "Stop"
|
||||
texture_normal = ExtResource("1_y7dih")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="HSlider" type="HSlider" parent="HBoxContainer"]
|
||||
[node name="AddPoint" type="Button" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 4
|
||||
scrollable = false
|
||||
text = "+1"
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer"]
|
||||
[node name="RemovePoint" type="Button" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "1:00 / 3:00"
|
||||
text = "-1"
|
||||
|
||||
[node name="RemovePlayer" type="TextureButton" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
texture_normal = ExtResource("2_xw2ck")
|
||||
|
||||
Reference in New Issue
Block a user