wea re cooking 🔥
This commit is contained in:
parent
2b90112231
commit
34eb42616d
25 changed files with 247 additions and 77 deletions
|
|
@ -6,16 +6,17 @@ func _process(delta: float) -> void:
|
|||
|
||||
func start_specific_channel(scene : PackedScene):
|
||||
var new_scene = scene.instantiate()
|
||||
new_scene.game_win.connect(win_channel)
|
||||
new_scene.game_lose.connect(lose_channel)
|
||||
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
|
||||
start_specific_channel(channel_scene)
|
||||
|
||||
func end_channel():
|
||||
channel_mode = Mode.Static
|
||||
modulate = Color.DIM_GRAY
|
||||
# TODO: a bunch of stuff here
|
||||
## bro what did you mean when you meant this T_T
|
||||
#game_viewport.get_child(0).queue_free()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue