27 lines
1,010 B
Text
27 lines
1,010 B
Text
[gd_scene load_steps=6 format=3 uid="uid://bsu8nbvtd4bvq"]
|
|
|
|
[ext_resource type="Script" uid="uid://bffgf4c382pwy" path="res://Godot/powerable.gd" id="1_w7icu"]
|
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_5ikb6"]
|
|
|
|
[sub_resource type="Gradient" id="Gradient_c6ss2"]
|
|
colors = PackedColorArray(0.111197, 0.111197, 0.111197, 1, 0.180392, 1, 0.152941, 1)
|
|
|
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_frole"]
|
|
gradient = SubResource("Gradient_c6ss2")
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_5u2yj"]
|
|
|
|
[node name="Powerable" type="Area2D"]
|
|
script = ExtResource("1_w7icu")
|
|
|
|
[node name="MeshInstance2D" type="MeshInstance2D" parent="."]
|
|
position = Vector2(-8.9407e-07, 2.02656e-06)
|
|
scale = Vector2(20.0227, 20)
|
|
mesh = SubResource("SphereMesh_5ikb6")
|
|
texture = SubResource("GradientTexture2D_frole")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_5u2yj")
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|