First commit

* Can open dir and play song
* Can fetch song from server and show game
* Can fetch list of games
This commit is contained in:
2023-03-18 21:03:05 +01:00
commit aad5f3d421
55 changed files with 3664 additions and 0 deletions

48
Player.tscn Normal file
View File

@@ -0,0 +1,48 @@
[gd_scene load_steps=3 format=3 uid="uid://cvixk5bkj7lgb"]
[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"]
[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
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
[node name="PlayButton" type="Button" parent="HBoxContainer"]
layout_mode = 2
text = "Play"
[node name="PauseButton" type="Button" parent="HBoxContainer"]
layout_mode = 2
text = "Pause"
[node name="StopButton" type="Button" parent="HBoxContainer"]
layout_mode = 2
text = "Stop"
[node name="HSlider" type="HSlider" parent="HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
scrollable = false
[node name="Label" type="Label" parent="HBoxContainer"]
layout_mode = 2
text = "1:00 / 3:00"