A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [AS2]RPG dialogue help

  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    1

    [AS2]RPG dialogue help

    I want to make a dialogue box that presents text like an RPG game but I can't figure out how to make it work. Any help?

    this is the best i could get and it won't even work
    (my text box's variable is "speach" without the quotes)
    Actionscript Code:
    speach.length = 0
    speach= "This is the first dialogue".
    onEnterFrame = function(){
    speach.length++;
    }

    I don't understand why that won't work. Any help?

  2. #2
    When you know are. Son of Bryce's Avatar
    Join Date
    Aug 2002
    Location
    Los Angeles
    Posts
    838
    Try searching the Games forum for stuff like "rpg", "dialogue", "speech", "text box", etc. I've found some good code bits for doing typing stuff like that. Lots of people have tried to make RPGs so you should be able to find something.

    Good luck!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center