Raised This Month: $ Target: $400
 0% 

Sprite animations


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 07-15-2011 , 06:52   Re: Sprite animations
Reply With Quote #1

Well i have different sprites and all of them work only on alphatest
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 07-15-2011 , 09:14   Re: Sprite animations
Reply With Quote #2

And he has a additive sprite, that's my point.

When you create sprites, you can choose what type of transparency it has, they can be: additive, alphatest, indexalpha and no transparency.
__________________

Last edited by Hunter-Digital; 07-15-2011 at 09:16.
Hunter-Digital is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 07-15-2011 , 09:34   Re: Sprite animations
Reply With Quote #3

Thats what i also meant, i created my sprite with alphatest transpearency type and they only worked on that type if i tried additive mode of transpearency then it would also show black (which is supposed to be transperant)
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 07-15-2011 , 09:58   Re: Sprite animations
Reply With Quote #4

Black isn't supposed to be transparent, the last indexed color is, it can be any color.

If you don't have a program that allows you to edit BMP's color palette, then you can't really alter it properly.
I use IrfanView to view and edit 256 color paletes.
__________________
Hunter-Digital is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 07-15-2011 , 11:04   Re: Sprite animations
Reply With Quote #5

Quote:
Originally Posted by Hunter-Digital View Post
Black isn't supposed to be transparent, the last indexed color is, it can be any color.

If you don't have a program that allows you to edit BMP's color palette, then you can't really alter it properly.
I use IrfanView to view and edit 256 color paletes.
Oh now i understand all this, Thank You.
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:51.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode