increased mountains parallax intensity
This commit is contained in:
parent
f460141ff0
commit
91c2069bad
@ -616,7 +616,7 @@ function drawMountains() {
|
|||||||
for (i = 0; i < mountains.length; i++) {
|
for (i = 0; i < mountains.length; i++) {
|
||||||
push();
|
push();
|
||||||
// slowing down translation to add parallax, the feeling of depth
|
// slowing down translation to add parallax, the feeling of depth
|
||||||
translate(cameraPosX / 8, 0);
|
translate(cameraPosX / 2.2, 0);
|
||||||
noStroke();
|
noStroke();
|
||||||
fill(palette.mountain_shadow);
|
fill(palette.mountain_shadow);
|
||||||
triangle(
|
triangle(
|
||||||
|
Loading…
Reference in New Issue
Block a user