21 lines
718 B
Text
Executable file
21 lines
718 B
Text
Executable file
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://Assets/tmp.png" type="Texture" id=1]
|
|
[ext_resource path="res://Elements/Scripts/Directory.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 16, 16 )
|
|
|
|
[node name="Node2D" type="Node2D"]
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
texture = ExtResource( 1 )
|
|
|
|
[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"]
|