feat: animations working
This commit is contained in:
		
							parent
							
								
									2a9e824a9e
								
							
						
					
					
						commit
						2445a71f0c
					
				
					 63 changed files with 3023 additions and 1408 deletions
				
			
		| 
						 | 
				
			
			@ -1,60 +1,60 @@
 | 
			
		|||
[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://b86f546ym6u3s"]
 | 
			
		||||
[gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://8yggiamdjxiq"]
 | 
			
		||||
 | 
			
		||||
[ext_resource type="Texture2D" uid="uid://chdfhv2fysfnc" path="res://assets/sprites/hats/DP_barret_corona_Anim.png" id="1_b2w28"]
 | 
			
		||||
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_px20u"]
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_b2w28"]
 | 
			
		||||
atlas = ExtResource("1_b2w28")
 | 
			
		||||
region = Rect2(0, 216, 108, 108)
 | 
			
		||||
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_x46yd"]
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_px20u"]
 | 
			
		||||
atlas = ExtResource("1_b2w28")
 | 
			
		||||
region = Rect2(108, 216, 108, 108)
 | 
			
		||||
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_cu4dy"]
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_x46yd"]
 | 
			
		||||
atlas = ExtResource("1_b2w28")
 | 
			
		||||
region = Rect2(216, 216, 108, 108)
 | 
			
		||||
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wkf2m"]
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_cu4dy"]
 | 
			
		||||
atlas = ExtResource("1_b2w28")
 | 
			
		||||
region = Rect2(324, 216, 108, 108)
 | 
			
		||||
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_bnv28"]
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wkf2m"]
 | 
			
		||||
atlas = ExtResource("1_b2w28")
 | 
			
		||||
region = Rect2(0, 0, 108, 108)
 | 
			
		||||
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_8pgb1"]
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_bnv28"]
 | 
			
		||||
atlas = ExtResource("1_b2w28")
 | 
			
		||||
region = Rect2(108, 0, 108, 108)
 | 
			
		||||
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_eiwrn"]
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_8pgb1"]
 | 
			
		||||
atlas = ExtResource("1_b2w28")
 | 
			
		||||
region = Rect2(216, 0, 108, 108)
 | 
			
		||||
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fgqbr"]
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_eiwrn"]
 | 
			
		||||
atlas = ExtResource("1_b2w28")
 | 
			
		||||
region = Rect2(324, 0, 108, 108)
 | 
			
		||||
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_tx00u"]
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fgqbr"]
 | 
			
		||||
atlas = ExtResource("1_b2w28")
 | 
			
		||||
region = Rect2(432, 0, 108, 108)
 | 
			
		||||
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_plwgp"]
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_tx00u"]
 | 
			
		||||
atlas = ExtResource("1_b2w28")
 | 
			
		||||
region = Rect2(540, 0, 108, 108)
 | 
			
		||||
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_dckeg"]
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_plwgp"]
 | 
			
		||||
atlas = ExtResource("1_b2w28")
 | 
			
		||||
region = Rect2(0, 108, 108, 108)
 | 
			
		||||
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5c1ja"]
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_dckeg"]
 | 
			
		||||
atlas = ExtResource("1_b2w28")
 | 
			
		||||
region = Rect2(108, 108, 108, 108)
 | 
			
		||||
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_k3p5f"]
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5c1ja"]
 | 
			
		||||
atlas = ExtResource("1_b2w28")
 | 
			
		||||
region = Rect2(216, 108, 108, 108)
 | 
			
		||||
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_sp0f4"]
 | 
			
		||||
[sub_resource type="AtlasTexture" id="AtlasTexture_k3p5f"]
 | 
			
		||||
atlas = ExtResource("1_b2w28")
 | 
			
		||||
region = Rect2(324, 108, 108, 108)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -62,6 +62,9 @@ region = Rect2(324, 108, 108, 108)
 | 
			
		|||
animations = [{
 | 
			
		||||
"frames": [{
 | 
			
		||||
"duration": 1.0,
 | 
			
		||||
"texture": SubResource("AtlasTexture_b2w28")
 | 
			
		||||
}, {
 | 
			
		||||
"duration": 1.0,
 | 
			
		||||
"texture": SubResource("AtlasTexture_px20u")
 | 
			
		||||
}, {
 | 
			
		||||
"duration": 1.0,
 | 
			
		||||
| 
						 | 
				
			
			@ -69,9 +72,6 @@ animations = [{
 | 
			
		|||
}, {
 | 
			
		||||
"duration": 1.0,
 | 
			
		||||
"texture": SubResource("AtlasTexture_cu4dy")
 | 
			
		||||
}, {
 | 
			
		||||
"duration": 1.0,
 | 
			
		||||
"texture": SubResource("AtlasTexture_wkf2m")
 | 
			
		||||
}],
 | 
			
		||||
"loop": true,
 | 
			
		||||
"name": &"fly",
 | 
			
		||||
| 
						 | 
				
			
			@ -79,6 +79,9 @@ animations = [{
 | 
			
		|||
}, {
 | 
			
		||||
"frames": [{
 | 
			
		||||
"duration": 1.0,
 | 
			
		||||
"texture": SubResource("AtlasTexture_wkf2m")
 | 
			
		||||
}, {
 | 
			
		||||
"duration": 1.0,
 | 
			
		||||
"texture": SubResource("AtlasTexture_bnv28")
 | 
			
		||||
}, {
 | 
			
		||||
"duration": 1.0,
 | 
			
		||||
| 
						 | 
				
			
			@ -92,9 +95,6 @@ animations = [{
 | 
			
		|||
}, {
 | 
			
		||||
"duration": 1.0,
 | 
			
		||||
"texture": SubResource("AtlasTexture_tx00u")
 | 
			
		||||
}, {
 | 
			
		||||
"duration": 1.0,
 | 
			
		||||
"texture": SubResource("AtlasTexture_plwgp")
 | 
			
		||||
}],
 | 
			
		||||
"loop": true,
 | 
			
		||||
"name": &"idle",
 | 
			
		||||
| 
						 | 
				
			
			@ -102,6 +102,9 @@ animations = [{
 | 
			
		|||
}, {
 | 
			
		||||
"frames": [{
 | 
			
		||||
"duration": 1.0,
 | 
			
		||||
"texture": SubResource("AtlasTexture_plwgp")
 | 
			
		||||
}, {
 | 
			
		||||
"duration": 1.0,
 | 
			
		||||
"texture": SubResource("AtlasTexture_dckeg")
 | 
			
		||||
}, {
 | 
			
		||||
"duration": 1.0,
 | 
			
		||||
| 
						 | 
				
			
			@ -109,9 +112,6 @@ animations = [{
 | 
			
		|||
}, {
 | 
			
		||||
"duration": 1.0,
 | 
			
		||||
"texture": SubResource("AtlasTexture_k3p5f")
 | 
			
		||||
}, {
 | 
			
		||||
"duration": 1.0,
 | 
			
		||||
"texture": SubResource("AtlasTexture_sp0f4")
 | 
			
		||||
}],
 | 
			
		||||
"loop": true,
 | 
			
		||||
"name": &"walk",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue