Skip to content

Commit c7ccfd1

Browse files
food-pleaseNathanLovato
authored andcommitted
Fix broken GamepieceAnimations, reintegrate all code with main scene
1 parent e99869a commit c7ccfd1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+738
-926
lines changed

assets/characters/generic_character_gfx.tscn

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
[gd_scene load_steps=3 format=3 uid="uid://cdkha7cc72h35"]
1+
[gd_scene load_steps=4 format=3 uid="uid://cdkha7cc72h35"]
22

33
[ext_resource type="PackedScene" uid="uid://caxhff6by5nqu" path="res://src/field/gamepieces/animation/gamepiece_animation.tscn" id="1_pdtfs"]
44
[ext_resource type="AnimationLibrary" uid="uid://dmmjb8ambpwar" path="res://assets/characters/default_animations/standard_animations.res" id="2_ljcdi"]
5+
[ext_resource type="Texture2D" uid="uid://doea2mk0aaedo" path="res://assets/characters/character_generic.png" id="3_vttgk"]
56

67
[node name="GenericAnimation" instance=ExtResource("1_pdtfs")]
78

@@ -13,4 +14,6 @@ autoplay = "idle"
1314
speed_scale = 2.0
1415

1516
[node name="Sprite" parent="Anchor" index="0"]
17+
texture = ExtResource("3_vttgk")
18+
region_enabled = true
1619
region_rect = Rect2(1, 1, 16, 16)

assets/characters/ghost_gfx.tscn

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
[gd_scene load_steps=5 format=3 uid="uid://cgwailb13nkcd"]
1+
[gd_scene load_steps=6 format=3 uid="uid://cgwailb13nkcd"]
22

33
[ext_resource type="PackedScene" uid="uid://caxhff6by5nqu" path="res://src/field/gamepieces/animation/gamepiece_animation.tscn" id="1_iqw7y"]
4+
[ext_resource type="Texture2D" uid="uid://dopua6orsf0bs" path="res://assets/characters/ghost.atlastex" id="2_ip52p"]
45

56
[sub_resource type="Animation" id="Animation_sr8xj"]
67
length = 0.001
@@ -46,3 +47,6 @@ libraries = {
4647
&"": SubResource("AnimationLibrary_6yooh")
4748
}
4849
autoplay = "idle"
50+
51+
[node name="Sprite" parent="Anchor" index="0"]
52+
texture = ExtResource("2_ip52p")

assets/characters/knight_gfx.tscn

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
[gd_scene load_steps=5 format=3 uid="uid://se1wnxu5svgj"]
1+
[gd_scene load_steps=6 format=3 uid="uid://se1wnxu5svgj"]
22

33
[ext_resource type="PackedScene" uid="uid://caxhff6by5nqu" path="res://src/field/gamepieces/animation/gamepiece_animation.tscn" id="1_c58iv"]
4+
[ext_resource type="Texture2D" uid="uid://ti2vhkpokeib" path="res://assets/characters/knight.atlastex" id="2_f3pos"]
45

56
[sub_resource type="Animation" id="Animation_sr8xj"]
67
length = 0.001
@@ -46,3 +47,6 @@ libraries = {
4647
&"": SubResource("AnimationLibrary_6yooh")
4748
}
4849
autoplay = "idle"
50+
51+
[node name="Sprite" parent="Anchor" index="0"]
52+
texture = ExtResource("2_f3pos")

assets/characters/monk_gfx.tscn

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
[gd_scene load_steps=5 format=3 uid="uid://dqdk6eehxsrmn"]
1+
[gd_scene load_steps=6 format=3 uid="uid://dqdk6eehxsrmn"]
22

33
[ext_resource type="PackedScene" uid="uid://caxhff6by5nqu" path="res://src/field/gamepieces/animation/gamepiece_animation.tscn" id="1_3s0fl"]
4+
[ext_resource type="Texture2D" uid="uid://2kiqbt7c1s65" path="res://assets/characters/monk.atlastex" id="2_ay6b6"]
45

56
[sub_resource type="Animation" id="Animation_r565k"]
67
length = 0.001
@@ -47,3 +48,6 @@ libraries = {
4748
&"": SubResource("AnimationLibrary_fx0ff")
4849
}
4950
autoplay = "idle"
51+
52+
[node name="Sprite" parent="Anchor" index="0"]
53+
texture = ExtResource("2_ay6b6")

assets/characters/smith_gfx.tscn

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
[gd_scene load_steps=5 format=3 uid="uid://bvtk5qllej4b8"]
1+
[gd_scene load_steps=6 format=3 uid="uid://bvtk5qllej4b8"]
22

33
[ext_resource type="PackedScene" uid="uid://caxhff6by5nqu" path="res://src/field/gamepieces/animation/gamepiece_animation.tscn" id="1_jgl7k"]
4+
[ext_resource type="Texture2D" uid="uid://b4py6kf410yhh" path="res://assets/characters/smith.atlastex" id="2_fia7k"]
45

56
[sub_resource type="Animation" id="Animation_h6akm"]
67
length = 0.001
@@ -47,3 +48,6 @@ libraries = {
4748
&"": SubResource("AnimationLibrary_y0jyp")
4849
}
4950
autoplay = "idle"
51+
52+
[node name="Sprite" parent="Anchor" index="0"]
53+
texture = ExtResource("2_fia7k")
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
[gd_scene load_steps=5 format=3 uid="uid://kiwma43jc3n6"]
1+
[gd_scene load_steps=6 format=3 uid="uid://kiwma43jc3n6"]
22

33
[ext_resource type="PackedScene" uid="uid://caxhff6by5nqu" path="res://src/field/gamepieces/animation/gamepiece_animation.tscn" id="1_lnhvj"]
4+
[ext_resource type="Texture2D" uid="uid://da8xa6fkwyv4r" path="res://assets/characters/thief.atlastex" id="2_6n3f7"]
45

56
[sub_resource type="Animation" id="Animation_r565k"]
67
length = 0.001
@@ -47,3 +48,6 @@ libraries = {
4748
&"": SubResource("AnimationLibrary_fx0ff")
4849
}
4950
autoplay = "idle"
51+
52+
[node name="Sprite" parent="Anchor" index="0"]
53+
texture = ExtResource("2_6n3f7")

assets/characters/wizard_gfx.tscn

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
[gd_scene load_steps=5 format=3 uid="uid://ccm8tsjysf8b5"]
1+
[gd_scene load_steps=6 format=3 uid="uid://ccm8tsjysf8b5"]
22

33
[ext_resource type="PackedScene" uid="uid://caxhff6by5nqu" path="res://src/field/gamepieces/animation/gamepiece_animation.tscn" id="1_7u2js"]
4+
[ext_resource type="Texture2D" uid="uid://8ry5inpldbfg" path="res://assets/characters/wizard.atlastex" id="2_b6oqf"]
45

56
[sub_resource type="Animation" id="Animation_8lv7x"]
67
length = 0.001
@@ -47,3 +48,6 @@ libraries = {
4748
&"": SubResource("AnimationLibrary_hgdni")
4849
}
4950
autoplay = "idle"
51+
52+
[node name="Sprite" parent="Anchor" index="0"]
53+
texture = ExtResource("2_b6oqf")

0 commit comments

Comments
 (0)