===================================================================
--- original.js
+++ change.js
@@ -1,12 +1,12 @@
/****
* Classes
-****/
+****/
var Background = Container.expand(function () {
var self = Container.call(this);
self.attachAsset('background', {
- width: 2048,
- height: 2732,
+ width: 2048 * 1.5,
+ height: 2732 * 1.5,
anchorX: 0,
anchorY: 0
});
self.move = function () {
@@ -153,16 +153,16 @@
});
/****
* Initialize Game
-****/
+****/
var game = new LK.Game({
backgroundColor: 0x87ceeb
});
/****
* Game Code
-****/
+****/
// Create a single instance of Cloud outside the game loop
game.collectibles = [];
var floor = game.addChild(new Floor());
floor.x = 0;