mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-20 10:09:48 +00:00
5b6f4ebe3e
Cursor icon is temporary. It works by clicking multiple times on the places you want to create edges, and to complete the polygon you either have to click at the first edge (if you hover the mouse, a circle appears in that position), or you can auto-fill by double clicking.
12 lines
397 B
Plaintext
12 lines
397 B
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://src/Tools/SelectionTools/SelectionTool.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://src/Tools/SelectionTools/PolygonSelect.gd" type="Script" id=2]
|
|
|
|
[node name="ToolOptions" instance=ExtResource( 1 )]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="DoubleClickTimer" type="Timer" parent="." index="11"]
|
|
wait_time = 0.1
|
|
one_shot = true
|