Progress check-in to laptop

This commit is contained in:
2023-09-10 19:49:59 -07:00
parent ed28a4bb70
commit ebf9f6c117
18 changed files with 806 additions and 241 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=61 format=3 uid="uid://dahp73fwld24h"]
[gd_scene load_steps=60 format=3 uid="uid://dahp73fwld24h"]
[ext_resource type="Script" path="res://Enemies/Scripts/RangedEnemy.cs" id="1_01lvj"]
[ext_resource type="PackedScene" uid="uid://rlxnnw4yay7e" path="res://Enemies/Attacks/EnemyBullet.tscn" id="3_qenx3"]
@@ -891,16 +891,10 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_j7wsk")
[sub_resource type="Animation" id="Animation_201mc"]
resource_name = "OnHit"
length = 0.2
[sub_resource type="BoxShape3D" id="BoxShape3D_wt0ss"]
size = Vector3(0.721796, 2.37333, 0.564825)
[sub_resource type="AnimationLibrary" id="AnimationLibrary_f1x7o"]
_data = {
"OnHit": SubResource("Animation_201mc")
}
[node name="CharacterBody" type="CharacterBody3D" node_paths=PackedStringArray("_hp") groups=["Enemy"]]
[node name="RangedEnemy" type="CharacterBody3D" node_paths=PackedStringArray("_hp") groups=["Enemy"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.257979, 0)
collision_layer = 0
collision_mask = 5
@@ -1066,11 +1060,21 @@ mesh = SubResource("ArrayMesh_lu7e3")
skeleton = NodePath("")
[node name="HP Component" parent="." instance=ExtResource("4_1vt55")]
MaximumHP = 2
MaximumHP = 1
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_f1x7o")
}
[node name="RigidBody3D" type="RigidBody3D" parent="."]
collision_layer = 0
collision_mask = 3
gravity_scale = 0.0
continuous_cd = true
max_contacts_reported = 20
contact_monitor = true
can_sleep = false
freeze = true
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0734575, 0.791657, 0)
shape = SubResource("BoxShape3D_wt0ss")
[connection signal="timeout" from="Timer" to="Timer" method="OnFireAtPlayer"]
[connection signal="body_entered" from="RigidBody3D" to="." method="OnPlayerHit"]