Well I not exactly an expert with fonts - and can you have fonts with 2 different colours on? :S
Also one thing I tried was..
I made 10 counters with the letters in as animations (1=A and 2=B .etc).
Then set global value as one.
+Player presses A
+Global Value = 1
-Set counter to 1
-Set global value to 2
+Player presses A
+Global Value = 2
-Set counter2 to 1
-Set global value to 3
So the global value represented which counter the user was changing.. However when I press A the global value goes straight to 3 (because you keep hold of A) and also it will take ages to do all that code for each letter
Also, is it possible to do it in MMF? If so please tell me - although I would rather do it in TGF (as I dont have MMF yet)
You insert the letters like yours into it's grid. Specify a gridsize(8x12, etc) then it cuts em up and displays them when you pass it a string. Simple. (or atleast simpler )
Well ... its not a very easy task ... but Im sure it can be done even in TGF ... my best solution right now is:
1. Every letter, number, etc is an independant active object.
2. For every "letter" you can enter make a text object and instruct people to enter one "letter" in each of the text objects.
3. When create button is pressed test every text object for what is typed (one event for each legal "letter") (this have to be done for every text object so it is tedious) and create the appropriate "letter" object.
However if you could do more with the text object there must be a better solution ... investigating ...
If you knew, I would have to kill you...
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
24th May, 2004 at 02:39:18 -
Text Blitter would be the easiest solution but since you don't have MMF I would suggest making all of those letters differant objects and then parsing a string with a string pasing extension. So the code would be something like this:
Editbox.text has changed - Parsestring in edit box
While parsing string and found letter "A" then create letter A at (marker.x\y)
You will need to have an object or counters, that moves forward to the next letter position everytime a letter is pressed. As for the string parsing you will need to set each letter to a token.