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 / set bitmap

Author
Message
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 27th Apr 2004 20:51
does anyone now how to set a bitmap on the screnn for like 5 seconds and then put another one up u know like at the beggining of games pls

i used to be indecisive but now ime not so sure
Nitro Methane
21
Years of Service
User Offline
Joined: 20th Jan 2004
Location: Anderson , SC
Posted: 27th Apr 2004 21:28
Something like this
paste image 1,0,0
wait 5000 :rem 1000ms is equal to 1 second
cls
paste image 2,0,0

Tommy
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 27th Apr 2004 23:05
k thanks will try now

i used to be indecisive but now ime not so sure
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 27th Apr 2004 23:15 Edited at: 27th Apr 2004 23:15
it not working the images appear then disapear wait 5000 then the other one does it again pls help



i used to be indecisive but now ime not so sure
Emperor Baal
21
Years of Service
User Offline
Joined: 1st Dec 2003
Location: The Netherlands - Oudenbosch
Posted: 27th Apr 2004 23:55
what if you try this:

load bitmap "steve corp.bmp", 1
copy bitmap 1,0
wait 5000

load bitmap "menuscreen.bmp", 2
copy bitmap 2,0
wait 5000

Quote: "
UPDATED

Amd 2800+ 1024mb pc3200 A7N8X - Deluxe Ati Radeon 9800PRO 256mb
"
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 28th Apr 2004 00:30
no luck it still does the same thing thanks for the try though anyone else pls

i used to be indecisive but now ime not so sure
Emperor Baal
21
Years of Service
User Offline
Joined: 1st Dec 2003
Location: The Netherlands - Oudenbosch
Posted: 28th Apr 2004 01:17 Edited at: 28th Apr 2004 01:18
and if you try this:

sync on
sync rate 0

backdrop off
load bitmap "steve corp.bmp", 1
copy bitmap 1,0
sync
wait 5000

load bitmap "menuscreen.bmp", 2
copy bitmap 2,0
sync
wait 5000

Quote: "
UPDATED

Amd 2800+ 1024mb pc3200 A7N8X - Deluxe Ati Radeon 9800PRO 256mb
"
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 28th Apr 2004 21:40
yyyyyeeeeeeeeeeeeesssssss thank u emperor baal

i used to be indecisive but now ime not so sure
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 28th Apr 2004 23:33
k it works but now my ammo isnt coming up on screen pls help

i used to be indecisive but now ime not so sure
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 1st May 2004 00:44
pls i mean my text that sais ammo isnt appearing pls help

i used to be indecisive but now ime not so sure
Emperor Baal
21
Years of Service
User Offline
Joined: 1st Dec 2003
Location: The Netherlands - Oudenbosch
Posted: 1st May 2004 02:10 Edited at: 1st May 2004 02:16
Ive modified your code a bit:



When bitmap 2 is loaded, Darkbasic will probably set the current bitmap to 2, thats why you wont see your text (its written to bitmap 2!)

If you dont need the bitmaps anymore, delete them when your game starts (its a good idea to delete unnecessary things, it speeds up your program and makes sure the memory is emptied (no memory-leaks) )

Quote: "
UPDATED

Amd 2800+ 1024mb pc3200 A7N8X - Deluxe Ati Radeon 9800PRO 256mb
"
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 1st May 2004 19:12
thanks but ive fixed it now thank u all

i used to be indecisive but now ime not so sure

Login to post a reply

Server time is: 2025-05-23 17:01:02
Your offset time is: 2025-05-23 17:01:02