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 / Loading background for menu, help plz

Author
Message
Brad B
19
Years of Service
User Offline
Joined: 17th Dec 2005
Location:
Posted: 17th Jan 2006 01:49
Hi, I need help loading a background image I made in Paint.I've already got the game and menu working, I just wanted to load the image I made in place of the black screen in the menu.Its a 2D game, its one of the simple "Press any key to begin" style menus.Any help would be most appriciated. Thanks Brad
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 18th Jan 2006 17:08 Edited at: 18th Jan 2006 17:12
If you want to load an image, use this command:


Now let's say that you got an object in the background to hold your background image. You could texture that object with the new loaded image. Like this:



You could also use the "texture backdrop" command.

Hope that helped

-The Nerd

Free Particle Engine for DarkBasic Pro:
http://forum.thegamecreators.com/?m=forum_view&t=60141&b=5

Login to post a reply

Server time is: 2025-05-22 23:49:30
Your offset time is: 2025-05-22 23:49:30