break
This commit is contained in:
parent
fb639c1d13
commit
9fe10e6057
|
@ -3,7 +3,6 @@ var score = 0;
|
||||||
var highscore = 0;
|
var highscore = 0;
|
||||||
var lives = 3;
|
var lives = 3;
|
||||||
|
|
||||||
Log.warn(gameobjects['brick'].boundingbox);
|
|
||||||
var brick = World.spawn(gameobjects['brick']);
|
var brick = World.spawn(gameobjects['brick']);
|
||||||
var brickbb = brick.char.boundingbox;
|
var brickbb = brick.char.boundingbox;
|
||||||
var bwidth = brickbb.r - brickbb.l;
|
var bwidth = brickbb.r - brickbb.l;
|
||||||
|
@ -77,7 +76,7 @@ Color.Arkanoid.Powerups = {
|
||||||
gray: [143,143,143] /* 1up */
|
gray: [143,143,143] /* 1up */
|
||||||
};
|
};
|
||||||
|
|
||||||
var lvl = JSON.parse(IO.slurp("lvlsparse.json"));
|
var lvl = JSON.parse(IO.slurp("lvl1.json"));
|
||||||
|
|
||||||
for (var row = 0; row < rows; row++) {
|
for (var row = 0; row < rows; row++) {
|
||||||
for (var col = 0; col < cols; col++) {
|
for (var col = 0; col < cols; col++) {
|
||||||
|
|
Loading…
Reference in a new issue