text conversation between player and other objects

0 favourites
  • 3 posts
From the Asset Store
Basic Rounded Vector Geometry Player Design with Glow for 3 player games
  • how can i create a text conversation between player and other objects?

    when i press a button i want to change what is written in the text box but, i don't know how should i do.

    thanks for the help <img src="smileys/smiley17.gif" border="0" align="middle" />

  • There are so many ways to implement a dialog system.

    At the simplest level you need to:

    1) Trigger the conversation by some event, like clicking on a sprite or one object colliding with another.

    2) In response to the event, use the set text action of a text object to set the text to the desired text.

    This simple project shows a sprite saying different things when it collides with another sprite.


    If you want something more involved, my "port" of Mikey's adventure part 2 also has a little bit of dialogs. For example, here is the section dealing with Mikey's conversation with an NPC called Jill. Maybe not the best model to copy, but hey, it was a learning experience!

    <img src="https://dl.dropbox.com/u/57899112/MikeyTalksToJill.PNG" border="0">

    There are also links to several threads in kyatric's (How Do I...) Frequently Asked Questions thread. under the RPG genre section that discuss a more full fledged dialog system.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • thank you! <img src="smileys/smiley1.gif" border="0" align="middle" /> i'll try to do something. if i will need more help i'll update this post <img src="smileys/smiley17.gif" border="0" align="middle" />

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)