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.

DarkBASIC Discussion / text help

Author
Message
darkpsychosis
23
Years of Service
User Offline
Joined: 12th Mar 2003
Location:
Posted: 18th Mar 2003 04:47
i've been tinkering around with text effects lately (one of them was answered, and i thank the people who told me about how to work it), and i was wondering about a few different effects;

1) is it possible to have the given text string appear letter by letter, like a loading DOS mainframe?

2) how would i have a list of text strings, one of which would be highlighted, and you could scroll up and down the list, changing the highlighted text as you moved, like an in-game menu of sorts?

thanks in advance to everyone!
we're all mad here.
minkus
23
Years of Service
User Offline
Joined: 18th Jan 2003
Location: My House
Posted: 18th Mar 2003 06:06
1) you could do:

for letter = 1 to <amt. of letters>
wait <how long it takes to add a letter>
read letters$
string$ = string$ + letter$
cls
print string$
next letter

data "<letter 1>","<letter 2>","<letter 3>","letter 4"

but you might have to switch the "<letter _>"s around because when you add it, it might add it to the back or front of the string$

The World has no meaning - but gaming does!

Login to post a reply

Server time is: 2026-06-11 19:29:39
Your offset time is: 2026-06-11 19:29:39