ft (wip): hammerhead predator

This commit is contained in:
2026-02-02 01:41:01 +01:00
parent b21bf52938
commit 5751f25732
22 changed files with 245 additions and 45 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=7 format=3 uid="uid://dxluckxdkpv4f"]
[gd_scene format=3 uid="uid://dxluckxdkpv4f"]
[ext_resource type="Script" uid="uid://di7eglnrnqm6i" path="res://molecular/molecular_player.gd" id="1_0ix7k"]
[ext_resource type="Texture2D" uid="uid://boknmstvkc0a2" path="res://molecular/assets/player-sprite-placeholder-attacking-crop.png" id="2_5hxmy"]
@@ -30,33 +30,33 @@ radius = 378.18
radius = 191.95984
height = 1295.8773
[node name="player" type="CharacterBody2D"]
collision_mask = 2
[node name="player" type="CharacterBody2D" unique_id=2032508208]
collision_mask = 6
script = ExtResource("1_0ix7k")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1745800698]
visibility_layer = 2
scale = Vector2(0.5, 0.5)
sprite_frames = SubResource("SpriteFrames_onrkg")
[node name="AttackArea" type="Area2D" parent="."]
[node name="AttackArea" type="Area2D" parent="." unique_id=187975387]
position = Vector2(0, 56)
rotation = -1.5732701
collision_mask = 2
collision_mask = 6
[node name="CollisionShape2D" type="CollisionShape2D" parent="AttackArea"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="AttackArea" unique_id=1968501358]
position = Vector2(41.029465, 288.86832)
shape = SubResource("CircleShape2D_5hxmy")
debug_color = Color(0.80813414, 0.3957308, 0.3356335, 0.41960785)
[node name="CollisionShape2D" type="CollisionShape2D" parent="." groups=["player"]]
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=2137063701 groups=["player"]]
rotation = -1.5732701
shape = SubResource("CapsuleShape2D_4flbx")
[node name="AttackTimer" type="Timer" parent="."]
[node name="AttackTimer" type="Timer" parent="." unique_id=2057433652]
one_shot = true
[node name="AttackCooldownTimer" type="Timer" parent="."]
[node name="AttackCooldownTimer" type="Timer" parent="." unique_id=1056439284]
one_shot = true
[connection signal="body_entered" from="AttackArea" to="." method="_on_attack_hit"]