top of page

Screen Behavior: Dialogue Popup

  • jexadox
  • Sep 3, 2016
  • 1 min read

I found this to work great in a zelda-like game I'm building. It makes a dialogue popup on the lower quarter of the screen and puts text in the dialogue (up to 4 lines). And its easy to have lots of dialogue in every scene. Here's how to make it: Create a new scene behavior and snap these 2 codes into 2 "when drawing" events. You will need to create 5 new "Game Attributes" and 4 new behavior "attributes" as shown in the key:

Now, to use it. In whatever scene you want this to work on: Add behavior to scene. in the events of that scene set the "Dialogue On" game attribute to be true to show your dialogue. Here's an example:

When my actor Sara is inside a region (which i drew over the sign post) and you press the Action 1 button, the dialogue pops up with what the sign is supposed to say. I have 2 signs in that scene and they pull up different dialogues.

Comments


Featured Posts
Recent Posts
Archive
Search By Tags

© 2016 by JexAdox. Proudly created with Wix.com

bottom of page