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 / New to DBPro - not new to classic

Author
Message
Northern Fist
20
Years of Service
User Offline
Joined: 23rd Sep 2003
Location:
Posted: 25th Dec 2003 00:23
Well, I'm getting DarkBasic Pro for Christmas. While it's being shipped, I'm messing around with the 30-day demo of the pro version. It's a really nice program, however, I'm dissapointed in some results I'm getting.

For instance, I ported my caveblaster game (see the 20-liner thread to see source code) into DBPro.
1. When I did, I got the game running slower than when I ran it in DBClassic when sync rate was zero. The results are about 15 frames slower.

2. Also, the matrixes were all botched up and looking like they had shaved off tiles (I imagine it is a lightsource problem). They were also VERY faded from a distance. Even in a test program I made from scratch, the matrix tiles had very faded and overblended textures.

3. The framerate itself is not coming along as well as in DBClassic. In that test-program I made earlier with a large-scrolling matrix, DBClassic ran it at about 30 frames faster than in DBPro. Please check out the source button below to see the program and give me your results.

And advice, comments, questions, and answers - please.

Oh, and here are my specs:
Gateway (2003) with Celeron
2.6 gigaherts
256 megs of RAM
Using the Intel Graphics card that came with it ...

"Power, precision, and don't forget about speed. If you practice everyday with these things in mind... you begin to develope A FIGHTING MODE." - Fist of Legend (Jet Li)
Northern Fist
20
Years of Service
User Offline
Joined: 23rd Sep 2003
Location:
Posted: 25th Dec 2003 00:47 Edited at: 26th Dec 2003 04:34
EDIT:
Okay, I've got most of my problems solved except for the faded matrixes and the fps() rate. As a matter of fact, EVERYTHING is faded, the objects, the landscape - especially at a distance. The further away something is, the more faded it is!
I ran the code for Caveblaster in DBClassic and actually got a much HIGHER fps() rate than in DBPro! Can you believe it - DBClassic is better than PRO!!

"Power, precision, and don't forget about speed. If you practice everyday with these things in mind... you begin to develope A FIGHTING MODE." - Fist of Legend (Jet Li)
BearCDPOLD
20
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 26th Dec 2003 08:53 Edited at: 26th Dec 2003 08:54
I know nothing of DBpro's commands. But it is a fact that they are still working out bugs, and porting from one to another is really just a matter of figuring out the differences between the languages--I just finished switching from Blitz3d to DBClassic, and that was especially difficult so I can understand somewhat the frustration you are going through. Classic is more reliable and stable, but Pro is opening up new technologies never before seen by the people in the Darkbasic community.

Juvenile Industries
Current Project: The First Room (FPS)
Soon to come:An rts, and a snowball fight game
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 26th Dec 2003 14:37 Edited at: 26th Dec 2003 14:37
some of the lighting method have changed in dbp, i'm not sure what you mean really though, here is what i get when i run your program:


i use this code:


i've made my own image for the matrix and taken the fog commands out of the main loop as that isn't necessary, if possible post a screenie of what you get when you run that code... this is in version 1.5


GO TO THE ETERNAL DESTINY FORUMS!!! http://forums.eternaldestinyonline.com
Do it now!!!
Northern Fist
20
Years of Service
User Offline
Joined: 23rd Sep 2003
Location:
Posted: 26th Dec 2003 19:32 Edited at: 26th Dec 2003 19:33
Okay, you get 120 fps! I get about 45 - yeah... WHY THE HECK IS MY NEW COMPUTER SO #$%&*#^($*&% SLOW?!? WHY?

Sorry, I can't post an image - it's the same thing except a slower framerate.


EDIT - is it because this is the lite Demo? If that's the case, then...

"Power, precision, and don't forget about speed. If you practice everyday with these things in mind... you begin to develope A FIGHTING MODE." - Fist of Legend (Jet Li)
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 26th Dec 2003 20:55
its the lame intel graphics card you got mate my geforce 2 is nothing special but it can handle matrices fine


GO TO THE ETERNAL DESTINY FORUMS!!! http://forums.eternaldestinyonline.com
Do it now!!!
BearCDPOLD
20
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 26th Dec 2003 23:13
Hooray for Geforce2!!!
If there's anything I've learned when coding in any of these things is that no matter how correct the code looks it's always the user's fault. I spent hours one day off from school when I was sick trying to fix this one little problem. I nearly broke my skull on the desk from hitting it so hard, then all of the suddent I looked at one section of the code, changed a couple of values, and it was perfect. Not saying you should beat your head on your computer desk of course...

Juvenile Industries
Current Project: The First Room (FPS)
Soon to come:An rts, and a snowball fight game
Northern Fist
20
Years of Service
User Offline
Joined: 23rd Sep 2003
Location:
Posted: 27th Dec 2003 04:47
Thanx guys... Well, it could be mentally healthy to knock some sense into you every once in a while.

Anyways, I think I understand: I seriously overrated the graphics memory I currently have. Yep, it's time to upgrade.

"Power, precision, and don't forget about speed. If you practice everyday with these things in mind... you begin to develope A FIGHTING MODE." - Fist of Legend (Jet Li)

Login to post a reply

Server time is: 2024-09-21 15:03:29
Your offset time is: 2024-09-21 15:03:29