can now add and store leaderboards. started work on playlist loading
This commit is contained in:
@@ -1,13 +1,38 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://sa1d1rftyn87"]
|
||||
[gd_scene load_steps=11 format=3 uid="uid://sa1d1rftyn87"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/main_menu.gd" id="1_haaol"]
|
||||
[ext_resource type="PackedScene" uid="uid://dpootbr7qgac1" path="res://Tools/playlist_generator.tscn" id="2_2rg1o"]
|
||||
[ext_resource type="Theme" uid="uid://clek42ofxr45f" path="res://DefaultTheme.tres" id="2_3fflq"]
|
||||
[ext_resource type="FontFile" uid="uid://d2h2tjhxiv5wo" path="res://assets/fonts/White On Black.ttf" id="2_ac165"]
|
||||
[ext_resource type="Shader" path="res://assets/crtTest.gdshader" id="2_hyw7c"]
|
||||
[ext_resource type="Theme" uid="uid://buma708jpxqrn" path="res://Clean_theme.tres" id="4_ydrbj"]
|
||||
[ext_resource type="Shader" path="res://assets/Shaders/blur.gdshader" id="6_x75tm"]
|
||||
[ext_resource type="Texture2D" uid="uid://bt6utik8unkxa" path="res://assets/Textures/ObjectTextures/money.png" id="7_ia0hc"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_a5tps"]
|
||||
shader = ExtResource("2_hyw7c")
|
||||
shader_parameter/overlay = true
|
||||
shader_parameter/scanlines_opacity = 0.025
|
||||
shader_parameter/scanlines_width = 0.315
|
||||
shader_parameter/grille_opacity = 0.1
|
||||
shader_parameter/resolution = Vector2(640, 480)
|
||||
shader_parameter/pixelate = true
|
||||
shader_parameter/roll = true
|
||||
shader_parameter/roll_speed = 8.0
|
||||
shader_parameter/roll_size = 15.0
|
||||
shader_parameter/roll_variation = 1.8
|
||||
shader_parameter/distort_intensity = 0.05
|
||||
shader_parameter/noise_opacity = 0.4
|
||||
shader_parameter/noise_speed = 5.0
|
||||
shader_parameter/static_noise_intensity = 0.06
|
||||
shader_parameter/aberration = 0.03
|
||||
shader_parameter/brightness = 0.7
|
||||
shader_parameter/discolor = true
|
||||
shader_parameter/warp_amount = 0.0
|
||||
shader_parameter/clip_warp = true
|
||||
shader_parameter/vignette_intensity = 0.4
|
||||
shader_parameter/vignette_opacity = 0.235
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_htvli"]
|
||||
shader = ExtResource("6_x75tm")
|
||||
shader_parameter/strength = 1.0
|
||||
@@ -21,9 +46,16 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_haaol")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
material = SubResource("ShaderMaterial_a5tps")
|
||||
offset_right = 3840.0
|
||||
offset_bottom = 2160.0
|
||||
|
||||
[node name="PlaylistGenerator" parent="." instance=ExtResource("2_2rg1o")]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
rounds_per_match = null
|
||||
matches_per_year = null
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
layout_mode = 1
|
||||
@@ -76,7 +108,6 @@ theme_override_font_sizes/font_size = 150
|
||||
text = "exit"
|
||||
|
||||
[node name="Add Leaderboard Menu" type="Control" parent="."]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -92,7 +123,7 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0, 0, 0, 0.737255)
|
||||
color = Color(0, 0, 0, 0.431373)
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Add Leaderboard Menu"]
|
||||
layout_mode = 1
|
||||
@@ -111,7 +142,7 @@ grow_vertical = 2
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Add Leaderboard Menu/MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextEdit" type="TextEdit" parent="Add Leaderboard Menu/MarginContainer/HBoxContainer"]
|
||||
[node name="NewLeaderboardName" type="TextEdit" parent="Add Leaderboard Menu/MarginContainer/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(800, 0)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
@@ -119,10 +150,12 @@ theme = ExtResource("2_3fflq")
|
||||
theme_override_font_sizes/font_size = 41
|
||||
placeholder_text = "Leaderboard Name"
|
||||
|
||||
[node name="Button" type="Button" parent="Add Leaderboard Menu/MarginContainer/HBoxContainer"]
|
||||
[node name="Confirm" type="Button" parent="Add Leaderboard Menu/MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
icon = ExtResource("7_ia0hc")
|
||||
|
||||
[connection signal="item_selected" from="MarginContainer/VBoxContainer/HBoxContainer/OptionButton" to="." method="_on_option_button_item_selected"]
|
||||
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/Add Leaderboard" to="." method="_on_add_leaderboard_pressed"]
|
||||
[connection signal="pressed" from="MarginContainer/VBoxContainer/Continue" to="." method="_on_continue_pressed"]
|
||||
[connection signal="pressed" from="MarginContainer/VBoxContainer/Exit" to="." method="_on_exit_pressed"]
|
||||
[connection signal="pressed" from="Add Leaderboard Menu/MarginContainer/HBoxContainer/Confirm" to="." method="_on_confirm_pressed"]
|
||||
|
||||
Reference in New Issue
Block a user