ld-39-jam/EnemyGrunt.tscn

98 lines
2.5 KiB
Plaintext
Raw Normal View History

2017-08-13 00:32:41 +01:00
[gd_scene load_steps=8 format=1]
2017-07-30 20:57:41 +01:00
[ext_resource path="res://EnemyGrunt.gd" type="Script" id=1]
2017-07-31 17:23:46 +01:00
[ext_resource path="res://raw/enemy_grunt.png" type="Texture" id=2]
2017-08-10 23:26:45 +01:00
[ext_resource path="res://raw/exhaust.png" type="Texture" id=3]
[ext_resource path="res://Gun.gd" type="Script" id=4]
2017-08-13 00:32:41 +01:00
[ext_resource path="res://MissileLauncher.gd" type="Script" id=5]
2017-07-30 19:46:44 +01:00
2017-08-12 15:45:22 +01:00
[sub_resource type="RectangleShape2D" id=1]
custom_solver_bias = 0.0
extents = Vector2( 8.55915, 8.40247 )
[sub_resource type="ConvexPolygonShape2D" id=2]
custom_solver_bias = 0.0
points = Vector2Array( 0, -10, 8.66025, 5, -8.66025, 5 )
2017-07-30 19:46:44 +01:00
[node name="EnemyGrunt" type="KinematicBody2D"]
2017-08-12 17:02:52 +01:00
transform/pos = Vector2( 0.12851, 0 )
2017-07-31 17:23:46 +01:00
transform/scale = Vector2( 2, 2 )
2017-07-30 19:46:44 +01:00
input/pickable = false
2017-08-12 15:45:22 +01:00
shapes/0/shape = SubResource( 1 )
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/0/trigger = false
2017-08-12 17:02:52 +01:00
collision/layers = 2
collision/mask = 2
2017-07-30 19:46:44 +01:00
collision/margin = 0.08
2017-07-30 20:57:41 +01:00
script/script = ExtResource( 1 )
2017-07-30 19:46:44 +01:00
2017-08-12 15:45:22 +01:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
trigger = false
_update_shape_index = 0
[node name="Ship" type="Sprite" parent="."]
2017-07-31 17:23:46 +01:00
texture = ExtResource( 2 )
[node name="Particles2D" type="Particles2D" parent="Ship"]
2017-08-10 23:26:45 +01:00
transform/pos = Vector2( 0, -5.43192 )
transform/rot = 180.0
config/amount = 32
config/lifetime = 1.0
config/process_mode = 1
config/local_space = false
config/texture = ExtResource( 3 )
params/direction = 0.0
params/spread = 50.0
params/linear_velocity = 32.0
params/spin_velocity = 0.0
params/orbit_velocity = 0.0
params/gravity_direction = 0.0
params/gravity_strength = 9.8
params/radial_accel = 0.0
params/tangential_accel = 0.0
params/damping = 0.0
params/initial_angle = 0.0
params/initial_size = 1.5
params/final_size = 0.0
params/hue_variation = 0.0
params/anim_speed_scale = 1.0
params/anim_initial_pos = 0.0
[node name="Gun" type="Node2D" parent="Ship"]
transform/pos = Vector2( 0, 12.2383 )
script/script = ExtResource( 4 )
2017-08-13 00:32:41 +01:00
[node name="MissileLauncher" type="Node2D" parent="Ship"]
transform/pos = Vector2( 1.3176, 15.4159 )
script/script = ExtResource( 5 )
[node name="Area2D" type="Area2D" parent="."]
input/pickable = true
shapes/0/shape = SubResource( 2 )
shapes/0/transform = Matrix32( 4, 0, 0, 16, 0.173824, 148.748 )
shapes/0/trigger = true
gravity_vec = Vector2( 0, 1 )
gravity = 98.0
linear_damp = 0.1
angular_damp = 1.0
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
transform/pos = Vector2( 0.173824, 148.748 )
transform/scale = Vector2( 4, 16 )
shape = SubResource( 2 )
trigger = true
_update_shape_index = 0
2017-07-30 19:46:44 +01:00