rj-action-library-godot-dev.../Scenes/Main/main.tscn

60 lines
2.3 KiB
Plaintext
Raw Normal View History

2024-05-05 07:53:08 +00:00
[gd_scene load_steps=8 format=3 uid="uid://i7w8ikjtrf50"]
[ext_resource type="Script" path="res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Actions/OnReady.cs" id="1_yccmv"]
[ext_resource type="Script" path="res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Actions/ActionList.cs" id="2_700ed"]
[ext_resource type="Script" path="res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Actions/GDPrint.cs" id="3_1k601"]
[ext_resource type="Script" path="res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Sensors/InputSensor.cs" id="4_n75gv"]
[ext_resource type="Script" path="res://Scripts/Rokojori/Rokojori-Action-Library/Runtime/Sensors/OnSensor.cs" id="5_2svkf"]
[ext_resource type="Sky" uid="uid://bh5lty4gkpl05" path="res://Scenes/Main/Sky/Sky.tres" id="6_j62u8"]
[sub_resource type="Environment" id="Environment_ac8gh"]
background_mode = 2
sky = ExtResource("6_j62u8")
[node name="Main" type="Node3D"]
[node name="App" type="Node" parent="."]
[node name="OnReady" type="Node" parent="App" node_paths=PackedStringArray("action")]
script = ExtResource("1_yccmv")
action = NodePath("Initialize")
[node name="Initialize" type="RJAction" parent="App/OnReady" node_paths=PackedStringArray("actions")]
script = ExtResource("2_700ed")
actions = []
[node name="GDPrint" type="RJAction" parent="App/OnReady/Initialize"]
script = ExtResource("3_1k601")
message = "I'm Ready"
[node name="UI" type="Node" parent="."]
[node name="Camera Rig" type="Node" parent="."]
[node name="Camera3D" type="Camera3D" parent="Camera Rig"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1.56642)
[node name="Interactions" type="Node" parent="."]
[node name="Testing" type="Node" parent="Interactions"]
[node name="Jump" type="RJSensor" parent="Interactions/Testing"]
script = ExtResource("4_n75gv")
inputActionName = "Jump"
[node name="OnSensor" type="Node" parent="Interactions/Testing" node_paths=PackedStringArray("sensor", "onStart")]
script = ExtResource("5_2svkf")
sensor = NodePath("../Jump")
onStart = NodePath("Print Pressed")
[node name="Print Pressed" type="RJAction" parent="Interactions/Testing/OnSensor"]
script = ExtResource("3_1k601")
message = "Pressed"
[node name="Node" type="Node" parent="."]
[node name="Level" type="Node" parent="."]
[node name="WorldEnvironment" type="WorldEnvironment" parent="Level"]
environment = SubResource("Environment_ac8gh")