2017-08-12 15:45:22 +01:00
|
|
|
[gd_scene load_steps=5 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]
|
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 )
|
|
|
|
|
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
|
|
|
|
|
2017-07-31 17:23:46 +01:00
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
|
|
|
|
|
|
texture = ExtResource( 2 )
|
|
|
|
|
2017-08-10 23:26:45 +01:00
|
|
|
[node name="Particles2D" type="Particles2D" parent="Sprite"]
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2017-07-30 19:46:44 +01:00
|
|
|
|