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 / [DBP] text array scroller with key tamers

Author
Message
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 2nd Jun 2007 17:57
scrolls text in an array, all variables like visible etc tied together neatly.
globals was in case i slipped into functions etc..
traps to one key press per up down arrow keys.
created for someone who never replied back
useful here maybe.




zenassem
21
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 2nd Jun 2007 19:39 Edited at: 2nd Jun 2007 19:40
@indi, Perfect timing.

This code snippet will really be useful for anyone thinking of entering the 2007 text game competition. As well as Ianm's & TDK's (especially the Microsoft BASIC-like MidStr(string, start, end) function) string functions. You all have some pretty cool solutions.

I was working on my own, but I was far off from what you have done here. It was a good learning experience for me to attempt, but I could tweak it for weeks and it still wouldn't be as neat. So thanks, it really helps!

Is there anything you don't have a solution for?

Mason
20
Years of Service
User Offline
Joined: 20th Mar 2004
Location: Arizona
Posted: 2nd Jun 2007 21:57
Works really good, and useful too Now if you could code word wrap making it as simple as this


Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 3rd Jun 2007 01:03
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 3rd Jun 2007 03:26
cheers guys, nice snippet as well Zotoaster

Login to post a reply

Server time is: 2024-11-22 18:57:11
Your offset time is: 2024-11-22 18:57:11