init
This commit is contained in:
82
scenes/rocket.tscn
Normal file
82
scenes/rocket.tscn
Normal file
@@ -0,0 +1,82 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://doxwblduu0no0"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/rocket.gd" id="1_tmk40"]
|
||||
[ext_resource type="Texture2D" uid="uid://bdnapk5ubpkp5" path="res://assets/entities.png" id="1_un6dn"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_admdg"]
|
||||
atlas = ExtResource("1_un6dn")
|
||||
region = Rect2(192, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_li1r2"]
|
||||
atlas = ExtResource("1_un6dn")
|
||||
region = Rect2(224, 0, 32, 32)
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_1uivg"]
|
||||
radius = 12.0
|
||||
height = 32.0
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_0l0cx"]
|
||||
particle_flag_disable_z = true
|
||||
direction = Vector3(-1, 2.08165e-12, 2.08165e-12)
|
||||
spread = 90.0
|
||||
initial_velocity_max = 16.0
|
||||
gravity = Vector3(2.08165e-12, 2.08165e-12, 2.08165e-12)
|
||||
color = Color(1, 0.427451, 0.686275, 1)
|
||||
hue_variation_max = 0.3
|
||||
|
||||
[sub_resource type="Curve" id="Curve_sx08r"]
|
||||
min_value = -1.0
|
||||
_data = [Vector2(0.0529801, 85.8977), 0.0, 0.0, 0, 0, Vector2(0.135762, 0.243075), -2.95911, -2.95911, 0, 0, Vector2(0.155629, 0.250424), 0.0, 0.0, 0, 0, Vector2(1, -0.851894), 0.0, 0.0, 0, 0]
|
||||
point_count = 4
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_qj75g"]
|
||||
curve = SubResource("Curve_sx08r")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_o8muh"]
|
||||
particle_flag_disable_z = true
|
||||
direction = Vector3(-1, 2.08165e-12, 2.08165e-12)
|
||||
spread = 90.0
|
||||
initial_velocity_max = 16.0
|
||||
gravity = Vector3(2.08165e-12, 2.08165e-12, 2.08165e-12)
|
||||
color = Color(1, 0.176471, 0.227451, 1)
|
||||
hue_variation_min = -0.1
|
||||
hue_variation_max = 0.2
|
||||
hue_variation_curve = SubResource("CurveTexture_qj75g")
|
||||
|
||||
[node name="Rocket" type="CharacterBody2D"]
|
||||
motion_mode = 1
|
||||
script = ExtResource("1_tmk40")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="SpriteHead" type="Sprite2D" parent="Sprite2D"]
|
||||
texture = SubResource("AtlasTexture_admdg")
|
||||
offset = Vector2(16, 2.08165e-12)
|
||||
|
||||
[node name="SpriteEngine" type="Sprite2D" parent="Sprite2D"]
|
||||
texture = SubResource("AtlasTexture_li1r2")
|
||||
offset = Vector2(-16, 2.08165e-12)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
rotation = 1.5708
|
||||
shape = SubResource("CapsuleShape2D_1uivg")
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
zoom = Vector2(1.8, 1.8)
|
||||
|
||||
[node name="GPUParticles2DMiddle" type="GPUParticles2D" parent="."]
|
||||
position = Vector2(-11, 0)
|
||||
amount = 16
|
||||
process_material = SubResource("ParticleProcessMaterial_0l0cx")
|
||||
|
||||
[node name="GPUParticles2DTop" type="GPUParticles2D" parent="."]
|
||||
position = Vector2(-11, -8)
|
||||
amount = 16
|
||||
process_material = SubResource("ParticleProcessMaterial_o8muh")
|
||||
|
||||
[node name="GPUParticles2DBottom" type="GPUParticles2D" parent="."]
|
||||
position = Vector2(-11, 8)
|
||||
amount = 16
|
||||
process_material = SubResource("ParticleProcessMaterial_o8muh")
|
||||
Reference in New Issue
Block a user