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 / Dark Basic Resolution

Author
Message
Merrie
19
Years of Service
User Offline
Joined: 18th Jan 2006
Location: PA
Posted: 7th May 2009 18:51
I have been away quite some time and have come back to see the events in the community. I downloaded DB Lite from my history to play with it a bit and would like to ask. How can I change the resolution of it, its huge on my system and is blurry because of it.

Im referring to the resolution of DB Lite, the actual program not code for a program.

Thank you!

--------------------------------------------
Dark Basic Pro | Windows XP |
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 7th May 2009 18:57 Edited at: 7th May 2009 19:08
dbc automaticly changes the resolution to 640x480x32 to change it use

Set Display Mode Width,Height,Depth


Quote: "Im referring to the resolution of DB Lite, the actual program not code for a program."



ummm i'm confused


edit

i think it actually chnges it to 640x480x16 not 32. that messed me up when i was messing with memblock bitmaps

New Site! Check it out \/
Merrie
19
Years of Service
User Offline
Joined: 18th Jan 2006
Location: PA
Posted: 7th May 2009 19:09
I apologize for not making that more clear. The properties for the actual program runs in 640 x 480 screen resolution. Can you change this to a higher resolution in the setup file or other file?

--------------------------------------------
Dark Basic Pro | Windows XP |
Merrie
19
Years of Service
User Offline
Joined: 18th Jan 2006
Location: PA
Posted: 7th May 2009 19:54
Consider this topic closed, I found Darkedit and CodeKeeper. Thank you!

--------------------------------------------
Dark Basic Pro | Windows XP |
Yodaman Jer
User Banned
Posted: 7th May 2009 20:26
DarkEDIT is great, it's what I use all of the time. I don't even use the official DBC editor because it's way too clunky (and it hasn't been updated since 1999). I could never get CodeKeeper to work though, despite my best efforts.

"If you want lots of people to play your game make it simple; lots of people are simple." -Obese87
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 7th May 2009 20:34
I think there is an ini file somewhere in the same directory as the exe that has the default display in it, but idk if that is the same on lite. If it is there you should be able to just change that line to what you need.

Great Quote:
"Time...LINE??? Time isn't made out of lines...it is made out of circles. That is why clocks are round!" -Caboose
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 7th May 2009 23:05
ooooohbhhhhh ok! ya just use darkedit thats the best i'v found. or if you want a proffesional look go for source edit. though it's hard to get up and running. it's great and supports any language(that you install)

New Site! Check it out \/
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 8th May 2009 01:35
@Caleb
had a look at your site and your input function. I would recommend breaking it up into a few smaller functions because it's quite specific how it uses multiple line and what not. If you had one function that managed the input and another that managed the lines it would make it more versatile. I would suggest keeping the carriage return characters in the string, then your display function would read them, start a new line and display the rest of the string.

OBese87 - bringing you the world of today, tomorrow.
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 11th May 2009 03:45
actually i made a new function using entry$() instead and i somehow forgot about the site hahahaha wow i'm smart....

Quote: "I would suggest keeping the carriage return characters in the string, then your display function would read them, start a new line and display the rest of the string."


i thought about doing that when i first did it but with dbc theres a max amount of characters per string(i think 255 i tested it a while back. don't remember though) so that means that the user could only enter 255 characters in the input(minus the return characters per line). that way is better, just not in dbc.

the new one i made did all of that (exept the up/down scrolling of the text. i think i put that in the old one) and it's a hole lot smaller. it doesn't need more then one function, i made it for my textbox gadget in my windows gui functions. the reason it's smaller is because the entry$() command takes care of all the timer stuff it's self so i don't need a timer for input the character. it does it itself. the only timer i need is the one for the cursor character (or caret or whatever)

New Site! Check it out \/

Login to post a reply

Server time is: 2025-06-08 05:19:14
Your offset time is: 2025-06-08 05:19:14