At 6/22/20 03:38 PM, BlueStarGeneral wrote:
At 3/28/18 05:25 AM, JmPrsh153 wrote:
At 5/12/15 12:04 PM, PsychoGoldfish wrote:
Having problems with your Unity3D WebGL game? Please start here. If you've read through the wiki, searched Google, etc. and still haven't resolved your issue, feel free to ask a question here.
i have made a post here about my recent game build :/ please help! https://www.newgrounds.com/bbs/topic/1430847
Doesn't work can't even log in, did everything mentioned to the last letter and double/triple checked over six hours of testing. Can only test on NG with the preview build if that makes a difference.
PSD
I put it into lateupdate also to make sure the packet doesn't go missing, that runs on my game at 200FPS, still no connection. I'm not blaming anyone as getting this to work with unity stuff isn't easy but ...just dis-appointing....I really wanted scoreboards and to add to the NG website.
void LateUpdate()
{
if(!executed && ngio_core)
{
// Do this after the core has been initialized
ngio_core.onReady(() => {
// Call the server to check login status
ngio_core.checkLogin((bool logged_in) => {
if (logged_in)
{
OnLoggedIn();
executed = true;
}
else
{
/*
* This is where you would ask them if the want to sign in.
* If they want to sign in, call requestLogin()
*/
}
});
});
}
}