Posted October 03, 2023 by washa games
#mama paldea #wip #2D #art game #female protagonist #live2D
Well, this project has been going for a while actually but I totally forgot to post the announcement here, I'm sorry, I'll keep it up for now on!
This project once again features the amazing artwork from Aster_C, which is based on this scene (there are more variants on this link)
The concept for this project is set Mama into a live show where you can interact with her through the chat and if you're nice enough with her, maybe you can meet her, and do things that couples like to do! (like take a nice cup of coffee together, this won't be featured on the game tho)
This project is currently been developed using Unity and Live2D
Current inputs mechanics that are implemented and fully working:
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:
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
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 ❤️