Doechano

Murderous Gentleman
Member
Joined
Sep 22, 2019
Messages
12
Reaction score
3
First Language
English
Primarily Uses
RMMV
Hello,

I have been working on a project that uses pictures of mouth shapes that synch to a string of text which has been converted to the IPA (international phonetic alphabet). I need a way to evaluate the IPA translation Show Text while it is invisible, and a Show Text with the actual sentence in English visible at the exact same time.

For example:

Show Text I want shown:
"The quick brown fox jumps over the lazy dog."

The same Show Text above converted to the IPA that I want invisible but still evaluated at the exact same time:
"ðə kwɪk braʊn fɒks ʤʌmps əʊvə ðə leɪzi dɒg."

I have the rest of the IPA system figured out with another plugin, all that is left is this aspect of it. This issue is completely separate from the IPA plugin since its function is to save the current letter being drawn on screen from a Show Text. I have no clue where to start with this problem, I've scoured the forums for quiet a while but have had no luck, so I would greatly appreciate any help with this.
 
Last edited:

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,673
Reaction score
1,796
First Language
Dutch
Primarily Uses
RMMV
you can get it [here] what you look for where the plugin can be downloaded.
I would suggest to go to page 1 and read a bit through how it works.

it might not work 100% what you want, but you might be able to fix it
or let it fix where needed, so test it first before adding it to your project
so it run smoothly as you want too.

backup your project before adding for safety as well.
 

Doechano

Murderous Gentleman
Member
Joined
Sep 22, 2019
Messages
12
Reaction score
3
First Language
English
Primarily Uses
RMMV
you can get it [here] what you look for where the plugin can be downloaded.
I would suggest to go to page 1 and read a bit through how it works.

it might not work 100% what you want, but you might be able to fix it
or let it fix where needed, so test it first before adding it to your project
so it run smoothly as you want too.

backup your project before adding for safety as well.
I added that plugin to my project's plugin manager and I now have an understanding of how it works. It is displaying two different textbox at once, one at the top using \[top] and one at the bottom using \[bottom]. Now I have a different problem. The IPA plugin is using the current letter from both of textbox instead of just one. Another user helped me out with the letter search for the IPA and kindly wrote this plugin:

JavaScript:
/*:
 * @plugindesc More Info on MainMenu
 * @author Nobody
 *
 * @help Return Char per Char on Message in realtime!
 *
 * Define which letter you want to start the function with,
 * call the Script event command:
 *   charCheck = "C"
 * Replace the String "C" with the letter you intend to use.
 * The system is case sensitive.
 *
 * To check how many characters it found:
 *   charFound.length
 *
 * Turn OFF searchChars function and clear:
 * resetChars();
 *
 */

var charFound=[];
var charCheck;

function searchChars(currentChar){
    if(currentChar == charCheck){
        charFound.push(currentChar);
        /*Inser your script here:*/
      
        /*---------- End --------*/
    }
}

function resetChars(){
    charFound=[];
    charCheck = undefined;
}

(function() {
    Window_Base.prototype.processNormalCharacter = function(textState) {
        searchChars(textState.text[textState.index]);
        var c = textState.text[textState.index++];
        var w = this.textWidth(c);
        this.contents.drawText(c, textState.x, textState.y, w * 2, textState.height);
        textState.x += w;
    }
})();

Do you think there's any simple way for this plugin to only use the letters from the bottom textbox from the simultaneous message plugin instead of both of them?
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,673
Reaction score
1,796
First Language
Dutch
Primarily Uses
RMMV
maybe, but it need to be modified in the other one.
while I cannot help you, you can try to use the textstate code
after the \[top] before using the textbox, otherwise, see if someone
can modify it for you.

maybe the one that wrote that plugin for a tiny addon/changing how
text are readed to fix your problem.

I believe if you can change font, it should work in different ways,
otherwise I dont know if it is simple or complex.

but you need to play around, if you have YEP_LoadFont and the otherone,
it might work, but I cannot garanteed if it does work.

if it doesn't, maybe someone can fix it for you :)
 

Latest Threads

Latest Posts

Latest Profile Posts

Sizzle sizzle sizzle...
zbf1dCZ.gif
Sharing my past was a mistake. Will delete the post when I get access to a working internet connection again.
TFW you get a plugin working correctly with your other plugins ♡\( ̄▽ ̄)/♡

(CW for minor gore - Einar's Y incision is gone for his test portrait)

Cs5kAbZ.png
Doing some winter related edits for a cozy cottage!
I think it's the third time I am changing my skill info plugin, but as I get better at programming, I want to fix the trash I made earlier :p

Streaming while I am programming the plugin. Join in if you wish :)

Forum statistics

Threads
116,981
Messages
1,103,496
Members
152,845
Latest member
Zynarith2
Top