mirror of
				https://git.kittycat.homes/zoe/pegchamp.git
				synced 2024-08-15 03:15:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			102 lines
		
	
	
	
		
			2.8 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			102 lines
		
	
	
	
		
			2.8 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| [gd_scene load_steps=17 format=2]
 | |
| 
 | |
| [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=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( 96, 0, 32, 32 )
 | |
| 
 | |
| [sub_resource type="AtlasTexture" id=10]
 | |
| atlas = ExtResource( 2 )
 | |
| region = Rect2( 64, 0, 32, 32 )
 | |
| 
 | |
| [sub_resource type="AtlasTexture" id=11]
 | |
| atlas = ExtResource( 2 )
 | |
| region = Rect2( 32, 0, 32, 32 )
 | |
| 
 | |
| [sub_resource type="AtlasTexture" id=12]
 | |
| atlas = ExtResource( 2 )
 | |
| region = Rect2( 0, 0, 32, 32 )
 | |
| 
 | |
| [sub_resource type="SpriteFrames" id=13]
 | |
| animations = [ {
 | |
| "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=14]
 | |
| emission_shape = 1
 | |
| emission_sphere_radius = 16.0
 | |
| flag_disable_z = true
 | |
| direction = Vector3( 1, 10, 0 )
 | |
| spread = 180.0
 | |
| gravity = Vector3( 0, 100, 0 )
 | |
| initial_velocity = 60.0
 | |
| orbit_velocity = 0.0
 | |
| orbit_velocity_random = 0.0
 | |
| color = Color( 0.454902, 0.337255, 0.607843, 1 )
 | |
| 
 | |
| [node name="Scattershot" type="Node2D"]
 | |
| script = ExtResource( 1 )
 | |
| 
 | |
| [node name="SlowmoTimer" type="Timer" parent="."]
 | |
| wait_time = 0.25
 | |
| one_shot = true
 | |
| autostart = true
 | |
| 
 | |
| [node name="AnimatedSprite" type="AnimatedSprite" parent="."]
 | |
| z_index = -15
 | |
| frames = SubResource( 13 )
 | |
| animation = "appear"
 | |
| 
 | |
| [node name="Particles2D" type="Particles2D" parent="."]
 | |
| z_index = -20
 | |
| emitting = false
 | |
| amount = 64
 | |
| lifetime = 3.0
 | |
| one_shot = true
 | |
| explosiveness = 1.0
 | |
| 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"]
 |