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 / Cant load any images

Author
Message
dylan
18
Years of Service
User Offline
Joined: 25th Apr 2007
Location:
Posted: 25th Apr 2007 12:54
Hi, im very new to this and i am going through the tutorials. In the matrix 1, you need to load a grass9 image. I dont have this image so i made a grass image in paint. I then set the commands to load it but it says it was not found. I added it to the media to include thing but still not working. Any help at all i really appreciate thank you
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 25th Apr 2007 17:37 Edited at: 25th Apr 2007 17:40
We might need to see the part of your program that loads the image before we can help because your problem could be down to a number of reasons.

The most common reason for what you describe is the path to the image you created. A couple of things to check:

1. Your grass image is a .BMP file, is square and 128x128 pixels in size.

2. It's been saved in the same folder as your .DBA project file.

3. The Load Image command has the name of the image in full and spelled correctly - ie Load Image "grass9.img",1.

Note: The above is not a 'you must do' list - it's only to help you solve the problem.

If doing the above doesn't help, then post the code you are having the problem with - it might be an error in your syntax.

Quote: "I added it to the media to include thing"


Are you using DB Pro by any chance? This is not a DBPro board, so if you are I'll move it.

TDK_Man

dylan
18
Years of Service
User Offline
Joined: 25th Apr 2007
Location:
Posted: 27th Apr 2007 08:38
thanks yes i think it is dark basic pro, sorry for the inconvenience im only tried this out a few days ago after using different game making software. If you can move this i will be very greatful.

p.s Wow nice mods here =)

Login to post a reply

Server time is: 2025-05-29 02:38:15
Your offset time is: 2025-05-29 02:38:15