mirror of
https://git.leinelab.org/Mal/mr-crocs-adventures.git
synced 2025-09-11 02:57:36 +02:00
Tilorswift json loader implemented.
This commit is contained in:
@@ -178,7 +178,7 @@ export default class RetroArchitecture
|
||||
|
||||
for (let y = 0; y < data.rows; y++) {
|
||||
for (let x = 0; x < data.columns; x++) {
|
||||
if (data.matrix[y][x] !== null) {
|
||||
if (data.matrix[y][x] > -1) {
|
||||
architecture.matrix[y][x] = new RetroArchitectureTile(
|
||||
data.matrix[y][x],
|
||||
x * architecture.tileWidth,
|
||||
|
||||
Reference in New Issue
Block a user