Skip to content

Commit

Permalink
Enable background layer.
Browse files Browse the repository at this point in the history
  • Loading branch information
pomle committed Sep 25, 2017
1 parent 76335ef commit 0394ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Promise.all([
const comp = new Compositor();

const backgroundLayer = createBackgroundLayer(level.backgrounds, backgroundSprites);
//comp.layers.push(backgroundLayer);
comp.layers.push(backgroundLayer);

mario.pos.x = 64;
mario.pos.y = 180;
Expand Down

0 comments on commit 0394ab7

Please sign in to comment.