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 / Can I have a backdrop in my 2d Games?

Author
Message
Skeletor
20
Years of Service
User Offline
Joined: 21st Jun 2004
Location: florida
Posted: 22nd Jun 2004 07:50
Hi, I am currently working on a 2d game and was wondering if I can add a backdrop instead of having that dull default black one. I was also wondering if I can Draw my own paint backdrops since my sprites are all done in paint. Thanks
Kohaku
21
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 22nd Jun 2004 07:55 Edited at: 22nd Jun 2004 08:03


no, wait, could be:


Infra-Dark
Skeletor
20
Years of Service
User Offline
Joined: 21st Jun 2004
Location: florida
Posted: 22nd Jun 2004 08:05
Ill try both out... Thanks
Kohaku
21
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 22nd Jun 2004 08:07 Edited at: 22nd Jun 2004 08:07
If they dont work, I wont be surprised. I never use 2D. Good luck anyway.

Infra-Dark
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 22nd Jun 2004 09:13
If you are using all 2d graphics use either the LOAD BITMAP method Aura mentioned, or with LOAD IMAGE

LOAD IMAGE "back.bmp",1
PASTE IMAGE 1,0,0

If you are using 3d graphics use the LOAD BITMAP method that Aura mentioned but be sure to use DRAW TO BACK and to do that method once right after every SYNC. You could also use the LOAD IMAGE....TEXTURE BACKDROP METHOD, or use a textured plain positioned appropriately in front of the camera.

Crazy Donut Productions, Current Project: KillZone
Web Site Button Does Not Work, Visit Here: http://www.geocities.com/crazydonutproductions/index.html
Skeletor
20
Years of Service
User Offline
Joined: 21st Jun 2004
Location: florida
Posted: 22nd Jun 2004 09:32
tyvm for all of your help
O and I did the Load image .bmp
and paste image and it worked out great

Login to post a reply

Server time is: 2025-05-26 02:54:32
Your offset time is: 2025-05-26 02:54:32