Hello everyone, I made an application according to the guide of the official channel and started giving the following error Failed to create roSGNode with type GridScreen: pkg:/components/UILogic/GridScreenLogic.brs(2) I can't figure out why the code is
sub ShowGridScreen()
m.GridScreen=CreateObject("roSGNode","GridScreen")
ShowScreen(m.GridScreen)
end sub
main.brs
sub Main()
ShowChannelRSGScreen()
end sub
sub ShowChannelRSGScreen()
screen=CreateObject("roSGScreen")
m.port=CreateObject("roMessagePort")
screen.SetMessagePort(m.port)
scene=screen.CreateScene("MainScene")
screen.Show()
while(true)
msg=wait(0,m.port)
msgType=type(msg)
if msgType="roSGScreenEvent"
if msg.IsScreenClosed() then return
end if
end while
end sub