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.

Newcomers DBPro Corner / were is the place to have my images for DB??

Author
Message
aleks
18
Years of Service
User Offline
Joined: 2nd Sep 2006
Location: høydalsmo
Posted: 17th Sep 2006 20:37
were is the place to have images so i can use them in my games??
Atreides
20
Years of Service
User Offline
Joined: 11th Oct 2003
Location: Switzerland (but NOT on a mountain !)
Posted: 17th Sep 2006 22:20
In the same directory as your executables is the easiest way. You can make another directory inside, for example "images" and then :
load image "images\img1.jpg", 1, 1

The sleeper must awaken !
GMan
18
Years of Service
User Offline
Joined: 16th Sep 2006
Location: TEXAS
Posted: 17th Sep 2006 22:43
Also, just so you know. If you use ".." in the path name, it will take you one folder back.

So, for example if your current directory is "game\images" and you want to load an image from the game folder, you can type:

load image "..\image.bmp", 1

The right man in the wrong place can make all the difference in the world.

Login to post a reply

Server time is: 2024-09-25 09:36:09
Your offset time is: 2024-09-25 09:36:09