sixlegendsgame

Six Legends - indie 3D Visual Novel

Six Legends is an amateur video game in the works about 6 young dragons living their lives.
🎮http://vincentpaquin.itch.io/sixlegends
📇http://sixlegendsgame.carrd.co


You must log in to comment.

in reply to @sixlegendsgame's post:

I can only deeply apologize for the lack of answer. I'll admit, I'm not used at all to Cohost and just found the notifications screen.

Hopefully, you're still curious!

Basically, imagine a PSD file. Layers of images.
These layers have a specific naming convention : "Eyes_Happy" "Eyes_Sad" "Eyes_Crying" "Mouth_Talking" "Mouth_Closed"...

With a homemade tool in the Unity Editor, they are imported separately, using the naming convention to know which category each layer belongs to.

All of these informations are stored in a single file (in Unity, called a ScriptableObject), which is then re-used to "show/hide" the layers, as seen above.

Now, for each line of dialog, I use the editor shown above, and then it gets stored in the dialog's file as a JSON :
{ "Layer":"Eyes", "Value":"Happy"},
{ "Layer":"Mouth", "Value":"Talking"}

Finally, when the game executes the dialog, it reads the JSON, it takes the right images "Eyes/Happy" + "Mouth/Talking" and slaps them on top of each other like a PSD would.