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 / adding media

Author
Message
farley edison
20
Years of Service
User Offline
Joined: 7th Apr 2004
Location:
Posted: 14th Apr 2004 10:09
in the tutorials how do i add the media to the programs?

????????????????????????????????
GameKit
21
Years of Service
User Offline
Joined: 6th Mar 2003
Location: USA, Staring Blankly at a Computer
Posted: 14th Apr 2004 17:24
Make sure the media you want to add is in the same folder as your project, then load it using the Load Commands...

Load Image "[File Pathname]",[Image Number]
Load Object "[File Pathname]",[Object Number]
Load Sound "[File Pathname]",[Sound Number]
ect...

If the media is not in the same folder as your project then either copy/paste it into the correct folder, or type the path to get that media... "C:\Program Files\DarkBasic Software\Darkbasic [or Darkbasic Profesional]\My Projects\..."

When/If you get the media in the same folder than just type "[MediaName].[3 letter extension]" for the pathname...
Well... I hope I helped...

Do not thwart the way of the dragon. For thou tasteth like chicken.

Login to post a reply

Server time is: 2024-11-26 12:25:40
Your offset time is: 2024-11-26 12:25:40