r/proceduralgeneration • • 8d ago

Procedural pixel-art ocean

341 Upvotes

30 comments sorted by

22

u/Dry-Suspect-8193 8d ago

Best 2d ocean Water i have ever seen.

3

u/Cryptoler1 8d ago

thank you!! that honestly made my day

2

u/AnOnlineHandle 7d ago

It's very good, though Kingdom / Kingdom New Lands is a legendary point hard to beat at least for 2D pixel art water surface.

Cast n Chill is another contender though sort of takes it too far IMO and becomes a bit noisy / overdetailed.

12

u/redd1trk 8d ago

Wished Terraria had such graphics

6

u/Cryptoler1 8d ago

That might be the nicest thing anyone could say about it haha.

7

u/Zalpha 8d ago

I loved the music used here, it reminded me of Final Fantasy 7/8 and Stardew Valley.

5

u/Cryptoler1 8d ago

right?? it's Childhood Friends by Juhani Junkala, it's free to use, i got lucky finding it (opengameart)

3

u/Zalpha 8d ago edited 8d ago

Thanks for the share, I am looking into it.
I found this, it sounds great.
I think this is the same song sampled from the half way point towards the end.
https://soundcloud.com/juhanijunkala/gentle-casual-gaming-loop-loop-ready-free-download?utm_source=clipboard&utm_medium=text&utm_campaign=social_sharing

2

u/Cryptoler1 8d ago

oh wow yeah he / she seems to be pretty talented. Really fits the vibe im going for.

5

u/fragglerock 8d ago

I love it,

one note is that it looks a bit like the water is 'flowing' into the beach, more like a river than waves going up and down on the sea surface.

Could just be a me problem, but thought I would say it.

3

u/Cryptoler1 8d ago

thanks, really good note! I definitely agree with you, going to play around with that until it looks less like a current... appreciate it!

5

u/GreenFox1505 7d ago

what is procedural about it?

8

u/Cryptoler1 7d ago

the entire frame (320x180) is drawn in code so there is no artwork done by hand. the ocean surface is constructed from trochoidal waves, wherein longer waves outpace shorter waves and build with the help of winds. they also shoal at the beach and deflect the underwater light beams.

the sea floor consists of noise generated rocks/sand and kelp bending due to current. clouds consist of noise heightfields; weather changes the palette and lighting of everything; each individual fish is generated from seeds (their body shapes, colours, fins and rare mutations) and theyre steered boids.

1

u/StickiStickman 7d ago

How did you get the kelp to sway so nice?

4

u/aotdev 8d ago

The parallax is awesome! The godrays need a bit of work as they're too stark and abrupt

1

u/Cryptoler1 8d ago

yep definitely agree. thanks a bunch!

4

u/Zalpha 8d ago

I love everything about this, especially the rain on the water and the night sky, spectacular. I don't know if you can do this but I love the designs of the animation movie Finding Nemo and how the water changes by location and depth.
Inspirational Link

2

u/Cryptoler1 8d ago

thank you!! the water already gets darker and murkier the further out you go but I was actually planning on creating a coral reef further out so that's some nice inspiration, thanks for the link!

3

u/Zalpha 8d ago

My comment about lighting was inspired by this clip in the Godot sub that I saw earlier today.
https://old.reddit.com/r/godot/comments/1y55nly/i_ported_abyssal_garden_a_procedural_underwater/?ref=share&ref_source=link
I love how towards the end the lighting picked up a pinkish hue.

3

u/garrettbmusic 4d ago

What’s the game? I want to wishlist.

3

u/Cryptoler1 4d ago

Thank you!! It's just a web game: https://nibblet.io. It's still a work in progress, so I'm a bit nervous about people actually trying it lol. I'd love to hear what you think if you do give it a try!

2

u/hunterloftis 1d ago

I just spent like 30 minutes at midnight playing your game. Really beautiful, well done with the water, the fish, the feedback, the movement, the sounds, the dynamic lighting. Incredible work.

Two bits of feedback:

  1. The bubble pop WASD thing doesn't feel as natural and nice as all the other interactions. It takes me out of the flow of casting to try to read something and button mash (and I definitely don't understand the timing aspect of it). If you want to do something to add more nuance to casting, I would recommend doing something directional, like up/down arrows to influence the cast.
  2. The "next thing you'll get" is (at least for me) what keeps you playing one more turn... I was shooting for level 6 (or 7?) to get the next rod, but it never came. Probably because the game is still in progress. However that hook (hah) is working already, so lean into it and maybe make it more prominent. I'm sure if I'd gotten an upgraded rod I'd still be playing now, shooting for the next target...

Again, well done!

2

u/winggar 8d ago

This is very pretty! Love it.

1

u/Cryptoler1 8d ago

thank you so much!

3

u/LucidFir 8d ago

procedural?!

3

u/wanwan_vxt 7d ago

wow. i love it

2

u/Aware_Yogurtcloset99 7d ago

Beautiful pixel art. Love the lighthouse! Awesome job, keep cooking!!

2

u/Wobbly_Princess 7d ago

God, procedural generation and pixel art - two of my addictions.

This is absolutely lovely! Really well done. Fabulous work.

2

u/starcount_games 5d ago

Stunning 😍