Doechano

Murderous Gentleman
Member
Joined
Sep 22, 2019
Messages
20
Reaction score
4
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,687
Reaction score
1,801
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
20
Reaction score
4
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,687
Reaction score
1,801
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 Profile Posts

My new 49" monitor has been dispatched from the warehouse. Will it arrive tomorrow? The day after? I love that we can track packages now, even if it does only tell me when it's left that end and when it's arrived at the local centre. As long as it doesn't end up in Melbourne again, which has happened before ...
My friend's doing a surprise stream of my game Origin Hunt on Twitch here ! Feel free to stop by :yhappy:
Me, designing it a long time ago: Having an optional boss fight as a random chance to trigger when you fish in a certain spot with a certain type of bait is fun! Cool idea!
Me, trying to playtest everything again: oh god just let me see the boss, my bag is so full of fish!
both love and pain have no boundaries

Forum statistics

Threads
117,229
Messages
1,105,689
Members
153,386
Latest member
fredflol
Top