Use firstgid (TODO: assumes tileset 0 currently, needs to calculate the correct tileset) to fix the 'out by one' tilemap example errors. Handle empty VBO case, and make sure we only drawArrays the correct number of vertices (to fix the large corrupt block in the top-right corner of many example demos).
Use firstgid (TODO: assumes tileset 0 currently, needs to calculate the correct tileset) to fix the 'out by one' tilemap example errors.
Handle empty VBO case, and make sure we only drawArrays the correct number of vertices (to fix the large corrupt block in the top-right corner of many example demos).

GGAlanSmithee/phaser,BeanSeed/phaser,djom20/phaser,Acaki/WWW_project,nexiuhm/phaser,SHOCK122/systole,stoneman1/phaser,JennaWu-Cardona/firstPhaserGame,yupaul/phaser-ce,nexiuhm/phaser,HannahCacapit/firstphasergame,photonstorm/phaser,JastonHu/skynet,yupaul/phaser-ce,stoneman1/phaser,nexiuhm/phaser,aakaash710/firstphasergame,cloakedninjas/phaser,Acaki/WWW_project,SHOCK122/systole,audreybongalon/weebisoft,spayton/phaser,JennaWu-Cardona/firstPhaserGame,MasahiroWard/MVPgamedev,dreamsxin/phaser,yupaul/phaser-ce,HannahCacapit/firstphasergame,Flash5509/firstphasergame,djom20/phaser,tallzabby/phaser,HannahCacapit/firstphasergame,alexus85/phaser-ce,5kittys22/firstphasergame,natlot/phaser-ce,tallzabby/phaser,samme/phaser-ce,rblopes/phaser,djom20/phaser,JastonHu/skynet,SHOCK122/systole,TukekeSoft/phaser,spayton/phaser,photonstorm/phaser-ce,clark-stevenson/phaser,Remus22/First-Pahser,adamlabadorf/bobodyssey,JennaWu-Cardona/firstPhaserGame,adamlabadorf/bobodyssey,photonstorm/phaser,BeanSeed/phaser,photonstorm/phaser-ce,5kittys22/firstphasergame,TukekeSoft/phaser,Flash5509/firstphasergame,MasahiroWard/MVPgamedev,audreybongalon/weebisoft,natlot/phaser-ce,yupaul/phaser-ce,pixelpicosean/phaser,tallzabby/phaser,Remus22/First-Pahser,GGAlanSmithee/phaser,aakaash710/firstphasergame,Acaki/WWW_project,JastonHu/skynet,jamesgroat/phaser,adamlabadorf/bobodyssey,jamesgroat/phaser,TukekeSoft/phaser,5kittys22/firstphasergame,mahill/phaser,alexus85/phaser-ce,MasahiroWard/MVPgamedev,cloakedninjas/phaser,natlot/phaser-ce,jamesgroat/phaser,Flash5509/firstphasergame,MasahiroWard/MVPgamedev,cloakedninjas/phaser,GGAlanSmithee/phaser,stoneman1/phaser,aakaash710/firstphasergame,mahill/phaser,alexus85/phaser-ce,natlot/phaser-ce,Remus22/First-Pahser,dreamsxin/phaser,samme/phaser-ce,audreybongalon/weebisoft,samme/phaser-ce,photonstorm/phaser-ce,englercj/phaser,dreamsxin/phaser,photonstorm/phaser-ce,clark-stevenson/phaser,clark-stevenson/phaser