trenches/godot/boot.tscn

43 lines
1.8 KiB
Plaintext
Raw Normal View History

2024-12-09 22:55:11 +00:00
[gd_scene load_steps=6 format=3 uid="uid://c2kiuk2yxdlfr"]
2024-11-26 23:41:39 +00:00
[ext_resource type="PackedScene" uid="uid://1kr3qqan3trk" path="res://objects/player.tscn" id="1_7kr4i"]
2024-12-04 19:55:55 +00:00
[ext_resource type="PackedScene" uid="uid://dm3355tbkvx24" path="res://objects/section_2.tscn" id="2_og5hb"]
2024-12-06 16:12:06 +00:00
[ext_resource type="PackedScene" uid="uid://0fykl1mw3c12" path="res://objects/enemy.tscn" id="3_ppe0x"]
2024-12-09 22:55:11 +00:00
[sub_resource type="GDScript" id="GDScript_peyat"]
script/source = "extends Area3D
func _on_body_entered(body: Node3D) -> void:
if body is Player:
$\"../Enemy2\".notice_player(body as Player)
$\"../Enemy\".notice_player(body as Player)
"
[sub_resource type="BoxShape3D" id="BoxShape3D_ggysn"]
size = Vector3(3.69043, 1, 8.0553)
2024-11-26 23:41:39 +00:00
[node name="Boot" type="Node3D"]
2024-12-06 16:12:06 +00:00
[node name="Enemy" parent="." instance=ExtResource("3_ppe0x")]
2024-12-19 22:10:58 +00:00
transform = Transform3D(0.0069285, -3.53762e-06, -0.999976, 2.87661e-06, 1, -3.51777e-06, 0.999976, -2.85216e-06, 0.0069285, 6.41735, 0.415662, -14.5241)
2024-12-09 22:55:11 +00:00
[node name="Area3D" type="Area3D" parent="."]
transform = Transform3D(0.734015, 0, -0.679134, 0, 1, 0, 0.679134, 0, 0.734015, 2.09421, 0.536154, -14.1446)
script = SubResource("GDScript_peyat")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
transform = Transform3D(1, 0, -4.91743e-07, 0, 1, 0, 4.91743e-07, 0, 1, 0, 0, 0)
shape = SubResource("BoxShape3D_ggysn")
2024-12-06 16:12:06 +00:00
[node name="Enemy2" parent="." instance=ExtResource("3_ppe0x")]
2024-12-11 17:39:41 +00:00
update_interval = 0.2
2024-12-11 21:41:16 +00:00
transform = Transform3D(0.470242, 0, -0.882538, 0, 1, 0, 0.882538, 0, 0.470242, 8.22212, 0.536154, -17.0213)
2024-12-06 16:12:06 +00:00
[node name="Player" parent="." instance=ExtResource("1_7kr4i")]
2024-12-17 15:09:31 +00:00
transform = Transform3D(0.0816776, 0, 0.996659, 0, 1, 0, -0.996659, 0, 0.0816776, -2.58966, 0.717546, -2.77265)
2024-12-09 22:55:11 +00:00
2024-12-19 22:10:58 +00:00
[node name="Environment" parent="." instance=ExtResource("2_og5hb")]
2024-12-09 22:55:11 +00:00
[connection signal="body_entered" from="Area3D" to="Area3D" method="_on_body_entered"]