Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    557
  • comments
    1237
  • views
    423117

Art

Sign in to follow this  
Evil Steve

109 views

So, the project I'm working on at the moment has a 2D section to it. The background is drawn, then the player, then any "scenery objects" on top of that, to allow the player to go behind objects. These scenery objects just need cut out of the background TGA files, and can use either an alpha channel, or magenta. The editor program wil read these files, and auto place the scenery by matching the pixels.
The scenery object TGAs also need converted to BMP for the Nintendo convertor program, since it only accepts BMPs (and spits out a few DS-specific files).

Sounds simple, yes? No. First of all, the artist who's making the scenery objects was told to write the BMPs as 8-bit. That kinda makes sense, since we only have a budget of 16 colours per scenery object, so it'll be cut down anyway. The problem is, that he's saved the 8-bit BMPs, and no TGAs. So none of the scenery can be auto-placed by the editor. We tried hacking the editor to accept "near matches", but that caused a few false placings, and is a bit ugly.
Secondly, the few files that have been saved as TGA have been cut out of the background and blended slightly. Photoshop seems to have blurred things around the edge of the selection tool - again meaning they don't match up.
Thirdly, the artist doesn't have the tool program on his machine, so he can't check this. I intend to get him set up with it tomorrow (he's off today).

So, today consists of me going through about 70 images, and re-cutting them from the background, using MS Paint and Irfanview to convert TGA <-> BMP.
I installed GIMP, and tried using it, and failed miserably. I'm sure it's all very nice if I had the time or patience to learn how to use it, but I don't.

*sigh*

Oh well, back to work...
Sign in to follow this  


2 Comments


Recommended Comments

You might want to think about using python & PIL to do the conversion.

It's pretty simple to write a script that converts every file of a certain type in a directory - I did it in an hour or so with no real knowledge of python.

Share this comment


Link to comment
Converting each file takes under a second (Double click file, hit 'S', hit enter). Most of the time is spent with me editing the files (About 5 mins for each object, longer for more complex ones)

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!