Hi community I'm making an Roku app and I need to create window instance for can surf between it. The develop is inside the main fuction because is the only way that it works.
Also I need to create some moduls that it not depend of the main, I have been investigating and is nesessary the nodes use and task.
This's my code I wonder if you have some example using nodes and task
enter code here
screen = CreateObject("roSGScreen")
m.port = CreateObject("roMessagePort")
screen.setMessagePort(m.port)
scene = screen.CreateScene("PlayerScreen")
screen.show()