more debug
This commit is contained in:
parent
6cecba5aa1
commit
f567d0703b
1 changed files with 4 additions and 1 deletions
|
|
@ -666,7 +666,10 @@ async function main() {
|
|||
|
||||
// DRAW TILES
|
||||
// ---------------------------------------------------------------
|
||||
for (let tile of Game.getTilesSortedByZIndex(gameId)) {
|
||||
const tiles = Game.getTilesSortedByZIndex(gameId)
|
||||
if (DEBUG) Debug.checkpoint('get tiles done')
|
||||
|
||||
for (let tile of tiles) {
|
||||
const bmp = bitmaps[tile.idx]
|
||||
pos = viewport.worldToViewportRaw({
|
||||
x: TILE_DRAW_OFFSET + tile.pos.x,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue