19 lines
628 B
Text
Executable file
19 lines
628 B
Text
Executable file
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://Elements/Scripts/Directory.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
|
|
[node name="Node2D" type="Node2D"]
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
scale = Vector2( 1.5, 1.5 )
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
shape = SubResource( 1 )
|
|
|
|
[connection signal="mouse_entered" from="Area2D" to="Area2D" method="_on_Area2D_mouse_entered"]
|
|
[connection signal="mouse_exited" from="Area2D" to="Area2D" method="_on_Area2D_mouse_exited"]
|