Are there any help about function Arguments

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
poorenglish
Prole
Posts: 47
Joined: Thu Sep 24, 2009 1:49 pm

Are there any help about function Arguments

Post 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
User avatar
osgeld
Party member
Posts: 303
Joined: Sun Nov 23, 2008 10:13 pm

Re: Are there any help about function Arguments

Post by osgeld »

User avatar
TechnoCat
Inner party member
Posts: 1612
Joined: Thu Jul 30, 2009 12:31 am
Location: Milwaukee, WI
Contact:

Re: Are there any help about function Arguments

Post by TechnoCat »

love.blend_normal Normal blendig mode.
love.blend_additive Additive blending mode.
User avatar
bmelts
Party member
Posts: 380
Joined: Fri Jan 30, 2009 3:16 am
Location: Wiscönsin
Contact:

Re: Are there any help about function Arguments

Post 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".
poorenglish
Prole
Posts: 47
Joined: Thu Sep 24, 2009 1:49 pm

Re: Are there any help about function Arguments

Post by poorenglish »

THKs
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests