-
[F8]URGENT!!!! HANGMAN GAME - how to gain white space
I've created a Hangman Game which loads words from XML File. When a word is loaded, my function loops through loaded word (character by character) and than put a dash for each character.
The problem is next:
In some words in XML File i have white spaces (which are necessary because the words are from German language and there must be a white space to divide the article and the word itself).
How to achieve that my function, when white space between the article and the word is recognized, also put a white space (blank) instead of a dash?
Right now the white space from XML File is also recognized as a character which should be guessed!
I've put the whole code in attachment file!
Last edited by avukovi4; 07-23-2008 at 06:39 AM.
-
President
I didn't read all the code but why not making it that when " " is recognized, then " " would also be added?
This is MC. His _parents sent him to stop() by the super market to buy some _root beer if he wanted to gotoAndPlay() with his friends at the park later.
This is my Blog!... The gaming Process
Please check out my site: Giddel Creations
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|