blob: f9d60d11deb2cb7fd48aa4ffe0f0f85f53960c5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
extends Level
export(String, MULTILINE) var text = ""
signal next()
# Called when the node enters the scene tree for the first time.
func _ready():
$Continue.visible = false
$TextReveal.to_render = text
$TextReveal.start()
func _on_TextReveal_finished_reveal():
$Continue.visible = true
$Skip.visible = false
func _next():
emit_signal("next")
func _on_Button_on_click():
_next()
func _on_Skip_on_click():
_next()
|