InitCommit

update 1.4.2 source code
This commit is contained in:
kaia
2024-02-03 18:36:09 -06:00
commit ece4ffd123
216 changed files with 79783 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
extends Node2D
var text = ""
@onready var label = $Tooltip/Label
@onready var area = $Area2D
func _ready():
Global.mouse = self
func _process(delta):
if Global.main.editMode:
if text != "":
label.text = text
visible = true
else:
visible = false
global_position = get_global_mouse_position()
if Input.is_action_just_pressed("mouse_left"):
Global.select(area.get_overlapping_areas())
else:
visible = false
text = ""