When importing PNG sprites from photoshop, I can't get the space around the sprite to be properly transparent. The transp. works fine when viewed in the sprite import dialogue, but once it's inside AGS, it shows its ugly self.
Anyone had this issue? Have tried using both png, jpg and gif, same everywhere.
(http://farm3.static.flickr.com/2529/3899733397_2676b71290_o.jpg)
any answers will be given virtual pints as thanks!
Make sure you check the sprite in game.
The sprites look strange in the previews in the Sprites and Views sections, but once you actually run the game they should look normal :)
Also, if you import them as objects into a room, they should look normal in the room editor!
If you still have problems, make sure that you've set the colour depth to 32 bit and saved the .png properly out of Photoshop.
Yeah, transparency doesen't work in-game either.
i use 16-bit colors, and of course my photoshop documents are set to 16-bit as well... Still no dice!
So... did you try switching to 32bit?
Yeah, 16 bit doesn't support the alpha channel, so that is most likely your problem. Switch the colour depth to 32 and you should be right to go!
Edit: Gah, Khris is too quick! 8)
Wow, thanks! I'll give that a shot =)
By the way, when importing, does AGS support several levels opacity, like PNG, og just on-or-off, like gif?
It supports different levels of opacities within an image, so you can have smooth edges and the like.
S-W-E-E-T-!
It does, but only if you use 32bit :=