How do you get the Alpha of an entity
Blitz3D Forums/Blitz3D Beginners Area/How do you get the Alpha of an entity
| ||
How do you get the alpha information from an entity other then storing it with each change to the alpha. looking for something like, GetEntityAlpha#(entity) or CurrentAlpha#(entity). or is it just not possable. seems like it should be included with all the other entity information. The reason I ask is because I'm trying my hand at creating a particle system. and I need each particle to fade before being reset (I figured resetting a particle is less cpu intensive then deleting and creating a new particle every time one dies). And sense each particle has a random alpha I need to have that value so the fade out is smooth. |
| ||
Look here: http://www.blitzbasic.com/Community/posts.php?topic=75711 BP_GetEntityAlpha#( entity ) : "GetEntityAlpha@4" ; returns EntityAlpha |