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 Discussion / Strange double-SYNC problem..

Author
Message
Penfold
21
Years of Service
User Offline
Joined: 3rd Dec 2003
Location: RED postbox houses of parliment
Posted: 5th Apr 2004 22:52
try out this code in DB clasic..and then remove one of the syncs and it stops displaying the .bmp (srry you'll have to supply your own bmp and adjust the code to fit).

Is this a known problem? or is there a fix?

sync on
sync rate 30
set display mode 800,600,16

load bitmap "textures/items.bmp",2

copy bitmap 2,0
sync
sync

do
if returnkey()=1
wait 100
return
endif
loop



'Ooh 'eck chief'...'crumbs'
Tim Ballisto
21
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Right behind you.
Posted: 6th Apr 2004 00:11
why do you want to sync twice?


Programs for programmers.
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 6th Apr 2004 00:25
Try and put a single sync just before the loop, and leave the other two syncs out.

Its not a bug, its a feature!
Penfold
21
Years of Service
User Offline
Joined: 3rd Dec 2003
Location: RED postbox houses of parliment
Posted: 6th Apr 2004 20:31
@ TIM ballisto - its the only way it will make it display.

@kentaree - I'll give it a go

@The Kid - New comp still need to install AIM.. will do it soon.

'Ooh 'eck chief'...'crumbs'

Login to post a reply

Server time is: 2025-05-23 06:59:58
Your offset time is: 2025-05-23 06:59:58