Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Testers needed...
#11
Well, demos are great! If I would have never bought a demo of... :lol:


EDIT:

OMG... I bought a demo? That better be a typo!!! :rotfl:
Reply
#12
Oh, I didn't mean to imply that there won't be any demos, but I just prefer if the game isn't seen too much before a significant demo or the final game. Tongue
Reply
#13
I've had bad experiences with TIMER in FB. It seemed like it would go out of control when I locked it at 60 FPS. But 30 FPS or anything less would work fine. :-| It was really frustrating me because it had spontaneously stopped working. Then I restarted my computer and it went back to normal again. :rotfl:
nd remember kids, only you can provoke forest fires!
Reply
#14
Use GetTickCount from kernel32.bi

It is precise to 1 ms AFAIK, and I use it for many programs to maintain a constant frame rate.

I can post code to use it, if you ask for it,.
·~¹'°¨°'¹i|¡~æthérFòx~¡|i¹'°¨°'¹~·-
avinash.vora - http://www.avinashv.net
Reply
#15
just a question... whenever i open my rpg i'm working on, my cpu shoots up to %100. I'm sure the reason is somewhere in the fact that it's software driven, so the cpu has to work alot or something... anyways, any way to throttle down the amount of cpu a program uses? As nice as it sounds, i don't need to use all of my cpu to render a 3 layer map, npc's, particles and objects at 1000 fps. Wink
Jumping Jahoolipers!
Reply
#16
You could set the priority lower... There are instructions on how to do that aropund here somewhere. Why does it matter to you?
Reply
#17
Smile I'd download it, but I only have ZIP support, not RAR,... what is that, a better ZIP?
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#18
About the timing problems:
SLEEP uses Windows' SLEEP that has a resolution of 15 mS in XP and 50 ms in 9x.

However, version 0.13(cvs) has a high resolution TIMER function so you could use the code below...Probably it uses the performance counter of the processor so it will not work with old plain Pentiums, needs Pentium Pro or better...

Code:
declare sub delay(byval ms as integer)
dim as single a,b
a=timer
delay 5
print timer-a
sleep

sub delay(byval ms as integer)
dim a as single
a=timer+ms/1000!
do:loop until timer>a
end sub

In Pentiums it will default to the old 1/18th second interval, I suppose...
Antoni
Reply
#19
A *.rar file is a compressed archive, much like a ZIPfile. AFAIK, rars have higher compression ratios to zips.

WinRAR is also better than WinZip Big Grin
·~¹'°¨°'¹i|¡~æthérFòx~¡|i¹'°¨°'¹~·-
avinash.vora - http://www.avinashv.net
Reply
#20
Quote:You could set the priority lower... There are instructions on how to do that aropund here somewhere. Why does it matter to you?

I see... i'll take a look around when i have more time to sift through the qbn forums. Wink

Why does it matter to me?

It's harder on the processor, it leaves nothing for other processes (disk defragmentations, antivirus scans) music can't play properly if say i want to listen to winamp at the same time. Name the reasons. I could probably think up several other reasons. Main reason though, is that a processor running at %100 for hours can't be good for it.
Jumping Jahoolipers!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)