sync
This commit is contained in:
parent
0f8adcca8e
commit
28b9c41bbc
9 changed files with 279 additions and 48 deletions
52
portal.tscn
52
portal.tscn
|
@ -1,46 +1,12 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://chn8kuplnjxik"]
|
||||
[gd_scene load_steps=2 format=3 uid="uid://chn8kuplnjxik"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://baaak3ooc6rvq" path="res://Hexagon.png" id="1_lhm7s"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://dh2kuw87g8lsx" path="res://ircle_portal.tres" id="1_vdx4s"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_ejv0r"]
|
||||
interpolation_mode = 2
|
||||
offsets = PackedFloat32Array(0, 0.278689, 0.737705, 1)
|
||||
colors = PackedColorArray(1, 0.6, 0, 0, 1, 0.6, 0, 1, 1, 0.6, 0, 1, 1, 0.6, 0, 0)
|
||||
[node name="Portal" type="AnimatedSprite2D"]
|
||||
z_index = 5
|
||||
texture_filter = 1
|
||||
scale = Vector2(1.5, 1.5)
|
||||
sprite_frames = ExtResource("1_vdx4s")
|
||||
autoplay = "default"
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_mfh8i"]
|
||||
gradient = SubResource("Gradient_ejv0r")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_imaul"]
|
||||
min_value = -10.0
|
||||
max_value = 10.0
|
||||
_data = [Vector2(0, -10), 0.0, 0.0, 0, 0, Vector2(1, 2.74725), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_6sfnf"]
|
||||
curve = SubResource("Curve_imaul")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_e6bpl"]
|
||||
particle_flag_disable_z = true
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 200.0
|
||||
spread = 0.0
|
||||
gravity = Vector3(0, 0, 0)
|
||||
radial_accel_min = 1.0
|
||||
radial_accel_max = 2.0
|
||||
radial_accel_curve = SubResource("CurveTexture_6sfnf")
|
||||
tangential_accel_min = 1.0
|
||||
tangential_accel_max = 5.0
|
||||
scale_min = 0.02
|
||||
scale_max = 0.02
|
||||
color_ramp = SubResource("GradientTexture1D_mfh8i")
|
||||
|
||||
[node name="Spawner" type="Node2D"]
|
||||
|
||||
[node name="GPUParticles2D" type="GPUParticles2D" parent="."]
|
||||
z_index = 10
|
||||
emitting = false
|
||||
amount = 1000
|
||||
process_material = SubResource("ParticleProcessMaterial_e6bpl")
|
||||
texture = ExtResource("1_lhm7s")
|
||||
lifetime = 5.0
|
||||
one_shot = true
|
||||
[connection signal="animation_looped" from="." to="." method="queue_free"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue