You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constgrid=newJSGL.Vector2(10,10);constbackgroundColor='black';constcanvasScale=1;constgame=JSGL.DefaultGame.Create({grid: grid},{backgroundColor: backgroundColor},canvasScale);constonGameLoaded=()=>{JSGL.log("Game loaded!");// ^^^^^^^^ logs to console};game.LoadGameAndStart().then(()=>{// Game loadedonGameLoaded();}).catch((error)=>{// Encountered error while loading}).finally(()=>{// After operation});