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
        if(enter.isDown){
        game.paused = true; //set game paused
        }

        // Set Dialogue
        if(game.paused){
        console.log("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

Moonware

dialogue.json

Share this post


Link to post
Share on other sites
4 hours ago, Alexalten said:

Hi,

I've developed some ARPG modules, may this be useful for you?

http://www.magratheaworks.net/RPG/story_teller/index.html

 

Bye,

 

Alex

Wow that is an amazing work, and it helped me out :)
Just downloaded the infobox file and it is all clearly explained what I need and all :)

Thanks man 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.