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.

Dark GDK / using dbLoadBitmap the picture was not shown on the screen why?

Author
Message
Can I use VC++ 6 with Dark GDK
16
Years of Service
User Offline
Joined: 8th Jan 2008
Location:
Posted: 10th Feb 2008 05:19
I read help about dbLoadBitmap and it says that "This command loads a picture file to the screen", I use it before LoopGDK.

Why the picture was not shown on the screen ?

dbSyncOn ( );
dbSyncRate ( 60 );

dbLoadBitmap( "house.bmp", 1 );


and what are the differences between dbLoadImage and dbLoadBitmap

thanks
Codger
21
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 10th Feb 2008 09:20
I haven't tried it but I believe the default bitmap is 0 not 1

System
PIV 2.8 MZ 512 Mem
FX 5600 256 mem
Can I use VC++ 6 with Dark GDK
16
Years of Service
User Offline
Joined: 8th Jan 2008
Location:
Posted: 10th Feb 2008 10:32
hey ... you are correct !

dbLoadBitmap( "house.bmp", 0 );

thanks...

Login to post a reply

Server time is: 2024-09-29 11:29:59
Your offset time is: 2024-09-29 11:29:59