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 / Whats wrong with executeables?

Author
Message
t10dimensional
15
Years of Service
User Offline
Joined: 22nd Mar 2009
Location: Code Cave, USA
Posted: 18th Jul 2009 07:19
When i run this


in DB it works fine but when I make a executeable it's slower and the text size is all messed up.why?

If at first you don't succeed-Pause-Go to last checkpoint
BN2 Productions
20
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 18th Jul 2009 07:45
Quote: "set text font timesnewroman$"

I can imagine that can't help, since that string variable isn't declared.

As for your speed issues, take a look at the top sticky for info on how to uncap your game.

Great Quote:
"Time...LINE??? Time isn't made out of lines...it is made out of circles. That is why clocks are round!" -Caboose
t10dimensional
15
Years of Service
User Offline
Joined: 22nd Mar 2009
Location: Code Cave, USA
Posted: 18th Jul 2009 08:00
Thanks for the speed info,I must have missed that sticky.

I tryed both timesnewroman$ and "timesnewroman" and they do the same thing and still mess up on the exc.It's not that big of a deal but its just annoying not knowing why it messes up.

rnd info:
I use timesnewroman because it has alot more customizeable size settings then the default.

:Q C= ~ <>< d :0 :$
BN2 Productions
20
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 18th Jul 2009 08:02
The name is "Times New Roman" don't forget your spaces

Great Quote:
"Time...LINE??? Time isn't made out of lines...it is made out of circles. That is why clocks are round!" -Caboose
t10dimensional
15
Years of Service
User Offline
Joined: 22nd Mar 2009
Location: Code Cave, USA
Posted: 18th Jul 2009 08:14 Edited at: 18th Jul 2009 08:15
O,sorry for my noobishness.

What seemed to happen tho was that when i put
set text font timesnewroman$
it attully changed the font somehow but not to Times New Roman.

And well, it did'nt really fix the text size problem in the exc.

See if it does the samething on your computer.
Just make a exc and when you try it every new round the score sizes will be biger than usual.


BN2 Productions
20
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 18th Jul 2009 08:37
Wait, I remember

You need to put ,1 (I think it is 1) after it to make it work.

so it would be

set text font "Times New Roman",1

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
15
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 18th Jul 2009 17:04
Ya it's a 1.

i think it has something to do with character sets. that started in the newest version of dbc and isn't widely known lol.

New Site! Check it out \/
Latch
17
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 18th Jul 2009 19:50
Brick Break
User Banned
Posted: 18th Jul 2009 21:40
So, combining all that we've learned, you do:


WINNER list:
Latch, Lee Bamber, TDK
Thanks for the help!
t10dimensional
15
Years of Service
User Offline
Joined: 22nd Mar 2009
Location: Code Cave, USA
Posted: 19th Jul 2009 00:24 Edited at: 19th Jul 2009 00:26
Thanks for the help.


Login to post a reply

Server time is: 2024-05-20 12:50:54
Your offset time is: 2024-05-20 12:50:54