From 474ef692613f298ab05bbb65ad85625f178b63cc Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sat, 28 Dec 2024 15:08:23 +0100 Subject: next commit --- character/assets/character_spritesheet.png | Bin 4629 -> 4726 bytes character/assets/character_spritesheet.png~ | Bin 4764 -> 0 bytes character/character.tscn | 2 +- character/character_sprite_frames.tres | 25 +++++++++++++++++++++++-- 4 files changed, 24 insertions(+), 3 deletions(-) delete mode 100644 character/assets/character_spritesheet.png~ (limited to 'character') diff --git a/character/assets/character_spritesheet.png b/character/assets/character_spritesheet.png index 9c1b844..a1839cd 100644 Binary files a/character/assets/character_spritesheet.png and b/character/assets/character_spritesheet.png differ diff --git a/character/assets/character_spritesheet.png~ b/character/assets/character_spritesheet.png~ deleted file mode 100644 index 2136c69..0000000 Binary files a/character/assets/character_spritesheet.png~ and /dev/null differ diff --git a/character/character.tscn b/character/character.tscn index 3a1b0e8..7fb9776 100644 --- a/character/character.tscn +++ b/character/character.tscn @@ -13,7 +13,7 @@ script = ExtResource("1_wqxem") texture_filter = 1 position = Vector2(-10, -10) sprite_frames = ExtResource("2_xbkcg") -animation = &"scissors_idle" +animation = &"paper_walk" centered = false [node name="Collision" type="Area2D" parent="."] diff --git a/character/character_sprite_frames.tres b/character/character_sprite_frames.tres index 6aa4352..0381f4a 100644 --- a/character/character_sprite_frames.tres +++ b/character/character_sprite_frames.tres @@ -1,4 +1,4 @@ -[gd_resource type="SpriteFrames" load_steps=29 format=3 uid="uid://cvbw222po7psr"] +[gd_resource type="SpriteFrames" load_steps=32 format=3 uid="uid://cvbw222po7psr"] [ext_resource type="Texture2D" uid="uid://d3cp58o1j55au" path="res://character/assets/character_spritesheet.png" id="1_0ukqc"] @@ -14,6 +14,18 @@ region = Rect2(20, 60, 20, 20) atlas = ExtResource("1_0ukqc") region = Rect2(40, 60, 20, 20) +[sub_resource type="AtlasTexture" id="AtlasTexture_nugvc"] +atlas = ExtResource("1_0ukqc") +region = Rect2(60, 60, 20, 20) + +[sub_resource type="AtlasTexture" id="AtlasTexture_85mcf"] +atlas = ExtResource("1_0ukqc") +region = Rect2(80, 60, 20, 20) + +[sub_resource type="AtlasTexture" id="AtlasTexture_igbcl"] +atlas = ExtResource("1_0ukqc") +region = Rect2(120, 60, 20, 20) + [sub_resource type="AtlasTexture" id="AtlasTexture_ad1cw"] atlas = ExtResource("1_0ukqc") region = Rect2(100, 40, 20, 20) @@ -121,10 +133,19 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_a33vs") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_nugvc") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_85mcf") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_igbcl") }], "loop": false, "name": &"ko", -"speed": 6.0 +"speed": 8.0 }, { "frames": [{ "duration": 1.0, -- cgit v1.2.3