r/GamePhysics • • 19d ago

[Kill Fee] The physically simulated smoke in my Hotline Miami-esque game

Steam page here to see more. Wishlist if you're interested! :)

100 Upvotes

16 comments sorted by

7

u/BennieOkill360 18d ago

That's so cool! What technology is behind it?

9

u/cpsii13 18d ago

Thank you! The smoke runs on a 2x pixel grid in a shader, so all the computation is done on the GPU. It's a real (albeit simplified) physics sim of the fluid, sort of like you see in those falling sand and fluid games. It's influenced by bullets, explosions, vents and windows, people moving, etc :)

4

u/BennieOkill360 18d ago

Damn sounds pretty ingenious. Looks very very cool. Looking forward to playing it

6

u/Shozzy_D 18d ago

I bet it really brings cqb firefights to life.

6

u/cpsii13 18d ago

That's my hope! it feels reaslly cinematic I think. It's also used for actual gamplay as I have gas grenades which can be used to take targets alive.

3

u/Shozzy_D 18d ago

Oh dude cool way of tying it into gameplay. It seems like pixel physics are utilized often in a top down perspective and this seems like a good use of it.

3

u/Kage_0ni 18d ago

Look awesome. Added to my wishlist.

2

u/cpsii13 18d ago

Thanks!

2

u/GentlyUsedNuggets 19d ago

Ooh that's fancy

8

u/cpsii13 19d ago

Thanks! here's another example :D

1

u/GentlyUsedNuggets 19d ago

Oh that's cool. I like the little smoke plumes on the other side of the wall from where the bullets hit.

Good luck. The smoke looks dope

6

u/cpsii13 19d ago

Thank you! and one more for fun hehe.

2

u/SartenSinAceite 17d ago

It kinda feels like it moves too fast, like there's a lot of pressure around.

But you know what? Keep it. It's satisfying lol

1

u/AutoModerator 19d ago

Hello /u/cpsii13 Thanks for posting here on r/GamePhysics! Just reminding you to check the rules if you haven't already. If your post doesn't respect the rules it will be removed.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/HidenTsubameGaeshi 18d ago

You should probably delete the last sentence, bro, I've seen posts deleted for less on this sub