The Daily Click ::. Forums ::. Klik Coding Help ::. How do i make 'typewriter text or scrolling text effect on TGF?
 

Post Reply  Post Oekaki 
 

Posted By Message

Digital Dream software



Registered
  24/04/2003
Points
  278
6th April, 2004 at 13:53:46 -

Hi, for ages now ive been trying to make a sucessfull rpg. however i really need to know how you can create a 'typewriter or scrolling text effect' in a dialogue box!!! im using TGF. up to now ive had to use animations to change the texts at certain times or use the string movement, coming into the frames from the bottoms to enter the box!!! PLEASE SOMEBODY HELP ME!!!

PS no recommendations to buy MMF!, give me a solution to the problem using gamesfactory!!!

thankyou!

 
*DiGiTaL DrEaMs*

Shen

Possibly Insane

Registered
  14/05/2002
Points
  3497
6th April, 2004 at 14:59:14 -

You need the String Parser object, A counter, and two strings. Give one string the text you want to typewrite, and leave the other one empty.

(I just typed out this, it probably won't work)

Every 10.00: Add 1 to counter
+ Set alterable string of second string to Left$( "String Parser", Alttext$( "String" ), Value( "Counter" ) ) or words to that effect

Image Edited by the Author.

 
gone fishin'

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
6th April, 2004 at 15:57:54 -

You don't need string parser, string parser splits up a string with a character.
Instead get 2 strings and a counter, in this example string2 is the one that typewrites, string is the one where you set the text to write.

Every 00"-10
- Set String2 to Left$(string$("String"),value("Counter"))
- Add 1 to counter

 
n/a

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
6th April, 2004 at 16:05:26 -

yay me: http://www.create-games.com/article.asp?id=378

 
www.thenatflap.co.uk

Shen

Possibly Insane

Registered
  14/05/2002
Points
  3497
6th April, 2004 at 17:27:04 -

TGF has no builtin Left$() function, so you have to use String Parser to do it

 
gone fishin'

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
6th April, 2004 at 17:39:51 -

ah right, didn't read the post properly, soz.

 
www.thenatflap.co.uk

Digital Dream software



Registered
  24/04/2003
Points
  278
6th April, 2004 at 19:21:52 -

hi. thanks for all your help! however, where can i get the sting object from. i can only find string parser!!! HELP!!! hehe
thanks

 
*DiGiTaL DrEaMs*

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
6th April, 2004 at 19:34:32 -

the string object is the name for the normal text object. it comes with tgf

 
n/a
   

Post Reply



 



Advertisement

Worth A Click