feat: animations working
This commit is contained in:
		
							parent
							
								
									2a9e824a9e
								
							
						
					
					
						commit
						2445a71f0c
					
				
					 63 changed files with 3023 additions and 1408 deletions
				
			
		
							
								
								
									
										119
									
								
								assets/animations/dragons/gris.tres
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										119
									
								
								assets/animations/dragons/gris.tres
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,119 @@ | |||
| [gd_resource type="SpriteFrames" load_steps=16 format=3 uid="uid://8ooldj4ypfj2"] | ||||
| 
 | ||||
| [ext_resource type="Texture2D" uid="uid://c0ix7r57l1swx" path="res://assets/sprites/dragons/DP_drac06_Anim.png" id="1_2went"] | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id="AtlasTexture_waewi"] | ||||
| atlas = ExtResource("1_2went") | ||||
| region = Rect2(0, 216, 108, 108) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id="AtlasTexture_bqp3r"] | ||||
| atlas = ExtResource("1_2went") | ||||
| region = Rect2(108, 216, 108, 108) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id="AtlasTexture_to3q2"] | ||||
| atlas = ExtResource("1_2went") | ||||
| region = Rect2(216, 216, 108, 108) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id="AtlasTexture_akaea"] | ||||
| atlas = ExtResource("1_2went") | ||||
| region = Rect2(324, 216, 108, 108) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id="AtlasTexture_xbxev"] | ||||
| atlas = ExtResource("1_2went") | ||||
| region = Rect2(0, 0, 108, 108) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id="AtlasTexture_e4f2w"] | ||||
| atlas = ExtResource("1_2went") | ||||
| region = Rect2(108, 0, 108, 108) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id="AtlasTexture_1h3nn"] | ||||
| atlas = ExtResource("1_2went") | ||||
| region = Rect2(216, 0, 108, 108) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id="AtlasTexture_680yn"] | ||||
| atlas = ExtResource("1_2went") | ||||
| region = Rect2(324, 0, 108, 108) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id="AtlasTexture_s56j0"] | ||||
| atlas = ExtResource("1_2went") | ||||
| region = Rect2(432, 0, 108, 108) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id="AtlasTexture_iaqbq"] | ||||
| atlas = ExtResource("1_2went") | ||||
| region = Rect2(540, 0, 108, 108) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id="AtlasTexture_ny8vc"] | ||||
| atlas = ExtResource("1_2went") | ||||
| region = Rect2(0, 108, 108, 108) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id="AtlasTexture_s1wsx"] | ||||
| atlas = ExtResource("1_2went") | ||||
| region = Rect2(108, 108, 108, 108) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id="AtlasTexture_dy35q"] | ||||
| atlas = ExtResource("1_2went") | ||||
| region = Rect2(216, 108, 108, 108) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id="AtlasTexture_nlpvo"] | ||||
| atlas = ExtResource("1_2went") | ||||
| region = Rect2(324, 108, 108, 108) | ||||
| 
 | ||||
| [resource] | ||||
| animations = [{ | ||||
| "frames": [{ | ||||
| "duration": 1.0, | ||||
| "texture": SubResource("AtlasTexture_waewi") | ||||
| }, { | ||||
| "duration": 1.0, | ||||
| "texture": SubResource("AtlasTexture_bqp3r") | ||||
| }, { | ||||
| "duration": 1.0, | ||||
| "texture": SubResource("AtlasTexture_to3q2") | ||||
| }, { | ||||
| "duration": 1.0, | ||||
| "texture": SubResource("AtlasTexture_akaea") | ||||
| }], | ||||
| "loop": true, | ||||
| "name": &"fly", | ||||
| "speed": 5.0 | ||||
| }, { | ||||
| "frames": [{ | ||||
| "duration": 1.0, | ||||
| "texture": SubResource("AtlasTexture_xbxev") | ||||
| }, { | ||||
| "duration": 1.0, | ||||
| "texture": SubResource("AtlasTexture_e4f2w") | ||||
| }, { | ||||
| "duration": 1.0, | ||||
| "texture": SubResource("AtlasTexture_1h3nn") | ||||
| }, { | ||||
| "duration": 1.0, | ||||
| "texture": SubResource("AtlasTexture_680yn") | ||||
| }, { | ||||
| "duration": 1.0, | ||||
| "texture": SubResource("AtlasTexture_s56j0") | ||||
| }, { | ||||
| "duration": 1.0, | ||||
| "texture": SubResource("AtlasTexture_iaqbq") | ||||
| }], | ||||
| "loop": true, | ||||
| "name": &"idle", | ||||
| "speed": 5.0 | ||||
| }, { | ||||
| "frames": [{ | ||||
| "duration": 1.0, | ||||
| "texture": SubResource("AtlasTexture_ny8vc") | ||||
| }, { | ||||
| "duration": 1.0, | ||||
| "texture": SubResource("AtlasTexture_s1wsx") | ||||
| }, { | ||||
| "duration": 1.0, | ||||
| "texture": SubResource("AtlasTexture_dy35q") | ||||
| }, { | ||||
| "duration": 1.0, | ||||
| "texture": SubResource("AtlasTexture_nlpvo") | ||||
| }], | ||||
| "loop": true, | ||||
| "name": &"walk", | ||||
| "speed": 5.0 | ||||
| }] | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Gerard Gascón
						Gerard Gascón