-
-
Notifications
You must be signed in to change notification settings - Fork 0
Creating game instance
Tymon Woźniak edited this page Apr 14, 2023
·
2 revisions
game.js
const grid = new JSGL.Vector2(16, 9);
const game = JSGL.DefaultGame.Create({ grid: grid }, { backgroundColor: 'black' }, 1);
// JSGL.DefaultGame.Create(gameSettings, pageSettings, canvasScale);