Version 0.3.2
LÖVE Documentation
OverviewLicenseCreditsInstallingGetting started
Devices
love.graphicslove.audiolove.keyboardlove.mouselove.filesystemlove.timerlove.system
Types
AnimationColorFontFileImageMusicParticleSystemSound
Callbacks
loadupdatedrawmousepressedmousereleasedkeypressedkeyreleased
Miscellaneous
ConstantsConfig filesKeyboard shortcuts
Function
love.graphics.setColor( red, green, blue, alpha )
Usage
love.graphics.setColor( red, green, blue, alpha )
Arguments
redThe amount of red.
greenThe amount of green.
blueThe amount of blue.
alphaThe amount of alpha.
Returns
Nothing
Examples
Example 1: Set the current color as transparent red. love.graphics.setColor(255, 10, 10, 150)