generated from Nekojimi/GodotTemplate
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
638 B
18 lines
638 B
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://scripts/Line.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="CapsuleShape2D" id=1]
|
|
height = 10.2288
|
|
|
|
[node name="Line" type="Line2D"]
|
|
points = PoolVector2Array( 0, 0, 1, 1 )
|
|
default_color = Color( 0.537255, 0.537255, 0.537255, 1 )
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
shape = SubResource( 1 )
|
|
[connection signal="mouse_entered" from="Area2D" to="." method="_on_Area2D_mouse_entered"]
|
|
[connection signal="mouse_exited" from="Area2D" to="." method="_on_Area2D_mouse_exited"]
|
|
|