This commit is contained in:
2023-02-12 21:54:20 +01:00
parent 250ab93c15
commit 58fb2e6643
4 changed files with 3 additions and 25 deletions
-11
View File
@@ -1,13 +1,8 @@
extends CanvasLayer
@onready var bottle_service = $Control/BottleService
var timer = 0
const clear_time = 5
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
func message(msg: String, title: String = ""):
var popup = RichTextLabel.new()
popup.custom_minimum_size = Vector2(200,100)
@@ -24,12 +19,6 @@ func message(msg: String, title: String = ""):
close.pressed.connect(_on_close_pressed.bind(close))
popup.add_child(close)
bottle_service.add_child(popup)
timer = 0
func _process(delta):
timer += delta
#$"Control/HFlowContainer/SubViewportContainer/SubViewport/Camera3D/Item Position".get_child(0).rotation.y += delta
#$Control/SubViewportContainer/SubViewport/Camera3D/sleutel.rotation.y += delta
func add_item(mesh: Node):
var subviewport = preload("res://GUI-item.tscn").instantiate()