|
|
|
|
November 19th, 2007, 07:31 PM
|
Corporal
|
|
Join Date: Aug 2004
Location: Montreal
Posts: 186
Thanks: 21
Thanked 16 Times in 7 Posts
|
|
General advice on sprite painting?
I thought I was doing pretty well, having come up with a half dozen unit sprites that looked pretty decent to me. I even uploaded them as the most recent additions to the mod I'm working on. Then I booted up the game to look at them (yepper, I should have done that before uploading).
Ouch!
A lot of what I assumed would be transparent turned out to be black. When I tried to use my fill tool to fix the problem, I wound up turning a lot of what should have been really dark, transparent. (I've since learned to adjust the 'threshold' of the fill tool.) Obviously I am missing a crucial insight as to how to start a new sprite. Should I be starting on a white background and simply 'fill' the white when I am done with pure black (the transparent variety)?
Are there some really obvious tricks that I should be aware of? (Seeing as how the obvious seems to escape me.)
|
November 19th, 2007, 07:41 PM
|
|
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
Re: General advice on sprite painting?
Use layers and masks, if necessary.
|
November 19th, 2007, 08:04 PM
|
|
Major General
|
|
Join Date: Feb 2005
Location: Lake of Hali, Aldebaran, OH
Posts: 2,474
Thanks: 51
Thanked 67 Times in 27 Posts
|
|
Re: General advice on sprite painting?
Is it possible to attach images in-line?
Here's how you handle this, in GIMP, which is what you should use. Photoshop, in addition to costing money, is inferior for this purpose (although it has other nice features which GIMP lacks for other purposes):
1) Keep all of your sprites in a format that preserves transparency, while you are working on them. This can be tga, but keep a transparency layer, and make sure that the background is alpha-0. You can achieve this by selecting everything that should be background and erasing it.
2) When you want to actually use a sprite, there are three steps:
a) Make sure that the background is set to true-black (0-0-0). Double click on the background box in the tool chest to set this by hand if needed.
b) Layer->Transparency->Threshold Alpha
This is the step that you were missing - or couldn't use because you were working on a black background instead of transparency from the begining. 128 (which means 50%) is generally the best setting to use but for an particular image you may want to move the threshold around and see if it looks better. If you do this *after* all rotations, partial transparent painting, etc. etc. ad nauseum, you'll see what the sprite actually should look like in-game.
If GIMP gives you bull**** about doing this, save the image as a .tga and then open it again.
c) Image->Flatten Image
This introduces a perfect black background. Since you threshold alpha before doing this, you don't end up with any really-dark-but-should-be-50%-transparent-pixels.
The game actually will accept a tga with a transparency layer, but I don't know how it handles it or whether it's possible to give such images shadows. Most of the older modders are used to the black-background graphics so that's what most people use. I also think it's what KO himself uses.
__________________
If you read his speech at Rice, all his arguments for going to the moon work equally well as arguments for blowing up the moon, sending cloned dinosaurs into space, or constructing a towering *****-shaped obelisk on Mars. --Randall Munroe
|
The Following 2 Users Say Thank You to DrPraetorious For This Useful Post:
|
|
November 19th, 2007, 10:45 PM
|
Corporal
|
|
Join Date: Aug 2004
Location: Montreal
Posts: 186
Thanks: 21
Thanked 16 Times in 7 Posts
|
|
Re: General advice on sprite painting?
Thank you DrPraetorious. I can see that things have progressed a lot since I played around with Paint Shop Pro 3.0 twelve years ago.
By the way, I am still looking forward to your race design system. I like working within a point structure, it makes it relatively easy to balance things. Unlike this Chaos mod. ;-)
|
November 20th, 2007, 01:14 AM
|
BANNED USER
|
|
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
|
|
Re: General advice on sprite painting?
I use psp and never mess around with layers, alphas, transparencies and all that rubbish. I just use 0, 0, 0 for transparent, 255 0 255 for shadow.
It's not rocket science.
|
November 20th, 2007, 01:24 AM
|
|
Major General
|
|
Join Date: Oct 2006
Location: Tennessee USA
Posts: 2,059
Thanks: 229
Thanked 106 Times in 71 Posts
|
|
Re: General advice on sprite painting?
I do it the same way sombre does. But I need to find a good graphics utility that works off a jump drive. Anyone know of one? =)
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|