Skip to content

Commit ea93f97

Browse files
authored
enforcing whitespace conventions
1 parent f1316af commit ea93f97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sketch.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
var bird;
77
var pipes = [];
8-
var parallax=0.8;
8+
var parallax = 0.8;
99
var score = 0;
1010
var maxScore = 0;
1111
var birdIcon;
@@ -31,7 +31,7 @@ function draw() {
3131
background(0);
3232
// Draw our background image, then move it at the same speed as the pipes
3333
image(bgImg, bgX, 0, bgImg.width, height);
34-
bgX -= pipes[0].speed*parallax;
34+
bgX -= pipes[0].speed * parallax;
3535

3636
// this handles the "infinite loop" by checking if the right
3737
// edge of the image would be on the screen, if it is draw a

0 commit comments

Comments
 (0)