No Revisions Have Been Made To This Page
Can you suggest an edit for this page? Click Here
GML Code Example
|val||This can be either true (switched on) or false (switched off)|
This function can be used to toggle alphablending on an off.
Basically, if you have this set to false, all images being drawn
will be drawn 100% opaque, meaning that any transparent, or semi
transparent, areas of a sprite or background will be visible. It is
encouraged that you have alpha blending off whenever possible
(especially when developing for mobile devices) as this
greatly increases the draw speed.