mirror of
https://git.leinelab.org/Mal/mr-crocs-adventures.git
synced 2025-09-11 02:57:36 +02:00
Graphic set preview icons can now be specified
This commit is contained in:
@@ -175,7 +175,7 @@ export default class Tilorswift
|
||||
{
|
||||
this.tileset = new Tileset(tilesetIndex);
|
||||
this.level.terrain = new Terrain(this.tileset, tilesX, tilesY, GraphicSet[tilesetIndex].backgroundColor);
|
||||
|
||||
this.level.setGravity(GraphicSet[tilesetIndex].gravity);
|
||||
document.body.style.backgroundColor = this.level.getBackgroundColor();
|
||||
|
||||
if (GraphicSet[tilesetIndex].backgroundImage !== null) {
|
||||
|
||||
Reference in New Issue
Block a user