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 / another problem

Author
Message
zappi
13
Years of Service
User Offline
Joined: 16th Oct 2010
Location: with your mother
Posted: 15th Nov 2010 23:19
how does i link a media in dark dgk??
i've tried in much mode (excuse me for the uncorrect language)
but i didn't had any result
CocaCola
14
Years of Service
User Offline
Joined: 23rd Mar 2010
Location: CocaCola.x CocaCola.y CocaCola.z
Posted: 15th Nov 2010 23:45
umm your gonna have to be more specific (lib, jpeg, bmp, .x, .dbo, etc)

Always program as if the person maintaining your program is a psychopath that knows where you live
zappi
13
Years of Service
User Offline
Joined: 16th Oct 2010
Location: with your mother
Posted: 16th Nov 2010 15:31
excuse me : 3d object and texture
_Pauli_
AGK Developer
14
Years of Service
User Offline
Joined: 13th Aug 2009
Location: Germany
Posted: 16th Nov 2010 19:49
First of all, you should think about how you post a question. You didn't give enough information and the title "another problem" is not good (just like "i have an issue", "help me" or sth.). Other people who may have a similar problem would benefit from a more descriptive title.

So, what do you mean with "link a media"?
If you want to load 3D objects and textures you can use these functions:



Have a look at your DarkGDK documentation. And I guess you haven't had a look at the tutorials that came with your DarkGDK installation, do that first.

Now the plot thickens, the fps decreases, and the awesomeness goes through the roof.
zappi
13
Years of Service
User Offline
Joined: 16th Oct 2010
Location: with your mother
Posted: 17th Nov 2010 14:25
my problem is the path : also it is right the 3d model i texturize is completely black !!
zappi
13
Years of Service
User Offline
Joined: 16th Oct 2010
Location: with your mother
Posted: 17th Nov 2010 14:43 Edited at: 17th Nov 2010 14:43
this is my code :


when i start debug my ball is completely black!!
JTK
14
Years of Service
User Offline
Joined: 10th Feb 2010
Location:
Posted: 17th Nov 2010 14:56
Quote: " dbLoadImage("C:\\Document and Settings\\Simo\\Desktop\\tutto\\mmorpg\\mmorpg\\media\\texture\\tex_terra",1);
"


Is "tex_terra" another sub-directory or the actual file? If it's the actual file, try adding the extension (.BMP, .GIF etc). How's that do?

JTK
_Pauli_
AGK Developer
14
Years of Service
User Offline
Joined: 13th Aug 2009
Location: Germany
Posted: 17th Nov 2010 16:43
And you should try to use relative paths like this:



Or people that want to play your game on their computer won't be able to play it because the media files can't be found (as long as they don't have the exact same paths).

Now the plot thickens, the fps decreases, and the awesomeness goes through the roof.
zappi
13
Years of Service
User Offline
Joined: 16th Oct 2010
Location: with your mother
Posted: 17th Nov 2010 18:19
aiuuuuuuuuuto!!! se qualche italiano legge questa discussione mi aiuti per favore!!!!!
______________________________________________________________________
no the ball is already black

Login to post a reply

Server time is: 2024-06-30 10:47:45
Your offset time is: 2024-06-30 10:47:45