Skip to content

Commit 97812dc

Browse files
committed
Add separate scenes for robi and godette's pawn anims
1 parent a185246 commit 97812dc

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[gd_scene load_steps=3 format=2]
2+
3+
[ext_resource path="res://animation/PawnAnim.tscn" type="PackedScene" id=1]
4+
[ext_resource path="res://assets/sprites/local_map/characters/godette_pawn.png" type="Texture" id=2]
5+
6+
[node name="GodettePawnAnim" index="0" instance=ExtResource( 1 )]
7+
8+
[node name="Body" parent="Root" index="0"]
9+
position = Vector2( 0, -188.656 )
10+
texture = ExtResource( 2 )
11+

godot/animation/PawnAnim.tscn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[gd_scene load_steps=5 format=2]
22

33
[ext_resource path="res://animation/PawnAnim.gd" type="Script" id=1]
4-
[ext_resource path="res://assets/sprites/local_map/characters/robi_pawn.png" type="Texture" id=2]
4+
[ext_resource path="res://assets/sprites/local_map/characters/character_grey.png" type="Texture" id=2]
55

66
[sub_resource type="Animation" id=1]
77

@@ -63,6 +63,6 @@ anims/walk = SubResource( 2 )
6363
position = Vector2( 1.43051e-06, -1.90735e-06 )
6464

6565
[node name="Body" type="Sprite" parent="Root"]
66-
position = Vector2( 0, -170.399 )
66+
scale = Vector2( 3, 3 )
6767
texture = ExtResource( 2 )
6868

godot/animation/RobiPawnAnim.tscn

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[gd_scene load_steps=2 format=2]
2+
3+
[ext_resource path="res://animation/PawnAnim.tscn" type="PackedScene" id=1]
4+
5+
[node name="RobiPawnAnim" index="0" instance=ExtResource( 1 )]
6+

0 commit comments

Comments
 (0)