Jump to content


Recommended Posts

Hello, guys, I am trying since days to find an easy working solution for my game project.
I want to add a simple dialogue system, similar to this of Pokémon, with just a dialogue box and some text appearing in it.
Unfortunately, there is no tutorial which could explain or help me out with this, or I am not able to find one :D

I got a .json file with all the dialogues (attached) and I want to call them into my actual state.

For entering the dialogue I have already this, but the text wouldn't be displayed

    update: function(){
        game.physics.arcade.collide(monk, buildings2_noWalk1, function(){console.log('buildings2');});
        game.physics.arcade.collide(monk, buildings1_noWalk1, function(){console.log('buildings1')});
        game.physics.arcade.collide(monk, mountains_nowalking1, function(){console.log('mountains');});

        // Activate Dialogue Mode
        game.paused = true; //set game paused

        // Set Dialogue
        game.add.text(100, 100, "Test");


Could someone help me out? 

I really just want it in a simple way, no complex scripting.

Thanks a lot

Best wishes



Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...