2 Commits

6 changed files with 13 additions and 11 deletions

View File

@@ -8,7 +8,7 @@
[ext_resource type="Texture2D" uid="uid://cbynycukppmup" path="res://molecular/assets/food/food-right-bottom-bolt.png" id="6_07uaq"]
[sub_resource type="CircleShape2D" id="CircleShape2D_0vfbj"]
radius = 2.0
radius = 5.0
[sub_resource type="SpriteFrames" id="SpriteFrames_oo5vd"]
animations = [{
@@ -71,7 +71,7 @@ shape = NodePath("../CollisionShape2D")
metadata/_custom_type_script = "uid://bvbc0n0pslq7p"
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1856148995]
scale = Vector2(0.385, 0.385)
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_oo5vd")
frame_progress = 0.9373464

View File

@@ -31,11 +31,11 @@ animations = [{
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_5hxmy"]
radius = 378.18
radius = 10.999997
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_4flbx"]
radius = 191.95984
height = 1295.8773
radius = 5.999982
height = 27.990019
[node name="player" type="CharacterBody2D" unique_id=2032508208]
collision_mask = 14
@@ -43,9 +43,9 @@ script = ExtResource("1_0ix7k")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1745800698]
visibility_layer = 2
scale = Vector2(30, 30)
sprite_frames = SubResource("SpriteFrames_onrkg")
animation = &"attacking"
frame_progress = 0.20727158
[node name="AttackArea" type="Area2D" parent="." unique_id=187975387]
position = Vector2(0, 56)
@@ -53,7 +53,7 @@ rotation = -1.5732701
collision_mask = 6
[node name="CollisionShape2D" type="CollisionShape2D" parent="AttackArea" unique_id=1968501358]
position = Vector2(41.029465, 288.86832)
position = Vector2(55.984985, 6.138512)
shape = SubResource("CircleShape2D_5hxmy")
debug_color = Color(0.80813414, 0.3957308, 0.3356335, 0.41960785)

View File

@@ -89,7 +89,6 @@ tile_set = SubResource("TileSet_ojt85")
[node name="player" parent="." unique_id=862101024 groups=["player"] instance=ExtResource("3_b1jr0")]
position = Vector2(120, 144)
scale = Vector2(0.01, 0.01)
[node name="Camera2D" type="Camera2D" parent="player" unique_id=1614218911]
rotation = 3.1415927

View File

@@ -92,7 +92,6 @@ animations = [{
}]
[node name="HammerheadPredator" type="CharacterBody2D" unique_id=678504815 groups=["predator"]]
scale = Vector2(0.3, 0.3)
collision_layer = 4
collision_mask = 3
motion_mode = 1

View File

@@ -66,15 +66,16 @@ metadata/_custom_type_script = "uid://bvbc0n0pslq7p"
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." index="1" unique_id=788182944]
rotation = 1.5707964
scale = Vector2(0.1, 0.1)
sprite_frames = SubResource("SpriteFrames_66x8p")
animation = &"Healthy"
[node name="CollisionPolygon2D" parent="." index="2"]
light_mask = 2
visibility_layer = 2
position = Vector2(6.929083, 3.0664783)
position = Vector2(69, 28)
rotation = 0.474154
scale = Vector2(10, 10)
polygon = PackedVector2Array(-8.700367, -2.2789505, -5.6133537, -2.1772134, -4.1979375, 0.58079255, -5.9151926, 3.1480935, -8.862037, 2.9326901, -10.268076, 0.28495264)
[node name="StateMachine" type="Node" parent="." index="3" unique_id=445822474 node_paths=PackedStringArray("initial_state")]
script = ExtResource("9_xxtgy")
@@ -103,6 +104,7 @@ collision_mask = 7
light_mask = 2
visibility_layer = 2
rotation = 1.5707964
scale = Vector2(10, 10)
polygon = PackedVector2Array(3.8686981, -6.2705374, 7.0000973, -0.08602524, 3.5555592, 5.6287766, -3.0986624, 5.589636, -6.1517763, 0.031402588, -2.942093, -6.0748243, -29.993027, -74.37026, -11.10141, -83.6233, 9.332382, -84.00884, 35.163773, -77.06906)
[connection signal="timeout" from="StateMachine/RandomMovement/Timer" to="StateMachine/RandomMovement" method="_on_timer_timeout"]

View File

@@ -73,3 +73,5 @@ try_attack={
[rendering]
textures/canvas_textures/default_texture_filter=0
2d/snap/snap_2d_transforms_to_pixel=true
2d/snap/snap_2d_vertices_to_pixel=true