Author Topic: making sprites talk a lot  (Read 9990 times)

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: making sprites talk a lot
« Reply #15 on: 2008-03-30, 10:56:03 AM »
You're not locked into anything yet.  You can do pretty much whatever you want.  You can display randomized messages if you want, but you need to figure out exactly what all the features are so you can plan the code and XML format.  Certainly the code could have a random function, and if you want, the XML file could have an indicator in it to say when to pick a random message.  But remember that if you want complicated features, you might have to write complicated code.

durnurd

  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger - durnurd@hotmail.com
    • View Profile
    • Find My Ed
Re: making sprites talk a lot
« Reply #16 on: 2008-03-30, 02:15:34 PM »
In the XML Format I laid out, I expected all conversations to start at a <conversation> node, which can contain either <text> or a <choice> (or a bunch of <text> followed by a <choice>).  You can randomly choose which conversation to enter by simply choosing a different conversation ID using the random functionality built in to SGDK2.
Edward Dassmesser