Page 1 of 1

Transparent Pointer

Posted: Sun May 01, 2011 4:53 pm
by djrikki
Hello,

After loading in a brush and assigning it as a pointer the transparency/alpha channel is lost. Check this out.

Code: Select all

	LoadBrush(#SCROLLPOINTER, #AISSFOLDER .. "movecursor", {Transparency = #FUCHSIA})
	CreatePointer(0, #POINTER, #STDPTR_SYSTEM)
	CreatePointer(1, #POINTER, #STDPTR_BUSY)
	CreatePointer(2, #BRUSH, #SCROLLPOINTER)
The movecursor mason icon has a mesh of black pixels representing the shadow underneath the hand of the pointer, instead it appears as a filled area. :(

Re: Transparent Pointer

Posted: Tue May 03, 2011 7:49 pm
by airsoftsoftwair
You have to use a brush that has alpha channel transparency. If you use a static transparent color like #FUCHSIA, the brush will get a monochrome transparency mask (pixels either invisible or visible). Custom mouse pointers, however, only support alpha channel transparency. Simply use PNGs with alpha channel and it should work fine.