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 Professional Discussion / Embedded media wont load

Author
Message
Inflictive
17
Years of Service
User Offline
Joined: 16th Jun 2009
Location: Altis
Posted: 11th Apr 2012 05:40
Hi, I just got done converting 1500 lines of code in my game so that the save files use types instead of just floats for everything to save file space. The problem is, now some of the media won't load. All the media is embedded, and it loads fine up until you change the directory, then the media loading commands freeze the program. Whats the problem? All i changed really was I added typed arrays.

"This plan is so perfect... it's retarded."
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 11th Apr 2012 11:52
are you using absolute paths?

maybe you can use STYX's File Names and Paths attributes...

but then I can not see much to go off...

Inflictive
17
Years of Service
User Offline
Joined: 16th Jun 2009
Location: Altis
Posted: 13th Apr 2012 03:22
No i'm using things like

load image "images/hai.png",1337

But it doesen;t matter because i guess i fixed it. I made it so it creates all the folders needed for gamesaves Before it declares the types(although both actions come before loading media) and that fixed it for some ridiculous reason.

"This plan is so perfect... it's retarded."

Login to post a reply

Server time is: 2026-07-10 06:30:17
Your offset time is: 2026-07-10 06:30:17