renamed turning platform
This commit is contained in:
parent
629bc75fbb
commit
139b862a47
11 changed files with 37 additions and 27 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=19 format=2]
|
||||
[gd_scene load_steps=21 format=2]
|
||||
|
||||
[ext_resource path="res://objects/environment/turret/turret.gd" type="Script" id=1]
|
||||
[ext_resource path="res://graphics/enemy/turret.png" type="Texture" id=2]
|
||||
|
@ -306,6 +306,27 @@ graph_offset = Vector2( -880, -243 )
|
|||
[sub_resource type="Curve" id=15]
|
||||
_data = [ Vector2( 0, 1 ), 0.0, -2.23455, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
|
||||
|
||||
[sub_resource type="CurveTexture" id=16]
|
||||
width = 32
|
||||
curve = SubResource( 15 )
|
||||
|
||||
[sub_resource type="ParticlesMaterial" id=17]
|
||||
emission_shape = 2
|
||||
emission_box_extents = Vector3( 2, 0, 0 )
|
||||
flag_disable_z = true
|
||||
direction = Vector3( 0, 1, 0 )
|
||||
spread = 60.0
|
||||
gravity = Vector3( 0, 0, 0 )
|
||||
initial_velocity = 50.0
|
||||
orbit_velocity = 0.0
|
||||
orbit_velocity_random = 0.0
|
||||
angle = 720.0
|
||||
angle_random = 1.0
|
||||
scale = 0.25
|
||||
scale_random = 0.5
|
||||
scale_curve = SubResource( 16 )
|
||||
color = Color( 1, 0.968627, 0.431373, 1 )
|
||||
|
||||
[node name="Turret" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
||||
fire_rate = 20.0
|
||||
|
@ -344,21 +365,10 @@ __meta__ = {
|
|||
"_gizmo_extents_": 2.0
|
||||
}
|
||||
|
||||
[node name="MuzzleFlash" type="CPUParticles2D" parent="BarrelStart/BarrelEnd"]
|
||||
[node name="MuzzleFlash" type="Particles2D" parent="BarrelStart/BarrelEnd"]
|
||||
z_index = -1
|
||||
emitting = false
|
||||
lifetime = 0.15
|
||||
explosiveness = 0.5
|
||||
process_material = SubResource( 17 )
|
||||
texture = ExtResource( 3 )
|
||||
emission_shape = 2
|
||||
emission_rect_extents = Vector2( 2, 0 )
|
||||
direction = Vector2( 0, 1 )
|
||||
spread = 60.0
|
||||
gravity = Vector2( 0, 0 )
|
||||
initial_velocity = 50.0
|
||||
angle = 720.0
|
||||
angle_random = 1.0
|
||||
scale_amount = 0.25
|
||||
scale_amount_random = 0.5
|
||||
scale_amount_curve = SubResource( 15 )
|
||||
color = Color( 1, 0.968627, 0.431373, 1 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue