spawning
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=40 format=3 uid="uid://dmkw8cmalm5k"]
|
||||
[gd_scene load_steps=45 format=3 uid="uid://dmkw8cmalm5k"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bei4nhkf8lwdo" path="res://player_controller/PlayerController.tscn" id="1_2vsi6"]
|
||||
[ext_resource type="Script" uid="uid://blenis2y55fmg" path="res://tools/city_helpers.gd" id="1_qwuk2"]
|
||||
@@ -23,6 +23,10 @@
|
||||
[ext_resource type="Texture2D" uid="uid://cjh5cnvdbq5ku" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_button_b_outline.svg" id="19_efsse"]
|
||||
[ext_resource type="Texture2D" uid="uid://nrhxjdpuje3f" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_lt_outline.svg" id="20_crf87"]
|
||||
[ext_resource type="Texture2D" uid="uid://dyjvbsvbriii4" path="res://assets/ui/input-prompts/Xbox Series/Vector/xbox_rb_outline.svg" id="23_p287n"]
|
||||
[ext_resource type="PackedScene" uid="uid://c305mfrtumcyq" path="res://scenes/spawners/spawner.tscn" id="24_qwuk2"]
|
||||
[ext_resource type="PackedScene" uid="uid://dxt0e2ugmttqq" path="res://scenes/enemies/grounded_enemy/grounded_enemy.tscn" id="25_nrosh"]
|
||||
[ext_resource type="PackedScene" uid="uid://cmlud1hwkd6sv" path="res://scenes/enemies/flying_enemy/flying_enemy.tscn" id="25_x7fl1"]
|
||||
[ext_resource type="Script" uid="uid://dtpxijlnb2c5" path="res://resource_definitions/RMovement.cs" id="26_lu3yt"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_2k3fr"]
|
||||
font_size = 30
|
||||
@@ -89,6 +93,12 @@ adjustment_enabled = true
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_p287n"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_pxspk"]
|
||||
script = ExtResource("26_lu3yt")
|
||||
Speed = 7.0
|
||||
TargetHeight = 15.0
|
||||
metadata/_custom_type_script = "uid://dtpxijlnb2c5"
|
||||
|
||||
[node name="Main" type="Node3D"]
|
||||
script = ExtResource("1_qwuk2")
|
||||
|
||||
@@ -436,6 +446,17 @@ spot_range = 47.233
|
||||
spot_angle = 18.85
|
||||
spot_angle_attenuation = 10.556052
|
||||
|
||||
[node name="Spawner" parent="." node_paths=PackedStringArray("Target") instance=ExtResource("24_qwuk2")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 19, 43, -111.5)
|
||||
EnemyToSpawn = ExtResource("25_x7fl1")
|
||||
MovementInputs = SubResource("Resource_pxspk")
|
||||
Target = NodePath("../Player")
|
||||
|
||||
[node name="Spawner2" parent="." node_paths=PackedStringArray("Target") instance=ExtResource("24_qwuk2")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 31, 7.5, -88)
|
||||
EnemyToSpawn = ExtResource("25_nrosh")
|
||||
Target = NodePath("../Player")
|
||||
|
||||
[connection signal="timeout" from="TutorialController/WaitToShowBlockingTuto" to="TutorialController" method="_show_weapon_tutorial"]
|
||||
[connection signal="body_exited" from="TutoTriggers/TriggerTutoMove" to="TutorialController" method="hide_tutorials"]
|
||||
[connection signal="body_entered" from="TutoTriggers/TriggerTutoMantle" to="TutorialController" method="_on_tuto_mantle_body_entered"]
|
||||
|
||||
Reference in New Issue
Block a user