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 Discussion / rookie here with a question about texturing, little help please

Author
Message
Nemesi24
21
Years of Service
User Offline
Joined: 2nd Dec 2003
Location:
Posted: 3rd Dec 2003 04:33
ok im new to darkbasic so i checked out a few of the steps for the "monster hunter" tutorial provided by this site. when i put in the code for matrix texturing, i got an error saying that the image does not exsist. this isnt the first time that ive gotten the "image does not exsist" message. i have DarkBASIC 1.12, do i need to buy more software to get textures and images or something else?

If you expect a kick in the balls, but get a slap in the face, consider that to be a victory.
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 3rd Dec 2003 04:49
Quote: "DarkBASIC 1.12"


Is there a DarkBASIC 1.12 ??

The problem is, you're not specifying the directory of the image correctly. Try putting in the full directory, ie, "C:/program files/images/textre1.bmp" or the like.

Hope I Helped...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 3rd Dec 2003 05:08
Yes, make sure you specify the texture. When you get a "Image does not Exist error" its really easy to track down. If you say

Load Image "myimage.bmp",1

Then it is looking for a file called "myimage.bmp" where the program is being executed (the same folder as your project) So, to fix this error, simply track down any image file and copy its location eg.

C:\My Documents\My Pictures\Bird.bmp

And put that in load image. As long as you get the path name correct it should load. If you know the image exists, make sure you spelled everything correct!! Youd be amazed by how many times my code busts because I spell something wrong!

Hope that helped

RPGamer


Dont forget to Join the Forums!
Clarks
21
Years of Service
User Offline
Joined: 30th Oct 2003
Location: BALTIMORE,MARYLAND
Posted: 3rd Dec 2003 06:22
yes there is a darkbasic 1.12, Nemesi24 needs to get the upgrade

Login to post a reply

Server time is: 2025-05-22 09:06:05
Your offset time is: 2025-05-22 09:06:05