Page 1 of 1

repeated typing function.

PostPosted: Fri Apr 20, 2007 3:20 am
by Sgt. Sparky
here is a typing function I made,
it was a time consuming function but it was not hard at all,
it covers a through z, shift works, it can repeat, backspace works, and it also covers all those from keys 1 to the = key.
and enter/return works to!(only right shift is the shift key that works.) :D
here is what you do to use it:
put this in the global code and save it as somthing,
Code: Select all
code removed,
I am inproving it with a much smaller, Better version.
 = )

then make a text actor and put this in its draw actor event,
Code: Select all
allow_type(text, 5);

to make the repeat slower or faster adjust the number to the right(the 5.)
and on on the key released(key up) of any key use this
Code: Select all
no_wait();

I think this will come in handy for an rpg game where you talk,
and maybe even when the multiplayer capability comes out. :D
I will be changing and advancing this code every once and a while. :)
its a bit buggy but it works!

PostPosted: Fri Apr 20, 2007 3:36 am
by Caaz Games
This message is for the lazy!:

the actor must have text in it first!

PostPosted: Tue Apr 24, 2007 4:35 pm
by Sgt. Sparky
oi, this function is not that good yet, but I am going to modify that soon! :D
(with arrow key movements ect. :D )