From bc49356299f5cc75af342f7e247a31bdec2f7834 Mon Sep 17 00:00:00 2001 From: anyreso Date: Tue, 9 Apr 2024 16:52:36 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Improved=20explosion=20transitions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- weapons/space_gun/projectile_explosion.tscn | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/weapons/space_gun/projectile_explosion.tscn b/weapons/space_gun/projectile_explosion.tscn index 7d93054..b2ac328 100644 --- a/weapons/space_gun/projectile_explosion.tscn +++ b/weapons/space_gun/projectile_explosion.tscn @@ -1,12 +1,20 @@ -[gd_scene load_steps=6 format=3 uid="uid://8atq41j7wd55"] +[gd_scene load_steps=8 format=3 uid="uid://8atq41j7wd55"] [ext_resource type="Script" path="res://weapons/space_gun/projectile_explosion.gd" id="1_fp5td"] [ext_resource type="PackedScene" uid="uid://ds1hekx1dq1bg" path="res://components/area_damage_component.tscn" id="2_reyvo"] +[sub_resource type="Curve" id="Curve_rg204"] +_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] +point_count = 2 + +[sub_resource type="CurveTexture" id="CurveTexture_08dbu"] +curve = SubResource("Curve_rg204") + [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_3mf41"] spread = 180.0 initial_velocity_min = 12.0 initial_velocity_max = 12.0 +scale_curve = SubResource("CurveTexture_08dbu") [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wpu51"] albedo_color = Color(0.819608, 0, 0, 1)