View unanswered posts | View active topics It is currently Thu Jan 09, 2025 10:19 pm



Reply to topic  [ 6 posts ] 
 Spriting problem 
Author Message
User avatar

Joined: Sun Aug 09, 2009 9:26 am
Posts: 1633
Reply with quote
Post Spriting problem
Ok, I'm working on a mod, and I created a gun sprite. I sued a transparant background, and it looks fine when I face right, but if I face left, orange pixels appear over the gun image. Does anyone have any idea how to fix it? I use Gimp as my image program, and I'm using the cc full pallette


Fri Aug 14, 2009 12:00 am
Profile
User avatar

Joined: Mon Oct 06, 2008 2:04 am
Posts: 1559
Reply with quote
Post Re: Spriting problem
You'd probably have to link the sprites for us to have any idea of what you're talking about.
Also, CC doesn't have alpha levels for transparency. Pink or "True purple" (Full 255 Red and Blue, 0 Green) is the color used for CC transparency.


Fri Aug 14, 2009 12:12 am
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Spriting problem
You must save with the sprite flattened and the true purple he mentioned as your background.
Also, make sure when you set the image to indexed that you do not trim the colormap to used colors only. You have to have the whole palette in the colormap, in the correct order.


Fri Aug 14, 2009 12:15 am
Profile
User avatar

Joined: Sun Aug 09, 2009 9:26 am
Posts: 1633
Reply with quote
Post Re: Spriting problem
Well, first off, for some reason, that true purple thing made it take a transparent chunk out of the game, like whatever was inside the transparent part of the image was just invisible, along with that part. here's the sprite.

edit: ermmm...how would I use the full colormap thing instead of just the ones I used?


Attachments:
AR-112000.bmp [974 Bytes]
Not downloaded yet
Fri Aug 14, 2009 12:24 am
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Spriting problem
Ah, I see what the problem is. You were using the correct colors, but your image was not indexed. Follow the tiny font instructions in this post.


Fri Aug 14, 2009 12:36 am
Profile
User avatar

Joined: Sun Aug 09, 2009 9:26 am
Posts: 1633
Reply with quote
Post Re: Spriting problem
Thanks, that worked like a charm. Now, time to make another gun, lol.


Fri Aug 14, 2009 12:51 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.034s | 14 Queries | GZIP : Off ]