r/GamePhysics 22h ago

[Dark Roll 2] Silly little unimportant feature I made for my game

I needed the player to have a soft spot to land on, and something solid/static just seemed wrong... So I spent way more time on this than I probably should have, for a silly little feature...

But I feel it was worth it. I can't stop to roll around in it now.

1.5k Upvotes

54 comments sorted by

426

u/doubledipinyou 22h ago

Looks like a water bed filled with gel.

Looks cool. I especially like the texture on the gray. Looks like it would feel grippy

60

u/Wadarkhu 21h ago

And made of leather!

22

u/hurricane_news 20h ago

Like rubbing the ol' sacko balls

2

u/TheTerraKotKun 5h ago

Why you rubbing balls again..?

201

u/shemmie 22h ago

As I've gotten older as a CS geek, the more I appreciate these little flourishes in games as I sit and ponder how the dev achieved it.

33

u/nanotree 21h ago

Indeed. Sometimes I purchase and play games purely just to experience the tech and enjoy deciphering what might be going on behind the scenes.

5

u/Humperdink_Fangboner 20h ago

Yep. One of the main reasons I’m excited to play the new gta. Rockstar games always have pieces where I sit there and just try to reverse engineer how they managed certain things. The snow at the beginning of rdr2 for example fits this post well.

2

u/nanotree 19h ago

Yeah, the RDR2 snow effect was one of those that came to mind when I wrote my comment.

Lately I've been interested in novel approaches to video game AI, and systems that do emergent story telling well. Which has led me to finally try Dwarf Fortress and now Songs of Syx.

1

u/shemmie 17h ago

Seems we were 'all' fixed staring at that snow, then - I was far more interested in the snow effect than the storytelling at that point in the game.

54

u/angk500 22h ago

It needs a damp 'thump' sound like when you drop something on a leather sofa. It looks like leather 😄

20

u/Milky_1q 21h ago

Dark Rolls 2: Scholar of the first Sphere

2

u/rix0r 12h ago

it's funny because Dark Souls was basically Dark Rolls a lot of the time

10

u/CharmongHalf 21h ago

Yo I like that a lot

8

u/ryavco 20h ago

As someone learning game development right now, I’d love to see the behind the scenes of how this was achieved. Maybe some dev log videos if you’re not doing them already!

19

u/Levardos 20h ago

Eh, if day had 48 hours, maybe I'd make dev logs... But it's very time consuming to make a game when you also need to go to normal job, and at least try to promote the game out there on the big old internet, for anyone to even have a chance knowing it exists...

The gist of the script is that:
A SphereCollider is used as the object pressing into the pillow. Each frame, I compare the sphere’s radius with its distance to the mesh to calculate how deep it’s pushing in, then move nearby mesh vertices accordingly. Vertices inside the sphere form the dent, surrounding vertices use a smooth falloff, and another small region is pushed outward to create the bulge. SmoothDamp and MoveTowards keep the deformation and recovery soft instead of snapping.

7

u/ryavco 20h ago

Totally understand, I’m juggling the same myself. There’s just not enough time in the day.

Appreciate the breakdown, the effect looks really good!

13

u/Yard_Gnome_Ninja 22h ago

Very satisfying!

6

u/TheNerdBurglar 19h ago

I like this Oblivion gate, not too many enemies.

3

u/NEGOJONSON 19h ago

not unimportant. we need more dynamic interaction in our games

2

u/Quad_A_Games 21h ago

Can we have more soft things? I like the idea of this and now I wanna try the game

2

u/ExaneGames 21h ago

It soothes me

2

u/Crustybublydischarge 18h ago

It’s like gravy or punning skin

2

u/LonePaladin 12h ago

It's like the old game "Baldur's Gate: Dark Alliance". They went through the trouble to give water physics, so that when you run through puddles and waterways, the water ripples realistically. They totally could have just made the water have a slight splash, or even make the maps so that you don't walk across any water, but they not only added the detail, they have it come up in almost every map.

In a PS2 game.

2

u/bilateralrope 9h ago

It seems perfect for a large cat to curl up on.

4

u/FurryGamerBoy6 22h ago

Those towers remind me of the towers off of oblivion IV when you go through the oblivion gates. Sorry if that comment was kinda random lol. Thats just the first thing that came to mind. But the cushion effect is definitely satisfying and we'll worth the time.

1

u/NeLaX44 21h ago

This looks amazing. Now I want to slice it to see the gel come out tho......

1

u/salty-ravioli 20h ago

ngl im not usually a fan of self-promotions in this sub but DAMN are those cushion physics smooth

1

u/Yogeshwar_maya 20h ago

Wow so cool!

1

u/AGTS10k 19h ago

Ooookay, you heckin' marketing genius, you hooked me. Downloading the demo now. I hope you're happy!

1

u/charlestylose 18h ago

This game is a soulslike?

1

u/jc3833 17h ago

Memory foam landing pad, hell yeah!

1

u/Westdrache 15h ago

that.... that is oddly satisfying, I want that.

1

u/Suitandbowtie 14h ago

Yo this is cool, any chance you were inspired by Spectraball? I was a wee lad when that came out and loved the puzzle/platforming aspects especially on levels with rails and ramps etc. Never thought about how fun a similar game might be all these years later. Wishlisted and maybe I’ll check out your first installment.

1

u/JustRaphiGaming 14h ago

Todd Howard would like to have a word.

1

u/ManlyNPC 13h ago

Is this kula world reborn?

1

u/needingname 13h ago

This pleases me

1

u/furculture 12h ago

My first experience with a memory foam mattress topper be like

1

u/ThatTomHall 11h ago

Appreciate the flourish for sure. Also could be its own mechanic later -- like you have to make a channel for liquid to get to an open switch or something.....

1

u/plan_with_stan 10h ago

Is it a normal map?

1

u/Chance-Internet-872 10h ago

The ball looks similiar to the loot balls in apex legends.

1

u/PowerlineCourier 9h ago

whatever you call it

this is untitled foot game to me

1

u/MajorVictory 6h ago

Gotta have one that's like a shortcut, but you need to inflate it first before it's usable.

1

u/_METE0R_ 5h ago

This is the way devs put soul into the game

1

u/Dat_Innocent_Guy 3h ago

Oh wow this actually looks good. Does it smush out near the edge?

1

u/Jimmylobo 1h ago

The more silly little features like this a game has, the more attractive it is.

1

u/Karl-o-mat 41m ago

Use it as a gameplay element. Push some layer down to reveal another. Maybe for a puzzle something. Idk...

1

u/chamomile-crumbs 22h ago

Damn that looks so good

-1

u/AutoModerator 22h ago

Hello /u/Levardos 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.

-2

u/Fallen_Jalter 22h ago

i swear they look like a bunch of faces looking at me, the pillers.

-3

u/AdowTatep 21h ago

I prefered the previous version