diff options
author | bd <bdunahu@operationnull.com> | 2025-05-22 13:50:49 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-05-22 13:50:49 -0400 |
commit | 8c5c4863aeacb4afcf70f339df6d601e2df1a7a6 (patch) | |
tree | 6c2af54a18271534864a7a1daed7814ebac5abd1 /scenes/wyvern_projectile.tscn | |
parent | 80e145ba2b85e08f895e76ba6a03bb67bc9ce9ea (diff) |
Reorganized files into scenes and scripts
Diffstat (limited to 'scenes/wyvern_projectile.tscn')
-rw-r--r-- | scenes/wyvern_projectile.tscn | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/scenes/wyvern_projectile.tscn b/scenes/wyvern_projectile.tscn new file mode 100644 index 0000000..24e6861 --- /dev/null +++ b/scenes/wyvern_projectile.tscn @@ -0,0 +1,62 @@ +[gd_scene load_steps=7 format=3 uid="uid://b5klvt4gcjnah"] + +[ext_resource type="Script" uid="uid://brqwmj8ydtipd" path="res://scripts/wyvern_projectile.gd" id="1_4pt1w"] + +[sub_resource type="CircleShape2D" id="CircleShape2D_tajkb"] +radius = 8.0 + +[sub_resource type="Curve" id="Curve_tajkb"] +_data = [Vector2(0, 0.966292), 0.0, 0.0, 0, 0, Vector2(0.680328, 0.651685), 0.0, 0.0, 0, 0, Vector2(1, 0.426966), 0.0, 0.0, 0, 0] +point_count = 3 + +[sub_resource type="Gradient" id="Gradient_tajkb"] +offsets = PackedFloat32Array(0.125, 0.489583, 0.552083, 0.625) +colors = PackedColorArray(0.996078, 0.133333, 0.172549, 1, 1, 0.772549, 0, 1, 0, 0.784314, 0.321569, 1, 1, 0.717647, 0.321569, 1) + +[sub_resource type="Curve" id="Curve_68je7"] +_limits = [-1.0, 1.0, 0.0, 1.0] +_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.707865), 0.0, 0.0, 0, 0] +point_count = 2 + +[sub_resource type="CircleShape2D" id="CircleShape2D_68je7"] +radius = 5.0 + +[node name="WyvernProjectile" type="CharacterBody2D"] +script = ExtResource("1_4pt1w") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource("CircleShape2D_tajkb") +disabled = true + +[node name="DamageTick" type="Timer" parent="."] +wait_time = 0.25 +autostart = true + +[node name="CPUParticles2D" type="CPUParticles2D" parent="."] +skew = 0.401426 +amount = 1500 +lifetime = 0.25 +explosiveness = 0.15 +randomness = 0.86 +emission_shape = 1 +emission_sphere_radius = 2.0 +spread = 17.5 +gravity = Vector2(0, 0) +initial_velocity_max = 300.0 +orbit_velocity_min = -0.5 +orbit_velocity_max = 0.5 +scale_amount_min = 0.5 +scale_amount_max = 1.5 +scale_amount_curve = SubResource("Curve_tajkb") +color_ramp = SubResource("Gradient_tajkb") +hue_variation_curve = SubResource("Curve_68je7") +anim_speed_max = 20.0 + +[node name="Area2D" type="Area2D" parent="."] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] +position = Vector2(20, 0) +scale = Vector2(5, 1) +shape = SubResource("CircleShape2D_68je7") + +[connection signal="timeout" from="DamageTick" to="." method="_on_damage_tick_timeout"] |