substantial work on saving and loading and hub mechanic
This commit is contained in:
34
assets/scene_changer.tscn
Normal file
34
assets/scene_changer.tscn
Normal file
@@ -0,0 +1,34 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dgapcuvg0gtmm"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/scene_changer.gd" id="1_7ngxb"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_mvtr6"]
|
||||
|
||||
[sub_resource type="SphereMesh" id="SphereMesh_wfy04"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qd8ax"]
|
||||
transparency = 1
|
||||
blend_mode = 1
|
||||
emission_enabled = true
|
||||
emission = Color(0.223698, 0.336652, 0.628522, 1)
|
||||
emission_energy_multiplier = 5.6
|
||||
|
||||
[node name="Scene Changer" type="Area3D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 4
|
||||
script = ExtResource("1_7ngxb")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("BoxShape3D_mvtr6")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
visible = false
|
||||
mesh = SubResource("SphereMesh_wfy04")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_qd8ax")
|
||||
|
||||
[node name="Start_Activation" type="Timer" parent="."]
|
||||
wait_time = 0.5
|
||||
autostart = true
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
[connection signal="timeout" from="Start_Activation" to="." method="_on_start_activation_timeout"]
|
||||
Reference in New Issue
Block a user