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.

Author
Message
Redostrike
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: Belgium
Posted: 17th Apr 2003 14:41
K. Sorry if this is already answerd before. What kind of image files can DBC load?

PS: Really sorry for this if you already answerd this q.
Only heroes live forever
http://members.lycos.nl/redostrike/RedoTitel.jpg[/img]
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 17th Apr 2003 17:21
I dunno exactly, definitely bmp, I heave seen postings about jpg. Try doing a LOAD IMAGE for various formats and see which crash and die.

Thanks in advance.
All the Best,
StevieVee
Redostrike
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: Belgium
Posted: 17th Apr 2003 21:06
K. A new q: When i have set my display (SET DISPLAY MODE) to 800*600 and when i loaded a picture 800*1200. How do i get my screen scrolled down need some snippet please.

Only heroes live forever
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 17th Apr 2003 21:29
You don't

Load it into an image instead, and then paste at negative y coordinates to 'scroll' it up - like this:

Redostrike
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: Belgium
Posted: 17th Apr 2003 22:14
Thanks IanM

Only heroes live forever
Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 18th Apr 2003 02:54
it take these format:

Load: BMP, RLE, DIB, DDS, JPG, PCX, PNG, PSD, TGA, TIFF files
Save: BMP, RLE, DIB, DDS, JPG, PNG, TGA files

source: http://www.darkbasic.com/c.php?f=about3

its for Classical DB...but ...if you have DBpro it..should be more.that that..
Redostrike
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: Belgium
Posted: 18th Apr 2003 10:47
Hehe Thanks Chiwawa (Chiwawa)Chiwawa (Chiwawa) Makes me sing and makes me want to drink x-d

Only heroes live forever
Redostrike
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: Belgium
Posted: 18th Apr 2003 19:20
Yet another problem. I've made a picture, the background is black. Now i loaded it in:

LOAD IMAGE "picture.bmp",1
PASTE IMAGE 1,220,45

This is what i want: The black background needs to become transperent. How do i do this. Is there any color DARKBASIC CLASSIC takes as transpernt. Or am i copletly wrong whit this do i need to do something different.

Only heroes live forever
Danmatsuma
21
Years of Service
User Offline
Joined: 2nd Mar 2003
Location: Australia
Posted: 18th Apr 2003 20:06
Black
And you need to use the sprite command to use image transparency

ZX Spectrum 48k Issue 3, Radio shack Tape drive, Rank arena 12" T.V. set.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 18th Apr 2003 21:19
Not true - you can paste an image with transparency by adding ',1' to the end of the command.
Redostrike
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: Belgium
Posted: 18th Apr 2003 22:41
Thank you very much it worked.

Only heroes live forever
Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 18th Apr 2003 23:50
x-d
Danmatsuma
21
Years of Service
User Offline
Joined: 2nd Mar 2003
Location: Australia
Posted: 18th Apr 2003 23:52
I stand corrected

ZX Spectrum 48k Issue 3, Radio shack Tape drive, Rank arena 12" T.V. set.

Login to post a reply

Server time is: 2024-09-20 06:39:50
Your offset time is: 2024-09-20 06:39:50