Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Print Scrolling Text

Author
Message
Uncle Sam
19
Years of Service
User Offline
Joined: 23rd Jul 2005
Location: West Coast, USA
Posted: 4th Aug 2006 21:48 Edited at: 5th Aug 2006 00:00
DBPro

Here is something I made for the text adventure compo.

It prints scrolling text and wraps to the next line without chopping off word. Parameters are the text ot print, the typing delay, and the length of each line.

The function:



And an example:



Enjoy.

Uncle Sam
Nvidia Geforce 7600 GS 256MB PCIEx, 2.66 GHZ Pentium 4 proccessor, 768MB RAM
Need particles? Click here!
flock
18
Years of Service
User Offline
Joined: 10th Mar 2006
Location: Earth
Posted: 4th Aug 2006 23:47
Very good function! I like it. Although, in Classic, calling the function in the example is greater than 255 characters in length.

a.k.a. "flockhound"
Uncle Sam
19
Years of Service
User Offline
Joined: 23rd Jul 2005
Location: West Coast, USA
Posted: 4th Aug 2006 23:59
Hmm...forgot to say it's a DBPro function.

Thanks.

Uncle Sam
Nvidia Geforce 7600 GS 256MB PCIEx, 2.66 GHZ Pentium 4 proccessor, 768MB RAM
Need particles? Click here!

Login to post a reply

Server time is: 2024-11-23 03:21:44
Your offset time is: 2024-11-23 03:21:44