Oh by the way Rhys I was wondering whether you could tell me (or point me in the direction of a tutorial that could do the same) how you did the speech boxes for the Tutorial Guy. I thought it was a great feature and was hoping to use something similar to it for my game; unfortunately I have no clue about how to begin coding it.. tongue.gif
I know how protective some people are over their coding but any help would be great.
For the type-writing effect? You need the variable that has the whole message, and a variable that has the index of the message that the box is up to.. So for instance:
message="How are you?"
Means the box will display "How ". Then just increase the msgat variable to make it 'type'. There are a few cool tricks like checking if the character at the msgat index is a SPACE or say the end of a sentence (.,?,!) and then making the pause between adding to msgat longer, and so on.
Really awesome game! Is his made in such a short time?
Yes, just under 30 days. My brother and I didn't really think about entering until then.
Edited by RhysAndrews, 25 April 2008 - 03:59 AM.