There are a few things that may be lagging your game...
*Sprites (Especialy in DBClassic)
*High Polygon Models
*2-D Commands
*Large Screen Resolution or High Color Depth
You may want to try this code to speed up your program...
For a=[min obj#] to [max obj#]
If Object In Screen(a)=0 and Object Visible(a)=1 Then Hide Object a
If Object In Screen(a)=1 and Object Visible(a)=0 Then Show Object a
Next a
This only works if you have a large amount of objects. If your objects are very large (like one big 3-D level) then I wouldn't recomend this code... Also, If the camera gets too close to an object it might suddenly dissapear...
[Edit]
You might also try adding fog and hiding objects outside of the fog distance...
Well... I hope I helped...
Previously known as "Game_Creator".
The question is, why am I talking to myself? ...... And more importantly, why am I waiting for a reply?