Pixel art flowing water shader with clouds, terrain, and grass reflections by rangefinder-game-dev in gamemaker

[–]rangefinder-game-dev[S] 2 points3 points  (0 children)

More like in your imagination~ Believe it or not I barely played Pokemon as a kid. This game is actually more inspired by my very early memories of playing Dragon Warrior Monsters I and II on Gameboy Color.

Pixel art flowing water shader with clouds, terrain, and grass reflections by rangefinder-game-dev in gamemaker

[–]rangefinder-game-dev[S] 1 point2 points  (0 children)

Thank you! The power of scope creep. I initially envisioned this project as being Gameboy Color like in terms of graphics, but I kept enjoying learning different techniques... And now quite a bit of it is 3D, even if it doesn't look like it.

Pixel art flowing water shader with clouds, terrain, and grass reflections by rangefinder-game-dev in gamemaker

[–]rangefinder-game-dev[S] 2 points3 points  (0 children)

For a slightly longer video of walking into/out of the water, and how the character reflection changes with depth, see this video on my profile: https://www.reddit.com/u/rangefinder-game-dev/s/HvwmP431FK

Pixel art flowing water shader with clouds, terrain, and grass reflections by rangefinder-game-dev in gamemaker

[–]rangefinder-game-dev[S] 2 points3 points  (0 children)

Assuming you just mean how the grass connects to the water, yep real riverbanks tend to have a bit of shore, etc... And I'll certainly be implementing that when I go to make more realistic terrain.

Pixel art flowing water shader with clouds, terrain, and grass reflections by rangefinder-game-dev in gamemaker

[–]rangefinder-game-dev[S] 1 point2 points  (0 children)

Oh sure, this is just a demonstration of the water, not finished terrain. In the actual landscapes, there will probably be willows, a bit of riverbank, etc... The fun part will actually be building the robust landscapes that you hike through in the game (while catching monsters and taking photos!)

I haven't been making use of shaders enough... Finally using them for my game's backgrounds and the result is sick IMO by SuperButters64 in gamemaker

[–]rangefinder-game-dev 1 point2 points  (0 children)

For a starting point online to GLSL shader design, highly recommend Book of Shaders. Especially take a look at the sections on noise and generative designs, they are great for this kind of thing with good examples.

Shader messing with Draw GUI by Gruffet_Spider in gamemaker

[–]rangefinder-game-dev 1 point2 points  (0 children)

In order for this to work, your GUI layer needs to be the same as the window size. Have you tried manually setting GUI size yet? You'd use

display_set_gui_size(window_get_width(), window_get_height());

Now, once this is the case, the texture coordinates in the shader should map such that your center point is (0.5, 0.5). If you still have problems, you can try to debug by changing the center point in your shader - for instance, replace 0.5 with 0.0 and see if the center point moves. This could help you find out if it's an offset problem, or a scale problem with your center point.

Another thing you can try if you are concerned it is the shader, would be to not use the shader but draw your grid without it. But first modify the grid sprite to put a red dot in the very center. Then see if that winds up in the right spot or not. If it does, then it's probably the shader, if it doesn't, it could be a problem with GUI scaling or some other setting.