Strayvoid/scenes/abillityCardOrb.tscn
2025-03-30 09:49:48 +02:00

39 lines
1.4 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://c8obne1su6fsv"]
[ext_resource type="Texture2D" uid="uid://bbe5arwkxwwfw" path="res://assets/sprites/abillityCards/abillityOrb.png" id="1_4c8h1"]
[ext_resource type="Script" path="res://scripts/abillity_orb.gd" id="2_5bjn4"]
[sub_resource type="Gradient" id="Gradient_1207x"]
offsets = PackedFloat32Array(0.113744, 0.379147, 0.687204)
colors = PackedColorArray(1, 1, 1, 1, 0.31802, 0.31802, 0.31802, 1, 0, 0, 0, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_ffj5h"]
gradient = SubResource("Gradient_1207x")
fill = 1
fill_from = Vector2(0.5, 0.5)
[sub_resource type="CircleShape2D" id="CircleShape2D_s6lqd"]
radius = 6.66667
[node name="abillityCardOrb" type="Node2D"]
[node name="abillityOrb" type="Sprite2D" parent="."]
scale = Vector2(0.6, 0.6)
texture = ExtResource("1_4c8h1")
script = ExtResource("2_5bjn4")
[node name="PointLight2D" type="PointLight2D" parent="abillityOrb"]
scale = Vector2(1.66667, 1.66667)
color = Color(0.564706, 0.337255, 0.627451, 1)
energy = 1.1
texture = SubResource("GradientTexture2D_ffj5h")
texture_scale = 0.7
[node name="Area2D" type="Area2D" parent="abillityOrb"]
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="abillityOrb/Area2D"]
shape = SubResource("CircleShape2D_s6lqd")
[connection signal="body_entered" from="abillityOrb/Area2D" to="abillityOrb" method="_on_area_2d_body_entered"]