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 / Miscellaneous questions

Author
Message
Claws
19
Years of Service
User Offline
Joined: 5th Jun 2006
Location: Brazil
Posted: 1st Mar 2009 08:40
Well, i have a few questions about DBPro:

1) Can i change the output font to a TTF or FON file?
2) How can i manipulate the (font and background) colors, with more spectrum variety (hex colors or something like that)?
3) How can i create a console-ish input character? You know... remember back in the old days, where your computer showed that flashing character on-screen, waiting for you to type? How can i create that?
4) Where can i find some internet connection examples? For example: accessing the contents of a XML file on site.com/file.xml and displaying it's contents on-screen?
5) What about assigning contents from online XML files to variables?
BMacZero
19
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 1st Mar 2009 15:49
Well, this is actually the board for DarkBASIC Classic, but I think I can answer some of these questions.

1.) Not sure, you can either have the user install it as a font first, or you might be able to convert it into a bitmap font (search for it)
2.) INK changes the colors. I think you can use hex values like
INK %VALUE,%VALUE (% denotes a hex value)
otherwise you'll have to convert them to RGB.
3.) Try simply drawing a box at the end of the text, clearing it, drawing it, etc...
4.) Check out FTP commands maybe? I'm not sure about that one.

Claws
19
Years of Service
User Offline
Joined: 5th Jun 2006
Location: Brazil
Posted: 1st Mar 2009 21:00
Oops, sorry. Can mods lock this thread or move it?

Login to post a reply

Server time is: 2025-06-08 00:04:53
Your offset time is: 2025-06-08 00:04:53