mirror of
https://github.com/tonytins/dressupzack
synced 2025-05-05 13:34:48 -04:00
More precise drag and drop. Still has a few bugs, but most of the base is there. - Removed translations. - Cleaned up README
12 lines
290 B
GDScript
12 lines
290 B
GDScript
# This project is licensed under the GPL-3.0 license.
|
|
# See the LICENSE file in the project root for more information.
|
|
extends StaticBody2D
|
|
|
|
func _ready():
|
|
modulate = Color(Color.MEDIUM_PURPLE, 0.7)
|
|
|
|
func _process(delta):
|
|
if Global.is_dragging:
|
|
visible = true
|
|
else:
|
|
visible = false
|