The Daily Click ::. Forums ::. Klik Coding Help ::. Typewriter sound
 

Post Reply  Post Oekaki 
 

Posted By Message

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
4th May, 2005 at 20:48:32 -

Hi im currently experimenting with a virtual pet project... ive just figured out how to create the basic typewriter effect with strings but is there any way i can make the click noise take place as the letters appear then have the noise stop at the end of the string/ where the typing stops? thanks

 
n/a

Zi-Xiao



Registered
  29/07/2002
Points
  537

VIP Member
4th May, 2005 at 21:09:04 -

Put this code in the same line you make the letter appear:

Play sample type.wav

just find an appropriate sound for it...

 
n/a

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
5th May, 2005 at 06:26:12 -

yea clever and how do i make the sound stop? becasue the line where the letter appears uses the 'every 0.10 seconds'

 
n/a

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
5th May, 2005 at 06:39:17 -

You'll have to add a condition to the event that checks to see whether there are any characters left in the string to display - I'm not sure exactly how you're doing this, so I can't help further, but have a look at the help for "Left$".

 
http://www.davidn.co.nr - Games, music, living in America

Destroyer (CrobaSoft)



Registered
  10/10/2004
Points
  1106
5th May, 2005 at 07:19:08 -

You can use compare two general values. Then if the Length of the display string is greater or eqaul the length of the source string you stop the sound.

 
Visit www.crobasoft.com or you're a Noob.
   

Post Reply



 



Advertisement

Worth A Click