The Daily Click ::. Forums ::. Klik Coding Help ::. End of text
 

Post Reply  Post Oekaki 
 

Posted By Message

W3R3W00F

Drum and Bass Fueled Psycho

Registered
  08/11/2008
Points
  370

VIP MemberCardboard BoxThe Cake is a Lie
12th March, 2009 at 04:17:51 -

Alright, so I've got this text that types itself out (Like in Noitu Love 2 or My distraction) but I want to have a continue button appear when it reaches the last letter/number/sign/whatever. How is this done? Also, if I wanted to skip the typing and show just the whole sentence how would I do that?

Edit: Btw, How would I set the text to the first letter also?

Edited by W3R3W00F

 
n/a

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
12th March, 2009 at 11:52:49 -

Have it set that if the raw string (what the displayed text is copying from) is equal to the display text then display a continue button. Don't know how flexible that system is though but it works on my project.

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49567

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
12th March, 2009 at 13:09:11 -

I have a system that allows all the text to be imputed at once and then I have a fast loop to split it up into groups with auto word wrapping, and stuff, which only works with the text blitter object because if the equal size of all the characters. I'll post an example file later.

 
n/a

]Alpha[



Registered
  19/09/2003
Points
  245
12th March, 2009 at 14:38:10 -

I found a tutorial about it...
http://www.create-games.com/download.asp?id=7471

It works good, but I personalized it a little and I put in a couple of features like the one you're looking for (display the whole text when pressing a key)
Try to download the example and figure it out how to do it.
If you can't find the way, I can write to you the code lines.

 
All that I see is the years...

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
12th March, 2009 at 14:53:44 -

I usually save one character to determine the end of line, like an asterisk *. Then once it gets to the asterisk, it sets the string to the same string minus 1 (the asterisk) and pauses until the player does something like press enter. Of course my way means you can't use an asterisk anywhere else and not have it think it's the end of the paragraph or whatever, so use something you know you'll never write in the text speech like this thing here ^.

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

W3R3W00F

Drum and Bass Fueled Psycho

Registered
  08/11/2008
Points
  370

VIP MemberCardboard BoxThe Cake is a Lie
12th March, 2009 at 18:14:37 -

Okay, I took James' advice and it was exactly what I needed! Thanks for the help, everyone!

Edit: (Forgot to put the ' after James)

Edited by W3R3W00F

 
n/a

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
12th March, 2009 at 19:05:26 -

Awesome
(word word)

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com
   

Post Reply



 



Advertisement

Worth A Click