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.

Dark GDK / Really weird glitch from exe... "6"

Author
Message
TheNeo
14
Years of Service
User Offline
Joined: 19th Apr 2010
Location:
Posted: 8th May 2010 19:06
I made this terrain demo in dark gdk, and it works fine when I run it from the editor. But whenever I try to run it from the executable, it has a black screen, then a messagebox that says "6" pops up, then it exits. Help??><!!

TheNeo is the one... YEAH!!!!
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 8th May 2010 20:39
you need the media ( images in this case ) in the same directory as the executable

TheNeo
14
Years of Service
User Offline
Joined: 19th Apr 2010
Location:
Posted: 8th May 2010 22:28
it still doesnt work.

TheNeo is the one... YEAH!!!!
Freedom Fighters
15
Years of Service
User Offline
Joined: 2nd Nov 2009
Location:
Posted: 9th May 2010 02:53
are you running the debug or release version?

Problem Solution That Never Fails: "Build A Bridge And Get Over It"
TheNeo
14
Years of Service
User Offline
Joined: 19th Apr 2010
Location:
Posted: 9th May 2010 19:32
I've tried both. I also tried running the exe from both folders, but it still messes up.

TheNeo is the one... YEAH!!!!
bloodmage2
15
Years of Service
User Offline
Joined: 14th Jun 2009
Location:
Posted: 14th May 2010 18:42
mind showing us this code? if its really big, just post the part before while(LoopGDK())

-to the optimist, the glass is half full. to the pessimist, it is half empty, to the engineer, it is twice as big as it needs to be.
http://www.lionsbloodstudios.justinman.net/index.htm
TheNeo
14
Years of Service
User Offline
Joined: 19th Apr 2010
Location:
Posted: 15th May 2010 14:56
Ok. Here


TheNeo is the one... YEAH!!!!
bloodmage2
15
Years of Service
User Offline
Joined: 14th Jun 2009
Location:
Posted: 16th May 2010 01:11
try reducing the camera range,

-to the optimist, the glass is half full. to the pessimist, it is half empty, to the engineer, it is twice as big as it needs to be.
http://www.lionsbloodstudios.justinman.net/index.htm
Cetobasilius
14
Years of Service
User Offline
Joined: 29th Dec 2009
Location: Mexico
Posted: 16th May 2010 01:27 Edited at: 16th May 2010 01:30
its not that, i use 1 million on camera range. texture.jpg, detai.jpg and map.bmp must be on the same folder as the executable. but if it persists try that... if the black window apears it means it is initializing correctly, so it is either not loading your media correctly, or you are doing something wrong on the compiler. to run the game on the compiler, you have your media alongside your .cpp files, to run it from the executable you must have another copy of the media or copy the executable to where your media is. are you running the correct executable? lol who knows!

hi
TheNeo
14
Years of Service
User Offline
Joined: 19th Apr 2010
Location:
Posted: 16th May 2010 18:49
It used to have that glitch when I ran it in the compiler, but then I copied it into a new file and it worked...

TheNeo is the one... YEAH!!!!

Login to post a reply

Server time is: 2024-11-19 23:45:45
Your offset time is: 2024-11-19 23:45:45