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 / some text printing help

Author
Message
Sithlord
20
Years of Service
User Offline
Joined: 14th Dec 2004
Location:
Posted: 14th Dec 2004 11:20
I was thinking about making a text based RPG but I was wondering if there were some commands to print text on letter at a time any help would be appreciated.
dab
20
Years of Service
User Offline
Joined: 22nd Sep 2004
Location: Your Temp Folder!
Posted: 15th Dec 2004 09:18
What exactly do you mean? Could you clear things up??
BaZko
20
Years of Service
User Offline
Joined: 24th Sep 2004
Location:
Posted: 15th Dec 2004 11:28
Do you mean like:
Sithlord
20
Years of Service
User Offline
Joined: 14th Dec 2004
Location:
Posted: 15th Dec 2004 12:09
yes but without having to do it one letter at a time but with larger portions of text you know what I mean long story based paragraphs like this post for example.
ToXic
22
Years of Service
User Offline
Joined: 8th Sep 2002
Location: Australia
Posted: 16th Dec 2004 13:14
Have a look at the text command.

ToXic.
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 16th Dec 2004 17:05 Edited at: 16th Dec 2004 17:07
you would have to do it like this:



ps. I dont have db on this computer, but I guess it should work

[edit]there, i removed a useless variable, thats all[/edit]

Sithlord
20
Years of Service
User Offline
Joined: 14th Dec 2004
Location:
Posted: 17th Dec 2004 06:21
oh well thank you all I appreciate all the advice and code you have thrown my way.
Sithlord
20
Years of Service
User Offline
Joined: 14th Dec 2004
Location:
Posted: 17th Dec 2004 13:46
well the code you have lukas w was close but it is twitchy doesn't quite work with dbc but it may work with dbpro but I don't have dbpro so hhhhmmmmm anyway I will try to work on it but it doesn't look promising
Sithlord
20
Years of Service
User Offline
Joined: 14th Dec 2004
Location:
Posted: 17th Dec 2004 14:34
well I used what Lukas w gave me for some ideas and came up with this but now the problem is that everytime it prints the next letter it goes to the next line run it and see what you get
Sithlord
20
Years of Service
User Offline
Joined: 14th Dec 2004
Location:
Posted: 18th Dec 2004 12:44
oops I did I forget to post the code
Sithlord
20
Years of Service
User Offline
Joined: 14th Dec 2004
Location:
Posted: 20th Dec 2004 09:41
oh well I don't know what to say I have put the code in like three times and it won't post
Sithlord
20
Years of Service
User Offline
Joined: 14th Dec 2004
Location:
Posted: 29th Dec 2004 01:40
well my darkbasic trial version has expired so I will have to wait to post the code I have so far but it shouldn't be to long I will go buy it soon

Login to post a reply

Server time is: 2025-05-24 08:07:56
Your offset time is: 2025-05-24 08:07:56