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.

Author
Message
DB newbie
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 25th Nov 2005 17:54
ok i uploadeda file from CShop into DB it works fine but it goes really slow and wierd and my frame per second (fps) is only at like 31 can someone help me with this so that my game will run smoothly ill but the code that i have on my comp for it ok.

set dir \"C:\\Program Files\\Dark Basic Software\\Dark Basic\\myproj\\CShop first sample\"
load object \"minimaze.x\",1
position camera 75,75,75
do
Text 10,10,\"FPS \"+Str$(Screen FPS())

if upkey()=1 then move camera 35.0
if downkey()=1 then move camera -10.0
if leftkey()=1 then angley#=wrapvalue(angley#-2.0)
if rightkey()=1 then angley#=wrapvalue(angley#+2.0)

rem Update camera
xrotate camera 0.0
yrotate camera angley#
zrotate camera 0.0
loop

ATI mobility radeon X600 graphics card
AMD 64 Bit processor
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 25th Nov 2005 18:40
Where's your syncing?

Shove a 'sync on' and a 'sync rate 0' somewhere above the do, and a 'sync' above the loop.

That should make your FPS go up radically.

16-colour PNGs pwn.
DB newbie
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 25th Nov 2005 22:01
ok thanks a lot i will try that!

ATI mobility radeon X600 graphics card
AMD 64 Bit processor
DB newbie
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 25th Nov 2005 23:10
thanks a million it didnt pring my FPS up it still showed 31 but it ran so smooth when i looked around the room with the first person camera thanks again!

ATI mobility radeon X600 graphics card
AMD 64 Bit processor

Login to post a reply

Server time is: 2025-05-22 19:10:05
Your offset time is: 2025-05-22 19:10:05