Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi, I have purchased your Dialogue engine for GameMaker and have been trying to get some code to work with. Is it possible to add additional function the "textbox_set_names" that has the same funtionality with "textbox_set_portrait"? Because, I would like to change the character's name to matches with the portrait of character that currently speaking.

exsample

textbox_create("This is the best dialogue engine!", "As you can see, it works perfectly.", "You can change the speed of the text from fast...")

textbox_set_portrait(cha1,cha2,cha1);

textbox_set_names(name1,name2,name1);

(2 edits)

Actually, I have already added this feature for the upcoming update. :)

I still want to test the update more before publishing it though.

If you don’t want to wait, you can do it “manually” like this:

if (!textbox_exists()) {
    textbox_create("Hi1.","Hi2.");
    // call textbox_set here and set a character name with it
    
}else if (textbox.message_current == 0) { // Textbox exists and current message is 0 (you can try different message numbers, I'm not sure which number is considered first etc.)
    // call textbox_set here and use another character name
    
}
(+1)

That was impressive! Thank you very much, 

I am looking forward for more features from you, you're doing an amazing job!