Re: Help me!

new topic     » goto parent     » topic index » view thread      » older message » newer message

Eduardo Uemura Okada wrote:

> Again, anyone can help me?
> I can create sprites (or shapes) with BMP and GIF files, but they are saved
> like a rectangle, how can I use the "pure" image in it contents?

        You can't :(

        You must save the image as a rectangular region... BUT draw the
backgroud (what you want to be transparent) in a color not used in any
other part of your image... then when you wan't to display the sprite,
just don't "pixel()" the ones that have the transparent color...
        I'm not going to give any code, cause that's not my speciality,
there are several good (and/or excelent) files on RDS homepage that
helps you achieve this.

--
Regards,
        Daniel Berstein
        architek at geocities.com
        http://www.geocities.com/SiliconValley/Heights/9316

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu