Add upper clouds to AOZ parallax; fine adjustments

This commit is contained in:
Lucas S. Vieira 2024-12-22 00:34:35 -03:00
parent bdbd55ca8a
commit 6c2a11f41d
4 changed files with 68 additions and 4 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

Before After
Before After

View file

@ -1,3 +1,36 @@
[clouds1]
width = 256
height = 36
u0 = 0
v0 = 164
scrollx = 0
speedx = 0.6
y0 = -96
single = false
[clouds2]
width = 256
height = 21
u0 = 0
v0 = 200
scrollx = 0
speedx = 0.5
y0 = -60
single = false
[clouds3]
width = 256
height = 34
u0 = 0
v0 = 221
scrollx = 0
speedx = 0.4
y0 = -39
single = false
# =========
[low_clouds]
width = 256
height = 37
@ -122,7 +155,7 @@ single = false
[water_stream1]
width = 256
height = 130
height = 53
u0 = 0
v0 = 110
scrollx = 0
@ -133,10 +166,40 @@ single = false
[water_stream2]
width = 256
height = 130
height = 53
u0 = 0
v0 = 110
scrollx = 0
speedx = 0.8
y0 = 310
speedx = 0.7
y0 = 233
single = false
[water_stream3]
width = 256
height = 53
u0 = 0
v0 = 110
scrollx = 0
speedx = 0.6
y0 = 286
single = false
[water_stream4]
width = 256
height = 53
u0 = 0
v0 = 110
scrollx = 0
speedx = 0.5
y0 = 339
single = false
[water_stream5]
width = 256
height = 53
u0 = 0
v0 = 110
scrollx = 0
speedx = 0.4
y0 = 392
single = false

View file

@ -127,6 +127,7 @@ parallax_draw(Parallax *prl, Camera *camera)
start_y = level_water_y - camera->pos.vy - (CENTERY << 11);
start_y = MAX(start_y, ymin);
start_y = MIN(start_y, (95 << 12)); // Discovered by hand...
}
}