mirror of
				https://git.kittycat.homes/zoe/pegchamp.git
				synced 2024-08-15 03:15:39 +00:00 
			
		
		
		
	added cool animation to springs
This commit is contained in:
		
							parent
							
								
									7b67b3aef6
								
							
						
					
					
						commit
						a88727b2d8
					
				
					 13 changed files with 267 additions and 47 deletions
				
			
		|  | @ -3,68 +3,68 @@ | |||
| [ext_resource path="res://Pegs/Yellow/Powerups/Scattershot/Scattershot.gd" type="Script" id=1] | ||||
| [ext_resource path="res://Pegs/Yellow/Powerups/Scattershot/ScattershoPortalt.png" type="Texture" id=2] | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id=8] | ||||
| [sub_resource type="AtlasTexture" id=1] | ||||
| atlas = ExtResource( 2 ) | ||||
| region = Rect2( 0, 0, 32, 32 ) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id=2] | ||||
| atlas = ExtResource( 2 ) | ||||
| region = Rect2( 32, 0, 32, 32 ) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id=3] | ||||
| atlas = ExtResource( 2 ) | ||||
| region = Rect2( 64, 0, 32, 32 ) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id=4] | ||||
| atlas = ExtResource( 2 ) | ||||
| region = Rect2( 96, 0, 32, 32 ) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id=5] | ||||
| atlas = ExtResource( 2 ) | ||||
| region = Rect2( 128, 0, 32, 32 ) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id=6] | ||||
| atlas = ExtResource( 2 ) | ||||
| region = Rect2( 160, 0, 32, 32 ) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id=7] | ||||
| atlas = ExtResource( 2 ) | ||||
| region = Rect2( 160, 0, 32, 32 ) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id=8] | ||||
| atlas = ExtResource( 2 ) | ||||
| region = Rect2( 128, 0, 32, 32 ) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id=9] | ||||
| atlas = ExtResource( 2 ) | ||||
| region = Rect2( 128, 0, 32, 32 ) | ||||
| region = Rect2( 96, 0, 32, 32 ) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id=10] | ||||
| atlas = ExtResource( 2 ) | ||||
| region = Rect2( 96, 0, 32, 32 ) | ||||
| region = Rect2( 64, 0, 32, 32 ) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id=11] | ||||
| atlas = ExtResource( 2 ) | ||||
| region = Rect2( 64, 0, 32, 32 ) | ||||
| region = Rect2( 32, 0, 32, 32 ) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id=12] | ||||
| atlas = ExtResource( 2 ) | ||||
| region = Rect2( 32, 0, 32, 32 ) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id=13] | ||||
| atlas = ExtResource( 2 ) | ||||
| region = Rect2( 0, 0, 32, 32 ) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id=14] | ||||
| atlas = ExtResource( 2 ) | ||||
| region = Rect2( 0, 0, 32, 32 ) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id=15] | ||||
| atlas = ExtResource( 2 ) | ||||
| region = Rect2( 32, 0, 32, 32 ) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id=16] | ||||
| atlas = ExtResource( 2 ) | ||||
| region = Rect2( 64, 0, 32, 32 ) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id=17] | ||||
| atlas = ExtResource( 2 ) | ||||
| region = Rect2( 96, 0, 32, 32 ) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id=18] | ||||
| atlas = ExtResource( 2 ) | ||||
| region = Rect2( 128, 0, 32, 32 ) | ||||
| 
 | ||||
| [sub_resource type="AtlasTexture" id=19] | ||||
| atlas = ExtResource( 2 ) | ||||
| region = Rect2( 160, 0, 32, 32 ) | ||||
| 
 | ||||
| [sub_resource type="SpriteFrames" id=20] | ||||
| [sub_resource type="SpriteFrames" id=13] | ||||
| animations = [ { | ||||
| "frames": [ SubResource( 8 ), SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ), SubResource( 13 ) ], | ||||
| "loop": true, | ||||
| "name": "appear", | ||||
| "speed": 15.0 | ||||
| }, { | ||||
| "frames": [ SubResource( 14 ), SubResource( 15 ), SubResource( 16 ), SubResource( 17 ), SubResource( 18 ), SubResource( 19 ) ], | ||||
| "frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ) ], | ||||
| "loop": false, | ||||
| "name": "disappear", | ||||
| "speed": 15.0 | ||||
| }, { | ||||
| "frames": [ SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ) ], | ||||
| "loop": true, | ||||
| "name": "appear", | ||||
| "speed": 15.0 | ||||
| } ] | ||||
| 
 | ||||
| [sub_resource type="ParticlesMaterial" id=21] | ||||
| [sub_resource type="ParticlesMaterial" id=14] | ||||
| emission_shape = 1 | ||||
| emission_sphere_radius = 16.0 | ||||
| flag_disable_z = true | ||||
|  | @ -86,7 +86,7 @@ autostart = true | |||
| 
 | ||||
| [node name="AnimatedSprite" type="AnimatedSprite" parent="."] | ||||
| z_index = -15 | ||||
| frames = SubResource( 20 ) | ||||
| frames = SubResource( 13 ) | ||||
| animation = "appear" | ||||
| 
 | ||||
| [node name="Particles2D" type="Particles2D" parent="."] | ||||
|  | @ -96,7 +96,7 @@ amount = 64 | |||
| lifetime = 3.0 | ||||
| one_shot = true | ||||
| explosiveness = 1.0 | ||||
| process_material = SubResource( 21 ) | ||||
| process_material = SubResource( 14 ) | ||||
| 
 | ||||
| [connection signal="timeout" from="SlowmoTimer" to="." method="set_time_scale"] | ||||
| [connection signal="animation_finished" from="AnimatedSprite" to="." method="_on_AnimatedSprite_animation_finished"] | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue