its all coming together!

This commit is contained in:
tabby 2025-05-16 15:56:55 +10:00
parent 35db2250f7
commit 2b90112231
6 changed files with 65 additions and 4 deletions

View file

@ -0,0 +1,21 @@
extends Channel
func _process(delta: float) -> void:
offline_channel_cover.visible = channel_mode == Mode.Offline
static_channel_cover.visible = channel_mode == Mode.Static
func start_specific_channel(scene : PackedScene):
var new_scene = scene.instantiate()
game_viewport.add_child(new_scene)
channel_mode = Mode.Online
func start_channel():
var new_scene = channel_scene.instantiate()
game_viewport.add_child(new_scene)
channel_mode = Mode.Online
func end_channel():
channel_mode = Mode.Static
modulate = Color.DIM_GRAY
# TODO: a bunch of stuff here
#game_viewport.get_child(0).queue_free()

View file

@ -0,0 +1 @@
uid://ca41i40uerrbr