Raised This Month: $ Target: $400
 0% 

Set sprite transparent ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bboygrun
CHOMP
Join Date: May 2010
Location: France
Old 12-09-2012 , 09:27   Set sprite transparent ?
Reply With Quote #1

Hello all, i'm trying to create a smoke sprite but there is a big problem : Sprite isn't transparent, (BMP attached in post).

I've tried (i think) all the possibilities to make it transparent, i always saved in 8 bits, at Windows or OS/2 format, and i tried everything, additive, indexalpha, etc ...

Never worked, i don't know why, if someone know how to do can he tells me or/and do it please ?

Thank you in advance.
Attached Images
File Type: bmp test.bmp (10.1 KB, 270 views)
__________________

Last edited by bboygrun; 12-09-2012 at 10:52.
bboygrun is offline
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 12-09-2012 , 10:40   Re: Set sprite transparent ?
Reply With Quote #2

Flag Transparent ?
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
bboygrun
CHOMP
Join Date: May 2010
Location: France
Old 12-09-2012 , 10:51   Re: Set sprite transparent ?
Reply With Quote #3

There is the transparent flag.
__________________
bboygrun is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 12-09-2012 , 12:34   Re: Set sprite transparent ?
Reply With Quote #4

what message do you use to draw this sprite?
.Dare Devil. is offline
bboygrun
CHOMP
Join Date: May 2010
Location: France
Old 12-09-2012 , 13:10   Re: Set sprite transparent ?
Reply With Quote #5

TE_FIREFIELD

I just took xPaw's colored smokegrenade plugin.

EDIT : But the problem isn't from the plugin because i extracted BMP from one of the sprites used in this plugin, open it and save it again, then compile it in sprite explorer, but it doesn't work too.
So it comes from "saving in good format" or something like that.

Could someone try compile the sprite with the given BMP please ? Just attach it and i will test.
__________________

Last edited by bboygrun; 12-09-2012 at 13:12.
bboygrun is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 12-09-2012 , 15:57   Re: Set sprite transparent ?
Reply With Quote #6

Quote:
Originally Posted by bboygrun View Post
TE_FIREFIELD

I just took xPaw's colored smokegrenade plugin.

EDIT : But the problem isn't from the plugin because i extracted BMP from one of the sprites used in this plugin, open it and save it again, then compile it in sprite explorer, but it doesn't work too.
So it comes from "saving in good format" or something like that.

Could someone try compile the sprite with the given BMP please ? Just attach it and i will test.
I remember that bmp must have also some special things.

You must create alpha layer for bmp and use indexalpha.
bmp must be 24bit.
.Dare Devil. is offline
bboygrun
CHOMP
Join Date: May 2010
Location: France
Old 12-09-2012 , 17:05   Re: Set sprite transparent ?
Reply With Quote #7

Tried but no results :/
__________________
bboygrun is offline
XINLEI
me too
Join Date: Jun 2011
Location: Colombian Coffee storage
Old 12-10-2012 , 08:51   Re: Set sprite transparent ?
Reply With Quote #8

you have to compile the sprite in alphatest mode IIRC.
XINLEI is offline
bboygrun
CHOMP
Join Date: May 2010
Location: France
Old 12-10-2012 , 11:11   Re: Set sprite transparent ?
Reply With Quote #9

I already did that, it didn't work ^^
__________________
bboygrun is offline
bboygrun
CHOMP
Join Date: May 2010
Location: France
Old 12-29-2012 , 19:38   Re: Set sprite transparent ?
Reply With Quote #10

Bump, tried again but no results :<
__________________
bboygrun is offline
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 01:23.


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