MassiveHeights / Black-Donuts

Sample project

Home Page:http://blacksmith2d.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Game Scaling and Grid

wini3d opened this issue · comments

Hi, It seems the example is different from the online demo here. I'm getting a scaled up version and if I try to set the size the grid never ends.

So how do I set it up and control the grid same as the online demo which is a 7x5 grid?

Please take a look into board.js and look for:

    this.gridWidth = w;
    this.gridHeight = h;

Feel free to use Discord for those types of questions.