oh-my-git/scenes/drop_area.tscn

29 lines
940 B
Text

[gd_scene load_steps=4 format=2]
[ext_resource path="res://scenes/drop_area.gd" type="Script" id=1]
[ext_resource path="res://nodes/blob.svg" type="Texture" id=2]
[sub_resource type="CircleShape2D" id=1]
radius = 23.5871
[node name="DropArea" type="Node2D" groups=[
"drop_areas",
]]
position = Vector2( -0.197731, 0.0673599 )
z_index = -2
script = ExtResource( 1 )
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource( 1 )
[node name="Highlight" type="Node2D" parent="."]
[node name="Sprite" type="Sprite" parent="Highlight"]
modulate = Color( 0.847059, 0.788235, 0.996078, 0.533333 )
position = Vector2( 0.177797, -0.65835 )
scale = Vector2( 1.23678, 1.23678 )
texture = ExtResource( 2 )
[connection signal="mouse_entered" from="Area2D" to="." method="_mouse_entered"]
[connection signal="mouse_exited" from="Area2D" to="." method="_mouse_exited"]