Updated player sprite
This commit is contained in:
@@ -1,14 +1,21 @@
|
||||
[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"]
|
||||
[ext_resource type="Texture2D" uid="uid://cxwvga07sm3yl" path="res://molecular/assets/player-sprite-placeholder-crop.png" id="2_en8op"]
|
||||
[ext_resource type="Texture2D" uid="uid://du1lb4nr47kvl" path="res://molecular/assets/player-sprite-attacking.png" id="2_rq1v6"]
|
||||
[ext_resource type="Texture2D" uid="uid://bsd1qtw50esai" path="res://molecular/assets/player-sprite-attacking2.png" id="3_xiwfn"]
|
||||
[ext_resource type="Texture2D" uid="uid://cd0iv6hsi3fad" path="res://molecular/assets/player-sprite.png" id="4_rq1v6"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_onrkg"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_5hxmy")
|
||||
"duration": 0.5,
|
||||
"texture": ExtResource("2_rq1v6")
|
||||
}, {
|
||||
"duration": 4.0,
|
||||
"texture": ExtResource("3_xiwfn")
|
||||
}, {
|
||||
"duration": 0.5,
|
||||
"texture": ExtResource("2_rq1v6")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"attacking",
|
||||
@@ -16,7 +23,7 @@ animations = [{
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 5.0,
|
||||
"texture": ExtResource("2_en8op")
|
||||
"texture": ExtResource("4_rq1v6")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
@@ -36,8 +43,9 @@ script = ExtResource("1_0ix7k")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1745800698]
|
||||
visibility_layer = 2
|
||||
scale = Vector2(0.5, 0.5)
|
||||
scale = Vector2(30, 30)
|
||||
sprite_frames = SubResource("SpriteFrames_onrkg")
|
||||
animation = &"attacking"
|
||||
|
||||
[node name="AttackArea" type="Area2D" parent="." unique_id=187975387]
|
||||
position = Vector2(0, 56)
|
||||
|
||||
Reference in New Issue
Block a user