Page 1 of 1

Are there any help about function Arguments

Posted: Tue Oct 13, 2009 12:54 pm
by poorenglish
I find some help of function is poor.
such as :
Synopsis
love.graphics.setBlendMode( mode )
Arguments
mode The blending mode.
OK. what value is for "mode"?I know there is an "blend_additive",is there any other value?
THKS

Re: Are there any help about function Arguments

Posted: Tue Oct 13, 2009 3:22 pm
by osgeld

Re: Are there any help about function Arguments

Posted: Tue Oct 13, 2009 5:22 pm
by TechnoCat
love.blend_normal Normal blendig mode.
love.blend_additive Additive blending mode.

Re: Are there any help about function Arguments

Posted: Wed Oct 14, 2009 8:50 pm
by bmelts
This will be changing in LÖVE 0.6.0, as it now uses string constants.

So, mode would be either "alpha" (normal) or "additive".

Re: Are there any help about function Arguments

Posted: Thu Oct 15, 2009 1:43 pm
by poorenglish
THKs