How do I use the keyboard fmg made to save the name you type in?
Weswog
Member Posts: 1,171
I am making an app that requires a keyboard so I used fmg's and want to be able to save the name you type in and display the name on a different scene. So please help me I need this done very soon.
Cheers, Weswog
Cheers, Weswog
Comments
then when you type the 1st letter in you change attribute 1 to ... (eg: a=1 b=2)
then when you want to see the name again you have a scene
saying if actor 1=1
spawn actor=letter a...
this is probably not the simplest way to do it though. it could take you hours to set it up.
(this is just one way of solving it)
i dont really know the keyboard tutorial well enough to help u further.
If he is not and he is storing each letter individually in an attribute, then you may be able to employ giaco's idea above more elegantly by combining the keyboard idea with the concept JGary outlines here to display custom image/sprites for each letter:
http://gamesalad.com/forums/topic.php?id=2939#post-16311
If FMG is storing the letters as a single string, there is likely a game attribute he is storing it in that you can use.
If he is storing each letter individually, then combine giaco's idea above with that is in this post here:
http://gamesalad.com/forums/topic.php?id=2939#post-16311
And have the image names with the letter or letter code in them for ease of reference in the "Change Image" behavior.
@FMG Can you help me with this since you made the tutorial?
Cheers, Weswog
Thank you anyway:)
Cheers, Weswog
Anyway, as you have found out, I think FMG was concatenating the letters entered for you.
If, however, he wasn't (or you undo it), you can use Giaco's idea and combine it with the info here (from JGary) to make your displaying of custom letters easier:
http://gamesalad.com/forums/topic.php?id=2939#post-16329
This would work great for classic arcade style leaderboards (i.e. the top ten scores with the player's three initials for each slot).