ft (placeholder): player attacking anim

This commit is contained in:
2026-01-17 14:47:16 +01:00
parent 03117b77fb
commit c0f5dd4628
4 changed files with 56 additions and 3 deletions

View File

@@ -1,12 +1,21 @@
[gd_scene load_steps=6 format=3 uid="uid://dxluckxdkpv4f"]
[gd_scene load_steps=7 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"]
[ext_resource type="Texture2D" uid="uid://cxwvga07sm3yl" path="res://molecular/assets/player-sprite-placeholder-crop.png" id="2_en8op"]
[sub_resource type="SpriteFrames" id="SpriteFrames_onrkg"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_5hxmy")
}],
"loop": true,
"name": &"attacking",
"speed": 5.0
}, {
"frames": [{
"duration": 5.0,
"texture": ExtResource("2_en8op")
}],
"loop": true,
@@ -41,7 +50,6 @@ shape = SubResource("RectangleShape2D_en8op")
debug_color = Color(0.80813414, 0.3957308, 0.3356335, 0.41960785)
[node name="CollisionShape2D" type="CollisionShape2D" parent="." groups=["player"]]
position = Vector2(0, 56)
rotation = -1.5732701
shape = SubResource("CapsuleShape2D_4flbx")