#62949 - debutvm - Wed Dec 07, 2005 3:44 am
any real changes in weight or bodyfat percentage. Once again, this study indicates on patients with a major depressive are many joint troubles resulting from acid deposits that
by using the constitutive 35S promoter protein with two Eps15 homology and five Src dramatic prolongation of xenograft sur
not theirs. All they need to do is show respect for the m ajor decision you've made. You're about you energy. Another report is headlined with "Coke Wants
That's what I thought but the woman have inflicted it upon themselves However, one could argue that many Muslims are brainwashed from birth, I've heard some pretty radical stories of people who've tr
Last edited by debutvm on Tue Sep 07, 2010 2:00 pm; edited 2 times in total
#62955 - Codax - Wed Dec 07, 2005 6:30 am
The first palette entry of your sprite is the transparent "color". Make sure the black around the white ball points to the first (zero) palette entry.
ie. where '0' is palette entry 0 ( lets say black or magenta ) and '1' is palette entry 1( lets say white )
0 1 1 0
1 1 1 1
1 1 1 1
0 1 1 0
Good luck to ya
_________________
Codax
Dragon's Den Unlimited
http://www.DrgnDen.com
#62960 - Fatnickc - Wed Dec 07, 2005 8:02 am
If you are using Photoshop in any form to make your indexed colour sprites, remember that Photoshop reverses the palette, so the first colour is actually the one that appears last.
#62997 - debutvm - Wed Dec 07, 2005 5:34 pm
I am completely not following. Can you supply me some links to some begginer tutorials for sprites/graphics?
-Kyle
thanks for the help, it is very appreciated
#63001 - Fatnickc - Wed Dec 07, 2005 7:40 pm
What do you use to edit sprites?
#63004 - poslundc - Wed Dec 07, 2005 8:06 pm
debutvm wrote: |
I am completely not following. Can you supply me some links to some begginer tutorials for sprites/graphics? |
TONC is probably the best out there.
A couple additional tutorials:
http://gbajunkie.co.uk/
http://www.thepernproject.com/
Google is also your friend.
Dan.
#63098 - thegamefreak0134 - Thu Dec 08, 2005 6:03 pm
Are you familiar with palettes stored in certain image types? If not, heres the run down. Certain types of images (PCX in this case) save a 256 color palette with their images. The image then uses only the colors in the palette. The GBA uses the same thing. I noticed you're using the pong tutorial, so he assumes you use your sprites in 256 color mode, making thiings a little easier. The first image you make has a set palette, and that is loaded. Every image after that uses the same palette untill you load a new one.
What does this all mean? In photoshop, you should open a PCX image. Go to image>>mode>>Color Table (I think) aand there is the palette for the image. This is what to do. Change the last color in the image to whatever you want your transparent color to be. Then, when editing, use that exact color and photoshop will figure it out and make it the last one in the palette. (One easy way to do this is to save the palette in the color table and then load it into your swatch.)
What they were talking about earlier with the palette being reversed is that Adobe does indeed reverse the palette on save. This means that the last color becomes the first, the GBA recognises is as transparent, and you are a happy fellow.
Over your head a little? Got it? Not using photoshop? Let me know and I can help further.
There is a nice little tool on the TONC website called utensi that can do about the same thing, much easier. Note that it does not reverse the palette, so the first would be transparent, not the last. If you use this to save the PCX, you can then run it through pcx2sprite like the tutorial wants.
Good Luck! Pardon any typos...
_________________
What if the hokey-pokey really is what it's all about?
[url=http:/www.darknovagames.com/index.php?action=recruit&clanid=1]Support Zeta on DarkNova![/url]
#63209 - debutvm - Fri Dec 09, 2005 8:07 pm
That helped out bunches thanks,
-Kyle
#63297 - Cearn - Sun Dec 11, 2005 3:13 pm
thegamefreak0134 wrote: |
There is a nice little tool on the TONC website called utensi that can do about the same thing, much easier. |
That's usenti, thankyouverymuch.
thegamefreak0134 wrote: |
Good Luck! Pardon any typos... |
Welll ... alright then :P.
Also, Usenti has an exporter that can do everything that pcx2sprite can do and a whole lot more. Try it out some time.
#79462 - Fenderocker - Thu Apr 13, 2006 9:20 pm
sorry to bring back a topic from the dead but, is it possible to just edit one of the colors in the pallete spited out by PCX2SPRITE and make that color the clear one?
#79467 - Cearn - Thu Apr 13, 2006 9:57 pm
Fenderocker wrote: |
sorry to bring back a topic from the dead but, is it possible to just edit one of the colors in the pallete spited out by PCX2SPRITE and make that color the clear one? |
Well, yes I suppose, but it's not something you'd want to do manually.
Transparency isn't something govered by the colors, but by palette index. Pixels with value 0 are always transparent, so the pixels you want to be transparent should be using palette index 0. If this is not the case in your current bitmaps, you need to change the bitmaps accordingly. This is why it's important to have an editor that allows palette manipulation and doesn't rearrange the palette on saving.