Hi all. I know how to write text on ge with the keyboard by selecting yes on input, but how do you make buttons to write.
Thanks
strcat(text_actor.text, "a");
You would need to make a virtual keyboard, that way you can map clicks to keystrokes. And since you can't use the input box you'll need to manipulate the string yourself. Here's a simple example. Create a text actor with some default text. Then have another actor with the following mouse down event.
- Code: Select all
strcat(text_actor.text, "a");
Now when the button actor is pressed, the text actor's text should insert an a.
skydereign wrote:strcat(text_actor.text, "a");
knucklecrunchgames wrote:skydereign wrote:strcat(text_actor.text, "a");
YOU... YOU...USED AN EMOTION!
But why the long face
MrJolteon wrote:knucklecrunchgames wrote:skydereign wrote:strcat(text_actor.text, "a");
YOU... YOU...USED AN EMOTION!
But why the long face
No he didn't.
knucklecrunchgames wrote:skydereign wrote:strcat(text_actor.text, "a");
YOU... YOU...USED AN EMOTION!
But why the long face
jonathang wrote:knucklecrunchgames wrote:skydereign wrote:strcat(text_actor.text, "a");
YOU... YOU...USED AN EMOTION!
But why the long face
That is part of the code, so of course he didn't! If that was an emote, he would have used tons of emotes in his posts.
Users browsing this forum: No registered users and 1 guest