77 lines
2.4 KiB
Text
77 lines
2.4 KiB
Text
[gd_scene load_steps=11 format=3 uid="uid://20171x3gmn1j"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/objects/ShipEngine.gd" id="1_jvcps"]
|
|
[ext_resource type="Texture2D" uid="uid://hpcn75jlrbr3" path="res://sprites/ship engine mk1.png" id="2_mll00"]
|
|
[ext_resource type="Script" path="res://scripts/misc/EngineParticles.gd" id="3_fxngd"]
|
|
[ext_resource type="Script" path="res://scripts/misc/TurboParticles.gd" id="4_f11x7"]
|
|
|
|
[sub_resource type="Curve" id="Curve_grs2w"]
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), -1.30258, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_wagku"]
|
|
curve = SubResource("Curve_grs2w")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_al11x"]
|
|
lifetime_randomness = 0.5
|
|
particle_flag_disable_z = true
|
|
emission_shape = 3
|
|
emission_box_extents = Vector3(8, 1, 1)
|
|
direction = Vector3(0, 1, 0)
|
|
spread = 15.0
|
|
initial_velocity_min = 50.0
|
|
initial_velocity_max = 100.0
|
|
gravity = Vector3(0, 0, 0)
|
|
scale_min = 0.5
|
|
scale_max = 2.0
|
|
scale_curve = SubResource("CurveTexture_wagku")
|
|
|
|
[sub_resource type="Curve" id="Curve_r1iqm"]
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), -1.7156, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_ot3qw"]
|
|
curve = SubResource("Curve_r1iqm")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_gd3um"]
|
|
lifetime_randomness = 0.5
|
|
particle_flag_disable_z = true
|
|
emission_shape = 1
|
|
emission_sphere_radius = 1102.0
|
|
direction = Vector3(0, 1, 0)
|
|
spread = 0.0
|
|
initial_velocity_min = 500.0
|
|
initial_velocity_max = 600.0
|
|
gravity = Vector3(0, 0, 0)
|
|
scale_min = 1.5
|
|
scale_max = 1.5
|
|
scale_curve = SubResource("CurveTexture_ot3qw")
|
|
|
|
[node name="Engine" type="Node2D"]
|
|
script = ExtResource("1_jvcps")
|
|
rotation_speed = 120
|
|
|
|
[node name="EngineSprite" type="Sprite2D" parent="."]
|
|
use_parent_material = true
|
|
position = Vector2(-4, 0)
|
|
texture = ExtResource("2_mll00")
|
|
|
|
[node name="EngineParticles" type="GPUParticles2D" parent="."]
|
|
position = Vector2(-8, 0)
|
|
rotation = 1.5708
|
|
emitting = false
|
|
amount = 16
|
|
process_material = SubResource("ParticleProcessMaterial_al11x")
|
|
fixed_fps = 50
|
|
script = ExtResource("3_fxngd")
|
|
|
|
[node name="TurboParticles" type="GPUParticles2D" parent="."]
|
|
rotation = 1.5708
|
|
emitting = false
|
|
amount = 64
|
|
process_material = SubResource("ParticleProcessMaterial_gd3um")
|
|
randomness = 0.5
|
|
fixed_fps = 50
|
|
local_coords = true
|
|
trail_enabled = true
|
|
script = ExtResource("4_f11x7")
|