Search the Community
Showing results for tags 'dialogue'.
-
Hello guys, i am currently building a simple 2D platformer and want to create a simple interaction between my main character and a NPC. Im trying to figure out which functions i should use for this scenario: What i want to achieve: Main character walks until it reaches the sprite of the NPC. Soundeffect plays only one time and speechbubble (i will use a simple image) appears. Speechbubble can only be confirmed by pressing Enter. While speechbubble is not confirmed character cant move. When player hits enter, speechbubble disappears and character can pass the NPC without anymore interaction.
-
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 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
- 2 replies
-
- phaser
- javascript
-
(and 4 more)
Tagged with:
-
What's up yall. I created a dialogue generator in Angular for a game I'm developing, loosely based on the methods described in this blog post. The generator itself lives here and instructions on how to use it are available at the Github repo: https://github.com/darinacosta/dialogueGenerator The generator outputs the dialogue as a JSON string. You can also import a JSON string and it will automatically populate the forms. The repo has a sample JSON string for you to use, to see how it works. You can also test the dialogue by clicking the test button at the bottom of the page. How you decide to parse the dialogue JSON is totally up to you, but the app has a parser built in for testing to give you an idea of how it might be done. This thing has saved me tons of time, and I thought other folks may find it helpful as well. Sample image:
- 5 replies
-
- dialogue builder
- free tool
-
(and 1 more)
Tagged with: