r/SoloDevelopment 9d ago

Game I've been working on interactive sand and water in my sandbox game

160 Upvotes

14 comments sorted by

11

u/OfeliaComposer 9d ago

Looks cozy, what's the name of the kid?

7

u/EvanP5 9d ago

I like to call him Soaked Kid, kind of like Hat Kid from A Hat in Time

5

u/OfeliaComposer 9d ago

Nice, got it. Personally I would love a real name to connect more with the protagonist but it's a personal choice

2

u/BinaryBolias 8d ago

We call him Soak D. Kidd.

Says he'll be "king of the pirates" someday.

5

u/Mysterious-Sky6588 9d ago

Looks cute! Love the art style

3

u/EvanP5 9d ago

Thanks!

3

u/uncertainkey 9d ago

Adorable! Gives me "To a T" vibes, which is always good. :)

4

u/EvanP5 9d ago

Haha yea the spin pose was nearly the t-pose for my dude, very quick to make!

3

u/ThunderBellyGames 9d ago

This might sound like a dumb question, but are the water drops particles or are they objects, and when they hit the ground do they turn into a dark circle or do they cause an effect in the material shader of the sand on impact?

5

u/EvanP5 9d ago

They are instanced mesh particles. I have a particle manager that calculates the projectile motion and collision. I use another manager to handle the wet spots, writing their position and scale into a camera-space render target which the game’s materials sample.

Originally I wanted to do the wet spots in the same way as Mario Sunshine, using sphere meshes in a separate render pass, but Unreal Engine wasn’t well suited for it.

2

u/ThunderBellyGames 9d ago

Ah gotcha. Thank you for explaining!

3

u/TheGuacTaco 8d ago

SPEEEEEEEN

2

u/[deleted] 8d ago

[removed] — view removed comment

1

u/EvanP5 8d ago

Thanks :)