Post Game jam commit
This commit is contained in:
commit
6db2131520
164 changed files with 172524 additions and 0 deletions
79
scenes/hearts.tscn
Normal file
79
scenes/hearts.tscn
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
[gd_scene load_steps=11 format=3 uid="uid://0n57icfpulmc"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://beefpuq6vu475" path="res://assets/particles/heart.png" id="1_hugpe"]
|
||||
[ext_resource type="Script" uid="uid://dyyqm52cwjimy" path="res://scripts/hearts.gd" id="2_q6mno"]
|
||||
[ext_resource type="PackedScene" uid="uid://crptu0w0l57dd" path="res://hitbox.tscn" id="3_hugpe"]
|
||||
|
||||
[sub_resource type="CanvasTexture" id="CanvasTexture_7sc4i"]
|
||||
diffuse_texture = ExtResource("1_hugpe")
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_hugpe"]
|
||||
colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 0)
|
||||
|
||||
[sub_resource type="Curve" id="Curve_215e1"]
|
||||
_limits = [-1.0, 1.0, 0.0, 1.0]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="Curve" id="Curve_hugpe"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.8181818, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
point_count = 3
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_q6mno"]
|
||||
curve = SubResource("Curve_hugpe")
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_hugpe"]
|
||||
curve = SubResource("Curve_215e1")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_q6mno"]
|
||||
particle_flag_disable_z = true
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 15.51
|
||||
spread = 180.0
|
||||
initial_velocity_min = 23.65
|
||||
initial_velocity_max = 116.43
|
||||
gravity = Vector3(0, -100, 0)
|
||||
scale_min = 0.5
|
||||
color = Color(1, 0.5686275, 0.61960787, 1)
|
||||
alpha_curve = SubResource("CurveTexture_q6mno")
|
||||
hue_variation_min = -0.07
|
||||
hue_variation_max = 0.01
|
||||
hue_variation_curve = SubResource("CurveTexture_hugpe")
|
||||
|
||||
[node name="Hearts" type="CPUParticles2D"]
|
||||
z_index = 1
|
||||
amount = 32
|
||||
texture = SubResource("CanvasTexture_7sc4i")
|
||||
lifetime = 0.34
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 15.51
|
||||
gravity = Vector2(0, -100)
|
||||
scale_amount_min = 0.5
|
||||
color = Color(1, 0.27999997, 0.36400008, 1)
|
||||
color_ramp = SubResource("Gradient_hugpe")
|
||||
hue_variation_min = -0.07
|
||||
hue_variation_max = 0.01
|
||||
hue_variation_curve = SubResource("Curve_215e1")
|
||||
script = ExtResource("2_q6mno")
|
||||
speed = 350.0
|
||||
|
||||
[node name="Hitbox" parent="." instance=ExtResource("3_hugpe")]
|
||||
scale = Vector2(0.63729316, 0.63729316)
|
||||
|
||||
[node name="Explosion" type="GPUParticles2D" parent="."]
|
||||
z_index = 1
|
||||
emitting = false
|
||||
amount = 128
|
||||
texture = SubResource("CanvasTexture_7sc4i")
|
||||
lifetime = 0.6
|
||||
one_shot = true
|
||||
explosiveness = 1.0
|
||||
fixed_fps = 0
|
||||
draw_order = 0
|
||||
process_material = SubResource("ParticleProcessMaterial_q6mno")
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
wait_time = 10.0
|
||||
|
||||
[connection signal="onhit" from="Hitbox" to="." method="_on_hitbox_onhit"]
|
||||
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue