Page 1 of 1

Amazing new typewrite script --

PostPosted: Sat Jun 06, 2015 7:01 am
by Hblade
Hello everyone! Me again. So I made a text script that allows color changing in mid string, waving text, and even Icon Drawings!

UPDATE 1:
Added Bold, Italic, or Both to the script.
Code: Select all
[b] [/b]: Bold
[i] [/i]: Italic
[bi] [/bi]: Both


sc_2.png



sc_1.png


HOW TO USE:

Merge the .ged file included in the zip with your game, make sure first that there are no duplicate variables.

Check View's draw actor before merging -- has the part that handles the text for the demo.

Code: Select all
type("You can have up to 5 [n]different icons on the screen.", 14, 24);


14=Letter Spacing X
24 = Letter Spacing Y

You can also use the instant text method:
Code: Select all
type_instant("[w]So [c1]Enjoy [c2]The [c3]Script[c0]![/w] ", 14, 24);


FUNCTIONS:

[c1] through [c7]: Change colors based on settings (Open global code and look in "write" section to change settings)
[c0]: Default Color

[i1] - [i5]: Draw icon based on settings.

[n] - Make a new line of text. (Like \n).

[w] - Wavey Text
[/w] - Ends wavey text

[s0] - [s2]: Slow mode, normal mode, default_mode

typewrite.zip
(696.03 KiB) Downloaded 137 times


BUGS:
placing 2 types of codes next to each other will result in second one probably working, but showing up in the text.
Ending the string with a finishing part of a code will result in the final letter being displayed as the default text unless changed.

Re: Amazing new typewrite script --

PostPosted: Sat Jun 06, 2015 12:01 pm
by koala
WOW, this is great! Thank you very much! :D

Re: Amazing new typewrite script --

PostPosted: Sat Jun 06, 2015 4:15 pm
by Hblade
thanks =D And you're welcome hehe O:

Re: Amazing new typewrite script --

PostPosted: Sun Jun 07, 2015 1:17 am
by Zivouhr
I'll take a look, thanks for offering the clever Text code HBlade! 8)
What other new projects are you working on, video game related?

Re: Amazing new typewrite script --

PostPosted: Sun Jun 07, 2015 1:38 am
by Hblade
1: Orbito (Awesome game)

2: Possibly a game called Bean Warriors, idea is ... well we'll get there later :D

Re: Amazing new typewrite script --

PostPosted: Thu Jun 11, 2015 1:02 am
by Zivouhr
Hblade wrote:1: Orbito (Awesome game)

2: Possibly a game called Bean Warriors, idea is ... well we'll get there later :D


Cool, have fun creating them! Where can we play them if they're ready? Or see progress?

Re: Amazing new typewrite script --

PostPosted: Thu Jun 11, 2015 1:14 pm
by Hblade
I'll likely post progress here on game-editor forums :)

Re: Amazing new typewrite script --

PostPosted: Thu Jun 11, 2015 10:32 pm
by Zivouhr
Sounds good, thanks H_Blade. 8)