Keyboard input change scene
Hey guys,
I know I've posted about this before, but I didn't get an answer that worked for me.
What I would like to do is what someone, in my game, presses a button, it brings up the keyboard, and when they type in their name, if it is a name my game knows, it changes to a scene that was made by the person who typed it.
Example: I type in 'Braydon_SFX'. The game then brings me to a level that I made.
Any ideas?
Thanks!
I know I've posted about this before, but I didn't get an answer that worked for me.
What I would like to do is what someone, in my game, presses a button, it brings up the keyboard, and when they type in their name, if it is a name my game knows, it changes to a scene that was made by the person who typed it.
Example: I type in 'Braydon_SFX'. The game then brings me to a level that I made.
Any ideas?
Thanks!
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Comments
2) Create a rule stating if is pressed then put the behavior to pull up the keyboard and set it to change your attribute
3) then create an rule in the same rule as your "if pressed" and say if storage contains the name Then change scene to whatever scene you want (HERE is a problem. You cannot generate a scene) So you need to figure out an alternative way to reference a pre-made scene.
___________________________________________________________________________
I'm teaching an online programing course go here to find out more!!! http://gamesalad.com/forums/topic.php?id=31505
Hey thanks, I got it to work thanks to your tip about 2 attributes.
The rest was just plain logic, but I do not think your way you mentioned above works.
Of course, i didn't try it
But thanks for your help m8!
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
___________________________________________________________________________
I'm teaching an online programing course go here to find out more!!! http://gamesalad.com/forums/topic.php?id=31505
I have another problem, though. The scene changing is working..Kinda.
You type in a name, and press done. It doesnt change scene...You HAVE to press the button and it brings up the keyboard again, but right then it does change scene, so while the keyboard is coming up, it changes scene...Weird, any idea why?
Another problem, if i type in a name, it changes scenes, but then if I go back to the scene that contained the button, it still have that name in there, so when you press it, like I said before, it will change scene.
So I would like it to, after it has changed scenes, remove any text that is in the keyboard input...
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
___________________________________________________________________________
I'm teaching an online programing course go here to find out more!!! http://gamesalad.com/forums/topic.php?id=31505
Email me at braydon@coyer.net
Thanks m8
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
I still need to find out how i can hold multiple names in one attribute.
As CodeMonsters said: Thanks
Edit: However, he never emailed me :P
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx