[gd_scene load_steps=13 format=3 uid="uid://dcqxlbsrubapk"] [ext_resource type="PackedScene" uid="uid://dfttci386ohip" path="res://src/equipment/balls/physics_ball/physics_ball.tscn" id="1_yh4fp"] [ext_resource type="Texture2D" uid="uid://c47bkx508biqr" path="res://assets/sprites/particles/plasma.png" id="2_8fdyx"] [ext_resource type="Script" path="res://src/equipment/balls/plasma_ball/plasma_ball.gd" id="2_16fhh"] [ext_resource type="Material" uid="uid://f3qufrkoiv66" path="res://assets/materials/plasma_ball.tres" id="3_6gyuc"] [sub_resource type="Curve" id="Curve_kabhn"] max_value = 2.0 _data = [Vector2(0, 2), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] point_count = 2 [sub_resource type="CurveTexture" id="CurveTexture_v8ki1"] curve = SubResource("Curve_kabhn") [sub_resource type="Curve" id="Curve_77lhu"] _data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.249135, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.598878), -0.922125, -0.922125, 0, 0] point_count = 3 [sub_resource type="CurveTexture" id="CurveTexture_wkho1"] curve = SubResource("Curve_77lhu") [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_uffe8"] angle_min = -720.0 angle_max = 720.0 direction = Vector3(0, 1, 0) spread = 10.0 initial_velocity_max = 0.1 gravity = Vector3(0, 2, 0) scale_curve = SubResource("CurveTexture_wkho1") emission_curve = SubResource("CurveTexture_v8ki1") [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_tyfsm"] transparency = 1 vertex_color_use_as_albedo = true albedo_color = Color(0.48, 1, 1, 0.384314) albedo_texture = ExtResource("2_8fdyx") emission_enabled = true emission = Color(0.42, 1, 1, 1) billboard_mode = 3 billboard_keep_scale = true particles_anim_h_frames = 1 particles_anim_v_frames = 1 particles_anim_loop = false grow_amount = -0.6 [sub_resource type="QuadMesh" id="QuadMesh_go8iw"] material = SubResource("StandardMaterial3D_tyfsm") size = Vector2(0.4, 0.4) [sub_resource type="SphereShape3D" id="SphereShape3D_muqqr"] radius = 0.1 [node name="PlasmaBall" instance=ExtResource("1_yh4fp")] script = ExtResource("2_16fhh") magnetic = true [node name="BallMesh" parent="." index="0"] transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0) surface_material_override/0 = ExtResource("3_6gyuc") [node name="PlasmaFireEffect" type="GPUParticles3D" parent="BallMesh" index="0"] sorting_offset = -1.0 amount = 20 lifetime = 0.6 process_material = SubResource("ParticleProcessMaterial_uffe8") draw_pass_1 = SubResource("QuadMesh_go8iw") [node name="CollisionShape3D" parent="." index="1"] shape = SubResource("SphereShape3D_muqqr") [connection signal="body_entered" from="." to="." method="_on_body_entered"]