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 / Load Bitmap question.

Author
Message
FlyingWild
14
Years of Service
User Offline
Joined: 29th Jul 2011
Location:
Posted: 10th Aug 2011 01:09
I am trying a simple program that loads a bitmap using load bitmap. 1 line loads the bitmap to the default index 0, and the next line simply has wait key.

It works, but only after I move the window. What could I be doing wrong?
Grog Grueslayer
Valued Member
21
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 10th Aug 2011 06:12
If you have SYNC ON you need a SYNC to update the screen.

BatVink
Moderator
23
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 10th Aug 2011 10:52
Bitmap 0 is the screen, so any activity you perform may delete the bitmap.

Login to post a reply

Server time is: 2026-07-10 10:19:28
Your offset time is: 2026-07-10 10:19:28