monster spawner and moving to the camera direction
This commit is contained in:
parent
8c29b8bffd
commit
b20f3b5124
821 changed files with 1611 additions and 1409 deletions
25
scenes/monster_spawnpoint.tscn
Normal file
25
scenes/monster_spawnpoint.tscn
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://dawpmu4vvv3rs"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/monster_spawnpoint.gd" id="1_eyon3"]
|
||||
[ext_resource type="Script" path="res://resources/monster.gd" id="2_u38vv"]
|
||||
[ext_resource type="Resource" uid="uid://ym438vedcdyl" path="res://resources/DebugMonster1.tres" id="3_4axng"]
|
||||
|
||||
[sub_resource type="SphereMesh" id="SphereMesh_phb77"]
|
||||
radius = 0.4
|
||||
radial_segments = 4
|
||||
rings = 1
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_kvc2a"]
|
||||
albedo_color = Color(0.626709, 0.340723, 0.657327, 1)
|
||||
metallic = 1.0
|
||||
roughness = 0.25
|
||||
|
||||
[node name="MonsterSpawnpoint" type="Node3D"]
|
||||
script = ExtResource("1_eyon3")
|
||||
spawnable_monsters = Array[ExtResource("2_u38vv")]([ExtResource("3_4axng")])
|
||||
|
||||
[node name="Diamond" type="MeshInstance3D" parent="."]
|
||||
mesh = SubResource("SphereMesh_phb77")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_kvc2a")
|
||||
|
||||
[node name="VisibleOnScreenNotifier3D" type="VisibleOnScreenNotifier3D" parent="."]
|
||||
Loading…
Add table
Add a link
Reference in a new issue