40 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| [gd_scene load_steps=7 format=2]
 | |
| 
 | |
| [ext_resource path="res://objects/Ship.tscn" type="PackedScene" id=1]
 | |
| [ext_resource path="res://assets/ships/disky/disky.png" type="Texture" id=2]
 | |
| [ext_resource path="res://assets/particles/Sparks.tscn" type="PackedScene" id=3]
 | |
| [ext_resource path="res://objects/actions/StaticShield.tscn" type="PackedScene" id=4]
 | |
| 
 | |
| [sub_resource type="CircleShape2D" id=1]
 | |
| radius = 5.0
 | |
| 
 | |
| [sub_resource type="RectangleShape2D" id=2]
 | |
| extents = Vector2( 3, 5 )
 | |
| 
 | |
| [node name="Disky" instance=ExtResource( 1 )]
 | |
| thrust_power = 200.0
 | |
| max_speed = 80.0
 | |
| brake_power = 1.0
 | |
| velocity_damp = 0.5
 | |
| turning_power = 18.849
 | |
| max_turning = 6.0
 | |
| turning_damp = 0.01
 | |
| bounce_damp = 0.7
 | |
| max_energy = 10.0
 | |
| energy_regen = 5.0
 | |
| 
 | |
| [node name="StaticShield" parent="SecondaryAction" index="0" instance=ExtResource( 4 )]
 | |
| ship_path = NodePath("../..")
 | |
| 
 | |
| [node name="Sprite" parent="Graphics" index="0"]
 | |
| texture = ExtResource( 2 )
 | |
| 
 | |
| [node name="Sparks" parent="Graphics/ThrustParticles" index="0" instance=ExtResource( 3 )]
 | |
| 
 | |
| [node name="HeadShape" type="CollisionShape2D" parent="." index="3"]
 | |
| position = Vector2( 0, -4 )
 | |
| shape = SubResource( 1 )
 | |
| 
 | |
| [node name="BodyShape" type="CollisionShape2D" parent="." index="4"]
 | |
| position = Vector2( 0, 4 )
 | |
| shape = SubResource( 2 )
 |