XaiJu
blobygon
blobygon

patreon


WIP - Juicing

Hey all! I wanted to release a new dev build before the end of this month, but looks like it's gonna take another week or so for that to happen. In the meantime, let me share the progress I've made and an unforeseen challenge that made this a lot trickier than I thought.

I made some great progress on blueberry growth and the juicing machine. You can control how far the juicer squishes and even rotate or raise it to squish the character in different ways. But then I realized there was a problem. The blueberry growth worked fine when the character is stuck in one place, but when rolling around in the wider world, a big issue cropped up.

To preface, the softbody physics system does not support growing or shrinking a softbody. To get around this, I've been using a really sneaky hack. Instead of scaling the softbody, I scale the entire physics simulation, which is represented by an invisible object called the solver. The softbody lives inside the solver, which allows the solver to "solve" all the physics calculations needed to run the softbody. This mostly works, but it starts to break down if the softbody moves away from the solver.

You can see the issue here. If the softbody is far away from the solver, scaling the solver also pushes and pulls the softbody relative to their distance from each other. The farther away from the solver, the more the softbody gets pushed and pulled. To fix this, I detect if the softbody has moved away from the solver. Then I decouple the softbody from the solver, reposition the solver to the softbody's center, then recouple them. This results in a small twitch with the softbody (which you may have noticed from time to time) but it's typically hard to see because it happens so quick.

This has worked fine so far because the character only ever grows in short spurts when swallowing food or gulping from the tube. If the character is growing constantly while rolling around the map, (like with blueberry growth) the decoupling/recoupling has to happen almost constantly, which causes a lot of twitching.

But what if I moved the solver while it's being scaled to compensate for this push and pull effect? It took a while to get the math right, but in the end, it worked. Now I can scale the character fluidly regardless of distance from the solver, because the solver moves to compensate for any offset.

This is working great, but now I have to rework a lot of old code to use this improved scaling method. I still have a few more features to implement as well, including a slider for growth speed, options to enable/disable popping and custom colors for the juice and blueberry skin. Thanks for your patience while I figure these things out and I'll see you again soon!

Comments

I also think it would be cool if you added different sets of facial expressions, or even just one alternate set that's more pleased overall. It would make for more flexible scenarios, such as if I want my character to be outwardly enjoying the eating/gaining/inflation.

Zeedee

I have a super small request: would it be possible for the eating sounds to be made separate from the vocals? I love the eating sounds, but don't always love the other vocals, and I would love to be able to have my cake and eat it too.

Zeedee

Yeah it's on my to do list

blobygon

Can you please add some destroyable furniture

Froher-Gast _Off

I'll be ramping up some creaking/straining sound effects and once the character is on the verge of popping, their body will start vibrating. The display in the juicing room will also warn that thay are at max capacity

blobygon

These juicing animations look sooo good. Personally I'd love the option to keep them in the flattened/pancaked shape

toastah .

Probably a very silly question to ask, but what/is the visual indicator of someone starting to get "too full"

Saradominphat

Could there be an option to make the character burp and/or fart as a result of the squeezing?

Captain Swag

With the addition of popping, will you be adding like, her getting nervous as she gets really full? I love her little emotes for other stuff, so I’m just curious lol

Nemo

this project is absolutely amazing and only getting better, do you have any plans to add air and water inflations to the game perhaps?

Dinghis_Khan

There's still some weird problems I need to figure out to make her bigger than the current max size, but I think it's possible

blobygon

i would love a new weight class after blob or could you make it so that she just doesnt stop growing and encompasses everything

Masktwo


More Creators