This commit is contained in:
Spencer Killen 2023-11-12 14:29:55 -07:00
parent 6f18e82a5d
commit cb2e0b6c5e
Signed by: sjkillen
GPG Key ID: 3AF3117BA6FBB75B
3 changed files with 24 additions and 3 deletions

8
godot/Button.gd Normal file
View File

@ -0,0 +1,8 @@
extends Button
func _on_pressed():
get_tree().change_scene_to_file("res://tests/control_scheme/test_basic_controls.tscn")
func _input(event):
if event.is_action("charge"):
_on_pressed()

View File

@ -1,4 +1,6 @@
[gd_scene format=3 uid="uid://bh44tdo8xfqde"]
[gd_scene load_steps=2 format=3 uid="uid://bh44tdo8xfqde"]
[ext_resource type="Script" path="res://Button.gd" id="1_qv1e3"]
[node name="Menu" type="Control"]
layout_mode = 3
@ -28,7 +30,15 @@ offset_right = -152.0
offset_bottom = -122.0
grow_horizontal = 2
grow_vertical = 2
text = "As you gaze upon an old photograph, you recall an old birthday ruined by a series of rube goldbergian events."
text = "As you gaze upon an old photograph, you recall an old birthday. An otherwise perfect birthday ruined by a series of rube goldbergian events.
You wonder how different your life could have been if you had to power to stop them. After closing your eyes, you find yourself in that photograph.
Use a gamepad or keyboard and mouse to play.
Space bar to start/stop time
A/D to rewind or fast forward time.
Flashing objects can be launched towards other objects, transferring your spirit between them."
wrap_mode = 1
[node name="Button" type="Button" parent="ColorRect/TextEdit"]
layout_mode = 0
@ -37,3 +47,6 @@ offset_top = 361.0
offset_right = 562.0
offset_bottom = 392.0
text = "Click here to start"
script = ExtResource("1_qv1e3")
[connection signal="pressed" from="ColorRect/TextEdit/Button" to="ColorRect/TextEdit/Button" method="_on_pressed"]

View File

@ -11,7 +11,7 @@ config_version=5
[application]
config/name="Hurrmmm"
run/main_scene="res://tests/TAS_system/TAS_test_001.tscn"
run/main_scene="res://menu.tscn"
config/features=PackedStringArray("4.1", "C#", "Forward Plus")
config/icon="res://icon.svg"