Home Artists Posts Import Register

Content

Hey everybody, hope you're doing well!

For this monthly update, we got some fancy things going on under the hood, not so impressive outside of it tho ahah

As I mentioned on previous devlog, the first goal is to be able to set Mama at the same level of Sonia in terms of input mechanics and I'm very glad to tell you guys that is almost complete!

The reason it's taking longer than I expected, it's because I'd to pretty much scrap everything we did with Ganyu and start from scratch for Mama. For Ganyu we didn't made things modular, it was pretty much everything made specifically for her, so it's not easy or even worth investing time in trying to adapt the old scripts for this one, instead I rather just make a new one that's more robust and modular, in this way we can have a easy plug'n'play framework for future L2D models.

These are the current inputs mechanics that are implemented and fully working:

  • Press and translate
  • Press and hold, then translate (you can see on the 2nd GIF, where it reveals the big tatas
  • Swipe: I almost gave up on this one as I was implementing it in the wrong way lol but it works pretty much like a switch button, if you swipe the specific body part, something happens (see 3rd GIF)
  • Translate and Lock Position/Swap Parameter: This was a tricky one to get right, we had something similar on Ganyu, but it was pretty simple if compared with this one, it's now possible to set on each side you want to lock (works on both axis) and once it reaches the threshold based on the parameter value, it swaps the Parameter values (see 4th GIF)

I've planned another variation for the Lock Position script, where instead of checking for the parameter value, it'll be based on the Transform position of a different object, it'll be handle for setting the Dildo positions around the screen :)

Once I got all these input mechanics working, I decided to move to a different field, which is handling animations and facial expressions along with the scripts. I wanted to control everything through scripts as it feels like I can have better control over the stuff.

For the expressions I already managed to integrate with the Input scripts, which you can see in the 1st gif, which is the good ol' tap2tatas but now she changes her expression to a naughty look :)

Another topic that nobody knows as it's impossible to see, it's how the colliders are set.
This process is necessary for the program to know where you click and return which part is to call the right commands.

As I'm using LeanTouch for handling the inputs callback, so the objects that will be selected must have a collider, as I'm using Live2D model, it does comes with it's own collision system, but it only works internally with L2D script, it's useless for me, so I'd to figure out my own collision solution to connect them.

After doing some research, I found this blessed soul that wrote a script for Automatically Create Polygon Collider 2D From 2D Mesh in Unity, which calculates and set the colliders for the L2D meshes that you specify, so beautiful! The only problem was that it creates a static mesh, so whenever the parameter associated with the mesh changes or the character move around, the collider didn't updated.

So I modified the script where is possible to choose which type of collider it'll create:

  • BoxCollider2D: creates a collider with the boundaries size of the mesh
  • PolygonCollider2D: creates a collider with the shape of the mesh
  • Custom Collider: this can be set by the user, as I set for the middle of her tatas to be a small BoxCollider so it doesn't conflict with the boobies colliders

So once the Collider is created, the script checks if it should continue update the collider in real time or not and another script handles a way to follow the mesh around, so it always sticks with the model, you can see it in action on 5th and 6th GIFs :)

Next up is set the animations to be triggered with the inputs, once it's completed, the only thing that will left to get into Sonia level is a simple state machine to decide which animation to call

Well, this was a quite long log, thanks for reading, you're awesome!
much love, washa ❤️

Files

Comments

No comments found for this post.