asteroids cooking
This commit is contained in:
parent
d5c27030c5
commit
51be54d905
8 changed files with 73 additions and 15 deletions
|
|
@ -8,9 +8,16 @@ class_name Channel
|
|||
@export var offline_channel_cover : TextureRect
|
||||
@export var game_viewport : SubViewport
|
||||
|
||||
var channel_online : bool
|
||||
|
||||
var channel_online : bool = true
|
||||
|
||||
func _ready() -> void:
|
||||
var new_scene = channel_scene.instantiate()
|
||||
game_viewport.add_child(new_scene)
|
||||
|
||||
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
offline_channel_cover.visible = !channel_online
|
||||
|
||||
func start_channel():
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue