2020-09-01 21:25:24 +02:00
|
|
|
[gd_scene load_steps=4 format=2]
|
2020-03-18 16:20:55 +01:00
|
|
|
|
|
|
|
[ext_resource path="res://node.gd" type="Script" id=1]
|
2020-09-01 21:25:24 +02:00
|
|
|
[ext_resource path="res://fonts/default.tres" type="DynamicFont" id=2]
|
2020-03-18 16:20:55 +01:00
|
|
|
|
2020-03-18 16:28:48 +01:00
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
2020-09-01 21:25:24 +02:00
|
|
|
extents = Vector2( 30.4838, 29.9015 )
|
2020-03-18 16:28:48 +01:00
|
|
|
|
2020-03-18 16:20:55 +01:00
|
|
|
[node name="Node" type="Node2D"]
|
2020-09-01 21:25:24 +02:00
|
|
|
z_index = 1
|
2020-03-18 16:20:55 +01:00
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="Rect" type="ColorRect" parent="."]
|
2020-09-01 21:25:24 +02:00
|
|
|
margin_left = -29.0
|
|
|
|
margin_top = -28.0
|
|
|
|
margin_right = 29.0
|
|
|
|
margin_bottom = 30.0
|
2020-03-18 16:28:48 +01:00
|
|
|
mouse_filter = 2
|
2020-09-01 21:25:24 +02:00
|
|
|
color = Color( 0.984314, 0, 0, 1 )
|
2020-03-18 16:20:55 +01:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ID" type="Label" parent="."]
|
2020-09-01 21:25:24 +02:00
|
|
|
visible = false
|
2020-09-03 18:10:09 +02:00
|
|
|
margin_left = -19.9265
|
|
|
|
margin_top = -12.0097
|
|
|
|
margin_right = 129.073
|
|
|
|
margin_bottom = 40.9903
|
2020-09-01 21:25:24 +02:00
|
|
|
custom_fonts/font = ExtResource( 2 )
|
|
|
|
custom_colors/font_color = Color( 1, 1, 1, 1 )
|
2020-03-18 16:20:55 +01:00
|
|
|
text = "object_id"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-03-18 16:28:48 +01:00
|
|
|
|
|
|
|
[node name="Content" type="Label" parent="."]
|
|
|
|
visible = false
|
2020-09-01 21:25:24 +02:00
|
|
|
margin_left = -12.8299
|
|
|
|
margin_top = 39.5639
|
|
|
|
margin_right = 294.17
|
|
|
|
margin_bottom = 248.564
|
|
|
|
custom_fonts/font = ExtResource( 2 )
|
|
|
|
custom_colors/font_color = Color( 1, 1, 1, 1 )
|
2020-03-18 16:28:48 +01:00
|
|
|
text = "content"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Area" type="Area2D" parent="."]
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area"]
|
|
|
|
shape = SubResource( 1 )
|
2020-03-18 20:03:17 +01:00
|
|
|
|
|
|
|
[node name="Arrows" type="Node2D" parent="."]
|
2020-09-01 21:37:13 +02:00
|
|
|
[connection signal="input_event" from="Area" to="." method="_input_event"]
|
2020-03-18 16:28:48 +01:00
|
|
|
[connection signal="mouse_entered" from="Area" to="." method="_on_hover"]
|
|
|
|
[connection signal="mouse_exited" from="Area" to="." method="_on_unhover"]
|