Posted: 5th Sep 2011 16:12
Hi,

Quick question regarding "SetSpriteTransparency"; the documentation states that mode 2 is for alpha-masking mode, however when you try to use this mode you get a runtime error saying that it is not supported.

Is this a bug or has this mode just not been implemented yet?

Many thanks,

Red.
Posted: 6th Sep 2011 15:36
It used to be supported but came with a performance hit on most platforms, then when Meego didn't support it at all it was easier to just remove it. You can get the same effect with an alpha transparant image using only alpha values 0 and 255.
Posted: 7th Sep 2011 10:38
Just make a .png file with no background. If you need more information on how to do this let me know with a post. I am following this by receiving email on reply.
Posted: 7th Sep 2011 21:30
Any guidance would be appreciated thanks.

I'm not new to programming (not by a long stretch) but I haven't dabbled with games development since the 80's so as far as creating graphics for games is concerned, I'm a total novice.

I've created PNG images with a "coloured background" such as white and then set the transparent colour to white but this does not look good when displayed on a dark background (you see fringing around the edges which is especially when the PNG image was created with anti-aliasing switched on to smooth things out), so if you can give me some pointers to creating a PNG with "no background" that would be great.

Thanks.
Posted: 7th Sep 2011 22:01
What graphics tool are you using? If it has a 'background eraser' or 'magic selection' tool you can use that to remove the whie background.

However what you really need to do is recreate the graphic with the transparent background. Removing the background from your current image is likely to leave the fringing.
Posted: 8th Sep 2011 4:24
Red, do out still have a copy of PSP ? If so you can set a transparent background by checking off the option when you start a new image.

Then once your happy with the image. You'll need to export the image with File>Png Optimizer>Transparency. Select Alpha Transparency and your done.
Posted: 8th Sep 2011 11:20
Auger - that's for the info, although I don't have PSP anymore, the last version I had was probably over 10 years ago; I am using some very basic screen grabbing/editing tool right now and just trying to figure out what the best graphics tool is, see my other post...

http://forum.thegamecreators.com/?m=forum_view&t=189130&b=41

I think I am going to give ProMotion 6 a try.