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 / Parameter for load image doesnt match filename,image number at line 1

Author
Message
th3 dark j0k3r
18
Years of Service
User Offline
Joined: 9th Apr 2006
Location: In my own little wurld
Posted: 13th May 2006 01:11
well thats pretty muchy the problem i made a texture and put in the media/textures folder and it doesnt work

If some one told you they were a patheological liar would you bleive them......

Attachments

Login to view attachments
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 13th May 2006 01:13
You need to specify the full path + file extenstion for the image. Like:



And lets say that the image was laying in another folder:


The first example will work if the image is in the same folder as your exe. And the second example... Lets say you had a folder named "data" in the same folder as your exe, then that example would work.

-The Nerd

3D Arcade-like game:
SpaceBattle-Shootout
th3 dark j0k3r
18
Years of Service
User Offline
Joined: 9th Apr 2006
Location: In my own little wurld
Posted: 13th May 2006 01:32 Edited at: 13th May 2006 01:36

now it says runtime error 506 could not load image at line 1
i did what you said and the texture is in the same folder as the exe

If some one told you they were a patheological liar would you bleive them......
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 13th May 2006 02:31
Hmmm... Are you sure you do it right then?
I have attached a folder with a source code and a texture. Compile the code and see the textured object spin.

Hope that helps

-The Nerd

3D Arcade-like game:
SpaceBattle-Shootout

Attachments

Login to view attachments
th3 dark j0k3r
18
Years of Service
User Offline
Joined: 9th Apr 2006
Location: In my own little wurld
Posted: 13th May 2006 03:29
O thank you alot i needed that im making a logo for my grandpas company (he not so good with anything online or this)

A girl does to her mothers funeral and meets a guy and they fall in love. they lose contact with eachother. The next day she kills her sister...why-a phyco test
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 13th May 2006 03:47
Quote: "O thank you alot "


No problem!

-The Nerd

3D Arcade-like game:
SpaceBattle-Shootout

Login to post a reply

Server time is: 2024-09-24 23:22:35
Your offset time is: 2024-09-24 23:22:35