feat: bubbles setup
This commit is contained in:
3
main.gd
3
main.gd
@ -1,6 +1,7 @@
|
||||
extends Node2D
|
||||
|
||||
|
||||
@onready var bubbles: HBoxContainer = $Bubbles
|
||||
@onready var bubbles_back: TileMapLayer = $BubblesBack
|
||||
@onready var bubbles_interior: TileMapLayer = $BubblesInterior
|
||||
|
||||
@ -17,10 +18,12 @@ func on_camera_became_active(camera: SuperCamera):
|
||||
|
||||
|
||||
func on_dialogue_started():
|
||||
bubbles.visible = true
|
||||
bubbles_back.visible = true
|
||||
bubbles_interior.visible = true
|
||||
|
||||
func on_dialogue_ended():
|
||||
bubbles.visible = false
|
||||
bubbles_back.visible = false
|
||||
bubbles_interior.visible = false
|
||||
|
||||
|
Reference in New Issue
Block a user