increased mountains parallax intensity

This commit is contained in:
Mottributo 2023-03-23 16:47:17 +03:00
parent f460141ff0
commit 91c2069bad

View File

@ -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(