r/surf • • 2d ago

Wipeouts Surf Simulator Side Project

After my day job I work on this at night as a passion project. Very physics/realism focused as I'm not happy with the current state of surfing games, the waves just aren't good enough IMO. So I went all in with CFD and realism.

282 Upvotes

39 comments sorted by

12

u/the_phantom_2099 2d ago

Nice! This looks awesome fun. Any chance you can share the code?

20

u/mckirkus 1d ago

I didn't make a niche game like this to get rich! If nobody buys it I'm probably going to open source it, probably on GitHub.

6

u/skibum6969 1d ago

This looks awesome. A couple thoughts as someone who's played virtually every surf game on the market:

Introduce randomness into the game. Just like real life every wave is different and not every wave is makeable 

Immerse the user in the experience of seeing a wave coming. This is one of the most exhilarating and hard parts about surfing: being in the right position when the wave comes to you. The peak should not be in the same spot every time 

Please do not focus on aerials, maneuvers, or anything else until you have absolutely nailed down the core aspects of wave catching and wave riding 

FYI I think this game does one of the best jobs of simulating waves. Take inspiration from it as you can:

https://wavedash.com/games/sumbasurf

•

u/mckirkus 41m ago

We have the same philosophy. Press X for kickflip and contests aren't my primary focus. I'm working on realistic sets right now based on real wave stacking in the ocean. My waves are based on the reef shape, wave size, direction, and period, and the tide. You can do an air and land it, but it's really hard to get right, just like in real life.

It's all physics based. Even the fin size shape and placement affect how the boards handle. Just about everything goes through the CFD oven.

5

u/tlmbot 1d ago

This is sick. Can you share some details of your physics implementation? Lagrangian style particle based?

(cfd / computational engineer and outdoor sport enthusiast here)

4

u/mckirkus 1d ago

Full blown VOF multiphase CFD. Compute is on 2x AMD Instinct accelerators, loud AF but keeps my house warm! Played around with FLIP/PIC and LBM but it wasn't good enough. I'm using a few CFD tools including OpenFOAM.

4

u/MathematicianMany642 1d ago

Looks so good man keep it up. I really liked how in the second wave it started to get super slabby and pitched the surfer.

3

u/mckirkus 1d ago

Yeah I made the reef shallow there. Level design is basically reef design. The right (wave 3) doesn't have that shelf.

4

u/Nahhhweh 1d ago

Agreed with the others, that 2nd slab wave by far the best, and was the closest to realism of the lot.
I know next to nothing about what’s involved in this kind of endeavour, but my 2c, for what it’s worth, is the water looks too….gelatinous? Like jelly instead of water…
I’m sure you have it set this way for a reason, but for me it breaks the realism quite a lot.
Looks sick otherwise, hope you keep progressing with it, the more surfing games the better. One day someone will nail it (I hope)

3

u/mckirkus 1d ago

Thanks for the feedback. Yeah, it needs spray coming off the lip. Just got whitewater v1 done so it's on the list. But it's just me doing it part time, so the studio and big team stuff looks more polished. But I'll get there!

3

u/Nahhhweh 1d ago

Not shitting on your efforts one bit mate, it’s great stuff. I hope you continue to share your progress on this sub, and hope even more to play it one day.

1

u/mckirkus 1d ago

No offense taken! Here's a sneak peak at the the spray which helps with the jelly look

4

u/Smooth_Idea9054 1d ago

Atari summer games!

1

u/mckirkus 1d ago

I played it back in the day!

1

u/trimbandit 1d ago

NES California games!

3

u/Kindly_Remove_891 1d ago

You did amazing, I think one of the points less explored are related with actual gamification. Just to build on what has been said about the gaming aspect:

  1. paddling and take-off should have some sort of input and depending on stepness of the wave would require a certain speed of execution.
  2. Also, I feel that bottom-turn should have some sort of input that changes depending on how deep and the type of maneouver you are setting up.
  3. tube riding should consider different aspects the line. Forward and Back positions to speed up or brake and also some kind of turbulence management the closer you get to the foam ball.
  4. randomness in the sections: I feel that these games have the wave peeling always the same way, including differences of peeling and different sections could increase the possibilities and the learning curve.

including such aspects would really increase the deepness of such games. Keep it up!!

5

u/mckirkus 1d ago

Thanks for laying out your thoughts!

  1. This already works. If you try to back off too late you will get sucked over the falls. If you take off too late you will air drop and land at the bottom. Bit of an art to it, at Teahupu I tend to take off at an angle to make the drop more survivable.
  2. This works too. You can pump down the line and you'll actually go a bit faster. Or squat before a bottom turn then stand tall during the turn for a little speed boost. It's all based on physics.
  3. Check out the barrel on wave 3, you can see on the controller that I stall a little bit right before getting in there. Also, because it's CFD, the barrels have a real shape and dynamic. You can sort of ride the foam ball.
  4. Randomness is also done. The 1st and 2nd wave are the same left at Diesels. You can see how it jacks up there where he wipes out, that's because there is variability in the reef shape. You can see in this pic how shallow it is right there.

1

u/Kindly_Remove_891 1d ago

Wow impressive!!

2

u/phrannkss 1d ago

Damn…that’s why I don’t use a kook cord with a log.

1

u/mckirkus 1d ago

At some point I'm adding injuries and yeah, it definitely bounces off of the riders a lot. Also lots of bouncing off of the reef

1

u/matth3wm 1d ago

25 years ago we got into kelly slater pro surfer on xbox. that is a game only a surfer could enjoy lol

•

u/mckirkus 29m ago

It did not sell very well, especiallly if you compare it to Tony Hawk games. I think a lot of that was the huge interesting environments in THPS. Pro Surfer was good but there is only so much you can do on a wave. My take now is that we can make the wave simulation way way better on modern hardware, to the point that the waves themselves can have as much complexity as a THPS static level.

1

u/DarkSafe6458 20h ago

current state was the ps2 kelly slater game lol. a vr surf game would be fun

1

u/mckirkus 14h ago

It has VR support. PCVR and I have a version that works standalone on the Steam Frame. Natural fit for VR because wave shapes are hard to interpret in 2D

3

u/KB13_shred 1d ago

The full speed clip 2 looks epic would love to play something like that

3

u/skipper909 1d ago

This is sick! Keep us posted if U publish on GitHub. Keen to see how U did this..I keep almost starting a little game side project but not taken the plunge yet.

2

u/skipper909 1d ago

Or steam. Either or keen to see this. Keep us posted

2

u/c_radicallis 1d ago

Looking forward to try it out some day!

2

u/WeakDayze 1d ago

This looks amazing

2

u/_Bish_Dish 1d ago

I wanna play this for sure!

2

u/Bluegill15 1d ago

Appreciate the commitment to realism, it stands out to me and something I look for in games like this above all else

2

u/Joe_Tropical 1d ago

Look’s great ! Just Those lips are a bit too thick

2

u/biosfearmag 1d ago

Been waiting years for someone to recreate Kelly Slater Pro Surfer. The game mechanics were really good.

1

u/BlackHoleSurf 1d ago

Kelly slaters pro surfer was so good. Like Tony hawk on water

1

u/Charming_South2997 1d ago

Cool. It looks like Teahupo’o

1

u/Hyperverbal777 9h ago

Very nice

0

u/thejwillbee 1d ago

This is pretty sick. The thing that the surfing games I've seen out there are missing is the focus on balance and physics. In the other games you just surf endlessly with no challenge or real trying. And you can't get eaten by the wave.

Take this as you will:

i was actually just thinking the other day about how the control mechanics would work for a true surf sim, and had thought about the fact that popping up (for instance) is something that uses all four limbs - so it should be a 4 input activity.

Arms would be the triggers, legs would be the sticks. Squeeze the triggers together to prep the arms, then release them as you push both sticks up to pushup from the arms and move the legs forward.

I see you are using the triggers to guide direction - had you thought about using the sticks (one for each leg) to guide the turns?

1

u/mckirkus 1d ago

Deep topic. Full realism is basically always on ragdoll physics with an ML model controlling the muscles in real time. But that's out of reach for any reasonable Playstaytion level hardware today. But even there you have to interpret the inputs and auto-balance. I've gone beyond what anybody else has in a surfing game but it's simplified in that I have a sort of auto-pilot that helps with balance. But you do actually shift the weight around in real time. And when you walk to the nose the weight actually moves to the nose on the longboard. Today I have one stick managing the lean and the other managing the torso twist, so you can wind up and smack the lip. My ragdoll fully kicks in after a wipeout which you can clearly see in the 2nd wave.

1

u/thejwillbee 1d ago

That's awesome. You're definitely already well beyond all other surf games. Like leaps above. No criticism at all from here, just passing along thoughts that I coincidentally had very recently about surf mechanics in a video game. Straight up nothing but praise for the LOE you have already put in and how awesome it looks thus far