fix anim bug
This commit is contained in:
+1
-2
@@ -9,7 +9,7 @@ var start = false
|
||||
|
||||
func _ready():
|
||||
get_tree().get_root().print_tree()
|
||||
anim.playing = true
|
||||
anim.play("default")
|
||||
$Draakje/Hoest.playing = true
|
||||
var size = get_viewport_rect().size
|
||||
anim.position = Vector2(size.x/2, size.y/2)
|
||||
@@ -25,7 +25,6 @@ func _process(delta):
|
||||
if !start:
|
||||
get_tree().root.add_child(room)
|
||||
var bg = get_theme_stylebox("panel")
|
||||
#bg.bg_color = Color.BLACK
|
||||
opacity_panel -= delta * 0.5
|
||||
bg.bg_color.a = opacity_panel
|
||||
if opacity_panel <= 0:
|
||||
|
||||
Reference in New Issue
Block a user