Author Topic: conversation trees  (Read 2456 times)

mccool

  • Regular
  • **
  • Posts: 48
  • That's like trying to eat a burrito with no fork!
    • View Profile
conversation trees
« on: 2006-06-26, 01:16:19 PM »
i know how to make text appear when i hit a certain button while playing my game but can i make it so i hit 'space' (space bar) for example and text pops up. then i hit space again and more text pops up, so i can make long conversations that don't have to take up the whole screen. also how do i make text with a background only appear at the bottom of the screen?all i know how to do is make text appear in the middle of the screen and i want the game to still be visible while im 'talking' to someone.

example

l   inventory display      l
l                                l
l       game running here l
l                                l
l                                l
l      text                     l
Old Skool!

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: conversation trees
« Reply #1 on: 2006-06-27, 05:23:04 AM »
If you want to draw text other than a message box, you have to use scripting to do so.  there is a DrawText function on the display object.  Check out the sticky topic about debugging scripts in the "Script" forum to see how to use it.  The debugging script puts lots of text at the bottom of the screen.  The DrawText function and all the other functions of the display object are documented in a separate HLP file that comes with the BMDXCtls source code in case you need it.