monster spawner and moving to the camera direction

This commit is contained in:
Luca 2024-09-16 19:58:43 +02:00
parent 8c29b8bffd
commit b20f3b5124
821 changed files with 1611 additions and 1409 deletions

View file

@ -1,7 +1,8 @@
[gd_scene load_steps=13 format=3 uid="uid://p8agd0dfam0p"]
[gd_scene load_steps=14 format=3 uid="uid://p8agd0dfam0p"]
[ext_resource type="PackedScene" uid="uid://be5bc5gjbo875" path="res://scenes/player.tscn" id="1_ra6oo"]
[ext_resource type="PackedScene" uid="uid://tyjgdu65yj3m" path="res://resources/models/round_bat/round_bat_skin.tscn" id="2_lks2w"]
[ext_resource type="PackedScene" uid="uid://tyjgdu65yj3m" path="res://assets/models/round_bat/round_bat_skin.tscn" id="2_lks2w"]
[ext_resource type="PackedScene" uid="uid://dawpmu4vvv3rs" path="res://scenes/monster_spawnpoint.tscn" id="3_esgto"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_g80j5"]
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
@ -78,7 +79,11 @@ skeleton = NodePath("../..")
shape = SubResource("BoxShape3D_522pk")
[node name="Monster" type="Node3D" parent="."]
transform = Transform3D(0.886107, 0, 0.463482, 0, 1, 0, -0.463482, 0, 0.886107, -2, 0, -4)
[node name="RoundBatSkin" parent="Monster" instance=ExtResource("2_lks2w")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -4)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
script = null
[node name="MonsterSpawnpoint" parent="." instance=ExtResource("3_esgto")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, -10)