Set Alpha?

Blitz3D Forums/Blitz3D Programming/Set Alpha?

Joestick(Posted 2006) [#1]
Help,

How i set image alpha?
Obs: 2D enviroment(Using DrawImage(...))


tonyg(Posted 2006) [#2]
You can't set image alpha in B2D, B3D or B+ using Drawimage.
In BlitzMax use the setblend ALPHABLEND command with setalpha 0.n

<edit> P.S. Somebody will post to suggest using a 2D in 3D lib like NSprite2 or SpriteCandy. An alternative is to alpha the image yourself using writepixelfast commands or you can use the B2D Extended DLL.


gosse(Posted 2006) [#3]
pfff, like I would post to suggest nSprite 2


Joestick(Posted 2006) [#4]
thanks!!!