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.

DarkBASIC Professional Discussion / a little parallax & differential scrolling demo . . .

Author
Message
Freddix
AGK Developer
17
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 22nd Sep 2002 17:03
The day I received DBPro , I made a little demo to see the speed improvement on DBPro in comparison with DBV1 for 2D graphics.
That demo is very basic and only use "PASTE IMAGE".
No sprites command used .
I also use the EXCLUSE DISPLAY MODE to get smoother scrolling.
And with test , i get more than 380fps when i turn off sync ( sync rate 0 ) , on my 1.2Ghz+GF2TI64 PC.

It is strongly inspired from the game called "shadow of the beast" from Psygnosis on Amiga .
You can download it here if you want to try it :

http://cordierfr.free.fr/bin/beast.zip
Richard Davey
Retired Moderator
17
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 23rd Sep 2002 02:27
Hey very nice Do you mind if we feature that in the showcase here on darkbasicpro.com ?

I like the way you included the DBV1 and DBPro exes.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Freddix
AGK Developer
17
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 23rd Sep 2002 14:38
Yes you can put it in the showcase
If you want , I can directly send you a version with source code included.
note that the same source code can be used with both DBv1 and DBPro
djlaptop
17
Years of Service
User Offline
Joined: 21st Sep 2002
Location:
Posted: 23rd Sep 2002 19:56
It's cool but it doesn't display the FPS on the DBPro version (at least on my PC)
P4-2.4GHz
ATI AIW Radeon 8400DV

Freddix
AGK Developer
17
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 23rd Sep 2002 20:03
per default , the demo run using the 'exclusive' mode then there is no need to display de FPS because that mode adjust frame reate with the screen refresh rate.

If you want to modify the code to view FPS , go to snippet area and download the full package that contain the source code.
Then you'll be able to modify what you want to see the result. . .
Mike Johnson
TGC Developer
17
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 23rd Sep 2002 20:22
Nice demo. It's good to start seeing some things made in DB Pro.

Mike

Login to post a reply

Server time is: 2019-11-17 19:51:12
Your offset time is: 2019-11-17 19:51:12