1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
[gd_scene load_steps=6 format=3 uid="uid://cuyu3mwm6sp3c"]
[ext_resource type="PackedScene" uid="uid://cc1m2a1obsyn4" path="res://addons/fpc/character.tscn" id="1_00nvw"]
[ext_resource type="Script" path="res://scripts/player.gd" id="1_cfdah"]
[ext_resource type="PackedScene" uid="uid://cuad3khwmhnsa" path="res://prefabs/enemy.tscn" id="3_1yqys"]
[ext_resource type="PackedScene" uid="uid://dcu5otkh0t1pg" path="res://prefabs/level_generator.tscn" id="3_ykfds"]
[sub_resource type="Environment" id="Environment_2poci"]
background_color = Color(0.130548, 0.170599, 0.433834, 1)
ambient_light_source = 2
ambient_light_color = Color(0.244776, 0.244776, 0.244776, 1)
ambient_light_energy = 2.27
[node name="Node3D" type="WorldEnvironment"]
environment = SubResource("Environment_2poci")
[node name="OmniLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 0, -0.0795405)
[node name="Player" parent="." node_paths=PackedStringArray("HEAD") instance=ExtResource("1_00nvw")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.97532, -1.28752, 0.602886)
motion_mode = 1
HEAD = NodePath("PlayerCam")
LEFT = "left"
RIGHT = "right"
FORWARD = "forward"
BACKWARD = "backward"
jumping_enabled = false
sprint_enabled = false
crouch_enabled = false
gravity_enabled = false
[node name="PlayerCam" type="Node3D" parent="Player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
script = ExtResource("1_cfdah")
grapple_distance = 50.0
[node name="Camera3D" type="Camera3D" parent="Player/PlayerCam"]
current = true
[node name="Enemy" parent="." node_paths=PackedStringArray("target") instance=ExtResource("3_1yqys")]
target = NodePath("../Player")
[node name="LevelGenerator" parent="." instance=ExtResource("3_ykfds")]
[connection signal="astar_created" from="LevelGenerator" to="Enemy" method="_on_level_generator_astar_created"]
|