More work on dialogue, portraits, customizer and intro
This commit is contained in:
@@ -3,6 +3,7 @@ class_name GamePanel extends MarginContainer
|
||||
const notice_template = preload("res://templates/notice_panel.tscn")
|
||||
const quest_progress_bar_template = preload("res://templates/quest_progress_bar.tscn")
|
||||
const quest_view_template = preload("res://templates/quest_view.tscn")
|
||||
const options_template = preload("res://scenes/options.tscn")
|
||||
|
||||
signal time_changed(time : float)
|
||||
|
||||
@@ -100,3 +101,9 @@ func _on_drag_region_gui_input(event: InputEvent) -> void:
|
||||
|
||||
func _on_quest_viewer_button_pressed() -> void:
|
||||
%QuestView.visible = !%QuestView.visible
|
||||
|
||||
|
||||
func _on_options_button_pressed() -> void:
|
||||
var opt = options_template.instantiate()
|
||||
get_tree().root.add_child(opt)
|
||||
pass # Replace with function body.
|
||||
|
||||
Reference in New Issue
Block a user