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.

Newcomers DBPro Corner / a little text problem with 3D, and text sizes and someother stuff

Author
Message
Luke
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location: United States
Posted: 26th Nov 2002 06:13
Hi, I usually "to good" to post questions on a Newbie board. But to day I ask two questions, one is a questionm, the other is a question asking if you can answer the first, actually that's pretty lame, and umm ya. So, ya umm can someone explain to me with their vast amount of knowlege why this is happening? ok so that was the question asking if you can answer this question:
well, umm here's some code demostrating the problem:


ya, so, why is "You Won!" printed twice?, in two different sizes?? cause this is as confusing as an oxymoron to me.
www.CyberLuke.com
Luke
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location: United States
Posted: 26th Nov 2002 06:17
oh umm and I forgot to add that I amn't(am not LOL, sort of like 'was not') a Newbie, I've made 4 complete games (check my site) I'm just as clueless as one whenever I encounter a weird bug.

www.CyberLuke.com
Luke
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location: United States
Posted: 26th Nov 2002 06:19
oh ya please tell me if there is a way to solve it please. Ok I'll stop postng for now.

www.CyberLuke.com
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 26th Nov 2002 13:46
Dunno, this comp dont have DB on it, Ill try it out later today (wooo hoooo turkey vacation!)

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
Upcoming- MMOFPS- Paintball Game: HELP WANTED!
Http://halbrosproductions.netfirms.com
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 26th Nov 2002 15:51
u need to slow down the text command usage


this is a hack but if u can work around not using the wait somehow

function changefont(n)
wait(1)
set text size n
endfunction

ToXic
22
Years of Service
User Offline
Joined: 8th Sep 2002
Location: Australia
Posted: 26th Nov 2002 22:23
Or you could do a refresh here.

center text 320,100,"You Won!"
sync


ToXic.
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 27th Nov 2002 00:29
Luke
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location: United States
Posted: 27th Nov 2002 00:47
I think that would cut the fps rate in half.

www.CyberLuke.com
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 27th Nov 2002 09:54
I think that sort of minor fps change if trapped correctly outside a main game loop wouldnt even be noticable by the user/player.


see for yourself with this code i just added a sync and the screen fps in the main loop for a rudimentary test of fps




Puffy
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United States
Posted: 27th Nov 2002 11:40
also if you want a few more fps... use the fastsync command... =P

AMD Athlon XP 2100+ OC to 3Ghz/1.5gigs ram/128mb ti4200/120gigs hd/19" monitor/Sound Blaster Audigy Platinum EX/3072kbs Sat Con... I joined in!

Login to post a reply

Server time is: 2024-11-23 17:46:03
Your offset time is: 2024-11-23 17:46:03