[gd_scene load_steps=6 format=3 uid="uid://hdekde5crm8g"] [ext_resource type="Theme" uid="uid://b46gto6k33wqr" path="res://theme.tres" id="1_g3ehp"] [ext_resource type="Script" uid="uid://5cghvv2m23uq" path="res://script/score_particles.gd" id="1_yb0l5"] [sub_resource type="ViewportTexture" id="ViewportTexture_yb0l5"] viewport_path = NodePath("SubViewport") [sub_resource type="Curve" id="Curve_g3ehp"] _data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.0695971, 1), 4.42277, 4.42277, 0, 0, Vector2(0.267399, 1), -2.49704, -2.49704, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] point_count = 4 [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_fmxq6"] [node name="score_particles" type="CPUParticles2D" node_paths=PackedStringArray("label")] emitting = false amount = 1 texture = SubResource("ViewportTexture_yb0l5") lifetime = 2.5 one_shot = true randomness = 1.0 direction = Vector2(100, 0) spread = 180.0 gravity = Vector2(0, 0) initial_velocity_min = 50.0 initial_velocity_max = 100.0 angular_velocity_min = -20.0 angular_velocity_max = 20.0 linear_accel_max = 50.0 scale_amount_curve = SubResource("Curve_g3ehp") script = ExtResource("1_yb0l5") label = NodePath("SubViewport/Label") [node name="SubViewport" type="SubViewport" parent="."] transparent_bg = true size = Vector2i(640, 32) [node name="Label" type="Label" parent="SubViewport"] anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -18.0 offset_top = -16.0 offset_right = 18.0 offset_bottom = 16.0 grow_horizontal = 2 grow_vertical = 2 theme = ExtResource("1_g3ehp") theme_override_styles/normal = SubResource("StyleBoxEmpty_fmxq6") text = "+23"