Game Keyboard input
ExplosiveGamer
Member Posts: 33
So at the moment I have a scene where it requests you to type in your name. I created two actors which overlap each other. One of the actor when pressed it triggers the keyboard input and changes the name. The other actor which is in front of keyboard trigger actor, displays the name typed.
It works, however is not appealing. The keyboard input brings up a text box that covers the entire screen. My question: Is there a way to make the display actor completely replace the big text box.
Comments
Do you have a screen shot? Can't you just reduce the size of the text area? Or constrain it to an axis?
Like Balls? Then click here! We've 100 coming soon
@jigglybean
I don't think i can post a ss without it being on a website and also don't think there is a way of changing the attributes of the text box that appears when i press on the keyboard trigger actor, because the text box itself is not an actor. Here are the rules i used.
*Keyboard trigger actor
Rule
if
Touch is pressed
do
keyboard input
change attribute: Game.Name
using the console, which prompts the user with: ____________ (left blank)
*Display actor
display text game.Name
The Keyboard Input behavior covers the screen. If you want a different look you have to use a custom keyboard. There are YouTube videos that explain how to make one or you can use my open-source keyboard demo. Can't post a link right now from my phone but if you remind me I'll post it later.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
http://forums.gamesalad.com/discussion/comment/451764/#Comment_451764
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User