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,685
Reaction score
1,799
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,685
Reaction score
1,799
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

I'm just so close to replacing LUK with a different stat, maybe DEX but we'll see.
Slapped together a title screen and working on some dungeon clutter + portraits for Dubhghaill and Einar. Usual CW for minor body horror wrt Einar
QVLJIgD.png

OaPcYUy.png

r55FiUJ.png

EIgO94y.png
cT1V4nb.png
>studying for months for an exam
>does exam
>waits 3 months for the results to come out
>me trying to login, incorrect password
>I get recovery password
>me trying to login, incorrect password

What the heck. As a son of a Karen, I'm going to file a few complaints.
Apparently Amazon Prime users get free Genshin Impact stuff like primogems and whatnot every month, but I'm not sure I ever want to fall into the abyss of F2P ever again.

Forum statistics

Threads
117,148
Messages
1,104,951
Members
153,221
Latest member
Kostec
Top