Skip to content

Commit

Permalink
limpando codigo
Browse files Browse the repository at this point in the history
  • Loading branch information
jailson santos committed Jun 23, 2018
1 parent 9bcece1 commit 76ce99a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Binary file removed assets/img/jack_left.png
Binary file not shown.
Binary file removed assets/img/jack_right.png
Binary file not shown.
8 changes: 3 additions & 5 deletions assets/sketchs/etapa10.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ function preload() {
treeBones = loadImage('/assets/img/tree_bones.png');
twoBones = loadImage('/assets/img/two_bones.png');
brain = loadImage('/assets/img/brain.png');
jackLeft = loadImage('/assets/img/jack_left.png');
jackRight = loadImage('/assets/img/jack_right.png');
ghost = loadImage('/assets/img/ghost2.png');
ghost2 = loadImage('/assets/img/ghost2_right.png');
stars = loadImage('/assets/img/stars.png');
Expand Down Expand Up @@ -230,8 +228,9 @@ function draw() {
image(pauseImage, width / 2, height / 2, 70, 20);
pop();
}

finalJogo();
} // fim draw
}

function nivel1() {
if (nivel > 1) {
Expand Down Expand Up @@ -268,7 +267,6 @@ function nivel3() {
push();
imageMode(CENTER);
image(crate, 400, 360, 60, 60);
// personagem.display(jackLeft);
pop();
}
}
Expand Down Expand Up @@ -792,7 +790,7 @@ function keyPressed() {
loop();
}
}
return false; // prevent any default behaviour
return false;
}

function telaGameOver() {
Expand Down

0 comments on commit 76ce99a

Please sign in to comment.