cykod / Quintus

HTML5 Game Engine
http://html5quintus.com
GNU General Public License v2.0
1.41k stars 400 forks source link

TileLayer w og h properties are wrong #40

Closed janerist closed 11 years ago

janerist commented 11 years ago

In the load function:

this.p.w = this.p.rows * this.p.tileH;
this.p.h = this.p.cols * this.p.tileW;

I think this should be:

this.p.w = this.p.cols * this.p.tileW;
this.p.h = this.p.rows * this.p.tileH;
yckart commented 11 years ago

Pew... In what file, on which line?

janerist commented 11 years ago

https://github.com/cykod/Quintus/blob/master/lib/quintus_2d.js#L168-L169