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 / Corrupt Images?

Author
Message
Darkzombies
13
Years of Service
User Offline
Joined: 25th Dec 2010
Location: In multiple tabs, most likely youtube.
Posted: 24th Sep 2011 08:30 Edited at: 24th Sep 2011 08:31
I am upgraded to the latest version of darkbasic pro, and have directX 9.0 or higher, so I don't know whats wrong.
Ill attach it, I'm getting CANT LOAD IMAGE errors.
Oh yeah, and the name KingX, its temporary

Too lazy to make a signature.

Attachments

Login to view attachments
Robert The Robot
17
Years of Service
User Offline
Joined: 8th Jan 2007
Location: Fireball XL5
Posted: 24th Sep 2011 12:08
I've never seen that error before - DBPro should be able to read .png files, so maybe you've found a varient it can't handle?

If the images have transparency (an alpha channel) try saving them to another file format, like .tga or .dds. Otherwise, just switch to a .bmp.

We spend our lives chasing dreams. Dark Basic lets us catch some of them.
LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 26th Sep 2011 01:30
Actually, if you look at the spelling on your filenames, some are not spelled correctly. They must match exactly. The .png files seem okay.

Darkzombies
13
Years of Service
User Offline
Joined: 25th Dec 2010
Location: In multiple tabs, most likely youtube.
Posted: 2nd Oct 2011 10:05 Edited at: 3rd Oct 2011 06:22
Wow... I feel dumb, one, for not checking this till 6 days later, second for not noticing my mispell. Thanks.

EDIT: Ok, so now I have this weird problem. This code randomly decides between civilian and knights then places them in a line, but its placing them on top of each other as well. Any solutions?



Also this doesnt work.



Too lazy to make a signature.

Login to post a reply

Server time is: 2024-11-22 12:10:06
Your offset time is: 2024-11-22 12:10:06