Two dialogues at the same time?

I was wondering if there is a way to show two messages or dialogues at the same time in RPG Maker MV. Just like in Golden Sun:

0171-GoldenSunUE_19.png


I'm developing a game in which you can learn spanish and english at the same time, so I'd like to show both dialogues, but one in spanish and the other in english.

Is there a way to do this with a plugin? I'd really appreciate if someone could help me! 😀
https://galvs-scripts.com/2016/03/23/mv-timed-message-popups/

Mmmm actually this is not what I`m looking for. This plugin doesn`t stop gameplay and the main character follows the dialogue. I just want to be able to show two different dialogues at the same time but stopping gameplay (like for default).

Is there a way to do that?
@shinichi999 just a thought but couldn't you have a message popup using that plugin @ the sametime as a standard textbox? This would serve to stop gameplay and would have 2 message boxes.
@shinichi999 just a thought but couldn't you have a message popup using that plugin @ the sametime as a standard textbox? This would serve to stop gameplay and would have 2 message boxes.

Nope, the plugin doesn´t have that function. It only show text for a certain time and without stopping gameplay.
I think what Tri meant, was to use the plugin to show a message box, and then immediately show a default message box as well.
For example, if you use the plugin to display a Spanish message at the top of the screen, then use the default Show Message command to display an English message at the bottom of the screen, both messages should appear, and since gameplay is stopped by the default message box, the top one should remain as well.
I can't be sure, as I've not used the plugin myself, but perhaps when I get home later I'll look into it further.
I think what Tri meant, was to use the plugin to show a message box, and then immediately show a default message box as well.
For example, if you use the plugin to display a Spanish message at the top of the screen, then use the default Show Message command to display an English message at the bottom of the screen, both messages should appear, and since gameplay is stopped by the default message box, the top one should remain as well.
I can't be sure, as I've not used the plugin myself, but perhaps when I get home later I'll look into it further.

Actually I can do that, but the plugin doesn`t allow me to maintain the window. I mean... the default message stay there, but the other disappears after a few seconds and it can`t remain there forever until I press a button.
I've already started a message position plugin a while ago. I just now added pinning/unpinning messages for multiple people talking at the same time.

Add these text to a game message.

Add parameter
\[x:n y:n] to position x,y window/text in a custom postion
or use parameter
\[x:n y:n x2:n y2:n s:n] to move from x,y to x2,y2 at the speed of s

pin/unpin parameters
\[pinAs:n] The message becomes a picture with the ID of n
\[unpin:n,n,n] All these pinned message pictures will erase

(unpin is not needed if you use move picture eventing)

movingtext-o.gif


Screen%20Shot%202017-04-24%20at%208.17.18%20AM.png



Screen%20Shot%202017-04-24%20at%207.55.25%20AM.png


Screen%20Shot%202017-04-24%20at%207.55.35%20AM.png


Screen%20Shot%202017-04-24%20at%207.55.43%20AM.png


Screen%20Shot%202017-04-24%20at%207.55.53%20AM.png


Screen%20Shot%202017-04-24%20at%207.56.00%20AM.png


Screen%20Shot%202017-04-24%20at%207.56.06%20AM.png



I'm presenting this version first, but I have a feeling you will challenge me to go the extra mile once again 😀, because if I understand right, you want multiple message windows projecting their text, iterating the letters out at the same time like talking at the same time?

version 0.2
I've already started a message position plugin a while ago. I just now added pinning/unpinning messages for multiple people talking at the same time.

Add these text to a game message.

Add parameter
\[x:n y:n] to position x,y window/text in a custom postion
or use parameter
\[x:n y:n x2:n y2:n s:n] to move from x,y to x2,y2 at the speed of s

pin/unpin parameters
\[pinAs:n] The message becomes a picture with the ID of n
\[unpin:n,n,n] All these pinned message pictures will erase

(unpin is not needed if you use move picture eventing)

movingtext-o.gif


Screen%20Shot%202017-04-24%20at%208.17.18%20AM.png



Screen%20Shot%202017-04-24%20at%207.55.25%20AM.png


Screen%20Shot%202017-04-24%20at%207.55.35%20AM.png


Screen%20Shot%202017-04-24%20at%207.55.43%20AM.png


Screen%20Shot%202017-04-24%20at%207.55.53%20AM.png


Screen%20Shot%202017-04-24%20at%207.56.00%20AM.png


Screen%20Shot%202017-04-24%20at%207.56.06%20AM.png



I'm presenting this version first, but I have a feeling you will challenge me to go the extra mile once again 😀, because if I understand right, you want multiple message windows projecting their text, iterating the letters out at the same time like talking at the same time?

version 0.2

Wow looks amazing! But I'm having trouble with this. After of the first message I got the next error:

a7Sr5fa.png


This is what I did: (plugin is on of course)

lRcHPQ8.png


Am I doing something wrong? 🙁
Can you press F8 and take a screenshot of the red text?
Can you press F8 and take a screenshot of the red text?

This?

1zQ0blS.png
Window_Message doesn't always seem to sit at children[0], and I don't know how get the name of each windowLayer child so I added this...
PHP:
(function(alias){
   Scene_Map.prototype.createMessageWindow = function() {
       alias.apply(this, arguments);
       if($gameMessage !== undefined)
           $gameMessage._window = this._messageWindow;
   };
})(Scene_Map.prototype.createMessageWindow);
Which feels like a hack, but only because I don't know where this._messageWindow is accessible in the Scene_Base. Sure enough though, it should be solid.

Version 0.3 - Should work
Window_Message doesn't always seem to sit at children[0], and I don't know how get the name of each windowLayer child so I added this...
PHP:
(function(alias){
   Scene_Map.prototype.createMessageWindow = function() {
       alias.apply(this, arguments);
       if($gameMessage !== undefined)
           $gameMessage._window = this._messageWindow;
   };
})(Scene_Map.prototype.createMessageWindow);
Which feels like a hack, but only because I don't know where this._messageWindow is accessible in the Scene_Base. Sure enough though, it should be solid.

Version 0.3 - Should work

Still having the same error 🙁

lkdREML.png
I'm wondering how you have a mssage window, when there is no _windowSpriteContainer... :dizzy:
I'm wondering how you have a mssage window, when there is no _windowSpriteContainer... :dizzy:

Sorry I don`t understand 🙁
BTW, you wanted to know when the selfies plugin was approved. It's here.

I was able to delete that crashing line altogether, and lo the plugin still works for me, so maybe with the line deleted it will work for you.

Something tells me yours doesn't use GL, which is why that PIXI function was crashing it.

version 0.4 (3rd pinned window version)
I still can´t play it, dude 🙁 Now I receive this error message:

pAPcYo9.png


Sorry to bother you about this. Please tell me what else can I check in order to help you to fix this.

OFF-TOPIC: The webcamera plugin is AMAZING and very funny! I would like to discuss some things about it, I will post them in the other thread.
So you have GL afterall, so it's not that.

You seem to be missing Graphics._renderer.extract

My advice is to update your RMMV and create a new project and copy over the rpg-etc.js and the libs folder.

If this isn't the case, can you please open rpg-core.js and control+F find this function "Bitmap.snap" and post what yours says.

It should look like this.
Spoiler
PHP:
/**
 * Takes a snapshot of the game screen and returns a new bitmap object.
 *
 * @static
 * @method snap
 * @param {Stage} stage The stage object
 * @return Bitmap
 */
Bitmap.snap = function(stage) {
    var width = Graphics.width;
    var height = Graphics.height;
    var bitmap = new Bitmap(width, height);
    var context = bitmap._context;
    var renderTexture = PIXI.RenderTexture.create(width, height);
    if (stage) {
        Graphics._renderer.render(stage, renderTexture);
        stage.worldTransform.identity();
        var canvas = null;
        if (Graphics.isWebGL()) {
            canvas = Graphics._renderer.extract.canvas(renderTexture);
        } else {
            canvas = renderTexture.baseTexture._canvasRenderTarget.canvas;
        }
        context.drawImage(canvas, 0, 0);
    } else {

    }
    renderTexture.destroy({ destroyBase: true });
    bitmap._setDirty();
    return bitmap;
};

I feel like I'm stalling, because I took out my Graphics._renderer.render because it was giving you an error, but I think it's needed afterall.
So you have GL afterall, so it's not that.

You seem to be missing Graphics._renderer.extract

My advice is to update your RMMV and create a new project and copy over the rpg-etc.js and the libs folder.

If this isn't the case, can you please open rpg-core.js and control+F find this function "Bitmap.snap" and post what yours says.

It should look like this.
Spoiler
PHP:
/**
 * Takes a snapshot of the game screen and returns a new bitmap object.
 *
 * @static
 * @method snap
 * @param {Stage} stage The stage object
 * @return Bitmap
 */
Bitmap.snap = function(stage) {
    var width = Graphics.width;
    var height = Graphics.height;
    var bitmap = new Bitmap(width, height);
    var context = bitmap._context;
    var renderTexture = PIXI.RenderTexture.create(width, height);
    if (stage) {
        Graphics._renderer.render(stage, renderTexture);
        stage.worldTransform.identity();
        var canvas = null;
        if (Graphics.isWebGL()) {
            canvas = Graphics._renderer.extract.canvas(renderTexture);
        } else {
            canvas = renderTexture.baseTexture._canvasRenderTarget.canvas;
        }
        context.drawImage(canvas, 0, 0);
    } else {

    }
    renderTexture.destroy({ destroyBase: true });
    bitmap._setDirty();
    return bitmap;
};

I feel like I'm stalling, because I took out my Graphics._renderer.render because it was giving you an error, but I think it's needed afterall.

Right.... I'm using 1.3.4 version, so that´s probably the crux of the matter!

I will download last version and try. Meanwhile, here is what you asked me:

Spoiler
PHP:
/**
 * Takes a snapshot of the game screen and returns a new bitmap object.
 *
 * @static
 * @method snap
 * @param {Stage} stage The stage object
 * @return Bitmap
 */
Bitmap.snap = function(stage) {
    var width = Graphics.width;
    var height = Graphics.height;
    var bitmap = new Bitmap(width, height);
    var context = bitmap._context;
    var renderTexture = new PIXI.RenderTexture(width, height);
    if (stage) {
        renderTexture.render(stage);
        stage.worldTransform.identity();
    }
    if (Graphics.isWebGL()) {
        var gl =  renderTexture.renderer.gl;
        var webGLPixels = new Uint8Array(4 * width * height);
        gl.bindFramebuffer(gl.FRAMEBUFFER, renderTexture.textureBuffer.frameBuffer);
        gl.readPixels(0, 0, width, height, gl.RGBA, gl.UNSIGNED_BYTE, webGLPixels);
        gl.bindFramebuffer(gl.FRAMEBUFFER, null);
        var canvasData = context.getImageData(0, 0, width, height);
        canvasData.data.set(webGLPixels);
        context.putImageData(canvasData, 0, 0);
    } else {
        context.drawImage(renderTexture.textureBuffer.canvas, 0, 0);
    }
    bitmap._setDirty();
    return bitmap;
};


My dilemma is that I have problems with some plugins on the last version of RPG Maker, but I will update anyway, in order to try. Give me a few minutes!
Yep. I see version 1.3.4 didn't attach PIXI canvas extract to the renderer. I've just learned something today.

That version of Bitmap.snap seems to be manipulating the texture pixels 1by1 rather than using canvas.extract like 1.4.0 does.

Piece of advice: Backup your game before overwriting the rpg-etc.js and the libs folder, just in case if you accidentally overwrite your data or your plugins and stuff.

Original thread: https://forums.rpgmakerweb.com/threads/two-dialogues-at-the-same-time.77045/