Live data from Hacker News

Show HN: Lunar lander-type game with computational fluid dynamics

github.com

101–110 of 130 posts

Re: Show HN: Lunar lander-type game with computational fluid dynamics

#101
post #12

Very nice. Has anyone made fluid dynamics sailing game yet? You would need only two controls, trim and rudder (direction instead rudder might be easier to comprehend). Wrong trim and point of sail could broache or even capsize the boat. Oh, and you could add not just the winds but the sea currents and waves also. Now I'm salivating.

Something like this? http://devmgames.com/sillysailing/

I could have sworn in the developer's touch arcade interview that he mentioned having a CFD sim for this game.

Re: Show HN: Lunar lander-type game with computational fluid dynamics

#102
post #100
post #2

Author here. It started as a technical demonstration for fluid dynamics in the web browser. Then I saw the js13kgames competition and the decision was made to make a game out of it. A game in which the fluid mechanic counts. The decision for the Lunar Lander genre then was quiet easy. Does someone know more games then the two I mentioned in the README (Plasma Pong and Pixeljunk Shooter) with more or less realistic fl…

I remember a DOS (or early Windows) game like this. A top-down, 2D game for two players or 1 + CPU. There were no obstacles, but every time you moved through the background fluid, more fluid was created in your colour (purple / pink), and you could envelop the enemy player by 'swooshing' it around over them. Can't remember the name...

Was it Ichor[1][2]? A bit later than the "early Windows" days I think (I remember hearing about it around 2007), but it also matches your description and it was the first thing I thought of after playing the game in the post

[1] https://www.youtube.com/watch?v=9MGoyAiPQog

[2] https://www.fun-motion.com/physics-games/ichor/

Re: Show HN: Lunar lander-type game with computational fluid dynamics

#103
post #100

Earlier quoted context omitted.

I remember a DOS (or early Windows) game like this. A top-down, 2D game for two players or 1 + CPU. There were no obstacles, but every time you moved through the background fluid, more fluid was created in your colour (purple / pink), and you could envelop the enemy player by 'swooshing' it around over them. Can't remember the name...

Was it Ichor[1][2]? A bit later than the "early Windows" days I think (I remember hearing about it around 2007), but it also matches your description and it was the first thing I thought of after playing the game in the post [1] https://www.youtube.com/watch?v=9MGoyAiPQog [2] https://www.fun-motion.com/physics-games/ichor/

Yes! Thank you.

Re: Show HN: Lunar lander-type game with computational fluid dynamics

#104
post #99
post #2

Author here. It started as a technical demonstration for fluid dynamics in the web browser. Then I saw the js13kgames competition and the decision was made to make a game out of it. A game in which the fluid mechanic counts. The decision for the Lunar Lander genre then was quiet easy. Does someone know more games then the two I mentioned in the README (Plasma Pong and Pixeljunk Shooter) with more or less realistic fl…

This is cool! However, you know space is ... empty, right? ;-) It also seems like the physics is off. Like you're flying through molasses. There's just a lot of damping. Finally, I think it would be more fun if the rotated the ship for thrust vector control, instead of triggering lateral thrusters with no torque.

Yes I know. The simulation of the ship is not accurate. I had code written for more advanced physics but I skipped it for the js13kentry. Time was running short and I was afraid the game gets too hard. Actually you land on planets with an atmosphere. So you have some "dampening" from the atmosphere.

Re: Show HN: Lunar lander-type game with computational fluid dynamics

#105
post #98
post #2

Author here. It started as a technical demonstration for fluid dynamics in the web browser. Then I saw the js13kgames competition and the decision was made to make a game out of it. A game in which the fluid mechanic counts. The decision for the Lunar Lander genre then was quiet easy. Does someone know more games then the two I mentioned in the README (Plasma Pong and Pixeljunk Shooter) with more or less realistic fl…

https://www.youtube.com/watch?v=S4DlTFDI_M4

I added it. Thanks

Re: Show HN: Lunar lander-type game with computational fluid dynamics

#107
post #100

Earlier quoted context omitted.

I remember a DOS (or early Windows) game like this. A top-down, 2D game for two players or 1 + CPU. There were no obstacles, but every time you moved through the background fluid, more fluid was created in your colour (purple / pink), and you could envelop the enemy player by 'swooshing' it around over them. Can't remember the name...

Was it Ichor[1][2]? A bit later than the "early Windows" days I think (I remember hearing about it around 2007), but it also matches your description and it was the first thing I thought of after playing the game in the post [1] https://www.youtube.com/watch?v=9MGoyAiPQog [2] https://www.fun-motion.com/physics-games/ichor/

Thanks for posting. I added it to my list. Will try it later if still runs.

Re: Show HN: Lunar lander-type game with computational fluid dynamics

#108
post #2

Author here. It started as a technical demonstration for fluid dynamics in the web browser. Then I saw the js13kgames competition and the decision was made to make a game out of it. A game in which the fluid mechanic counts. The decision for the Lunar Lander genre then was quiet easy. Does someone know more games then the two I mentioned in the README (Plasma Pong and Pixeljunk Shooter) with more or less realistic fl…

Vessel ( https://store.steampowered.com/app/108500/Vessel/ ) and more recently Claybook ( https://www.claybookgame.com ) come to mind. They both use SPH fluids afaik. The upcoming Noita ( https://store.steampowered.com/app/881100/Noita/ ) has some particle based fluids. Tommy Referenes (Super Meatboy programmer) was working on an unreleased game called Goo ( https://vimeo.com/1793371 ). Also Riders on a Storm ( http:…

This is great list. Thank you very much. I added most of the games. It is precisely through this post that I have a strong desire to follow your postings,blogs,.... Unfortunately there is no button for that.

How did you find these games?

Re: Show HN: Lunar lander-type game with computational fluid dynamics

#110

Fantastic game! Can anyone recommend any books/courses on how to make simulations/games like this?

One of the prices is the book "HTML5 Games: Novice to Ninja" [1]. However the best way to learn is to read other code. Look at the js13kgames entries [2]. There are more than 1000 games entries. All with source code.

[1] https://www.amazon.com/HTML5-Games-Novice-Ninja-Create/dp/09...

[2] https://2018.js13kgames.com/entries

Post reply on HN