Alex Szpakowski
|
2392174eb2
Rounded rectangles with radius values >= the rectangle's width and height are now clamped rather than causing an error.
|
10 years ago |
Alex Szpakowski
|
66942d5f31
Added the ability to use custom mipmaps in Images, via love.graphics.newImage(filename, {mipmap1, mipmap2, ...}). Resolves issue #1064.
|
10 years ago |
Alex Szpakowski
|
88c8e0c071
Added an optional (true by default) boolean argument to love.graphics.setBlendMode to specify whether alpha should be multiplied with rgb when blending.
|
10 years ago |
Alex Szpakowski
|
0583ebe470
All vertex component arguments to Mesh:setVertex and Mesh:setVertexAttribute are now optional rather than required. Float vertex components default to 0, and byte components default to 255.
|
10 years ago |
Alex Szpakowski
|
42ae9c9585
Moved the love.graphics Lua code into the graphics module folder.
|
10 years ago |
Bart van Strien
|
3cb777e2b7
Add basic lua 5.3 support
|
10 years ago |
Alex Szpakowski
|
8c1bc543b9
Fixed love.graphics.rectangle erroring when the width or height is 0.
|
10 years ago |
Alex Szpakowski
|
f334a24f79
Potentially better calculation for the default number of points in the rounded-rect variant of love.graphics.rectangle.
|
10 years ago |
Alex Szpakowski
|
4fe8e7214d
Error if the rx and ry parameters of love.graphics.rectangle are >= half the rectangle's width or height, respectively.
|
10 years ago |
Alex Szpakowski
|
0f986b10aa
Cleaned up some code, the 'ry' parameter of love.graphics.rectangle now defaults to the value of 'rx' rather than defaulting to 0.
|
10 years ago |
muddmaker
|
2a4524e5c0
Make ry optional, and ellipse can replace circle.
|
10 years ago |
muddmaker
|
0119e47f87
Make roudned rectangle a variant of rectangle
|
10 years ago |
muddmaker
|
cb3ae86726
Add rx and ry parameters to roudnedRectangle
|
10 years ago |
muddmaker
|
dd41ccfbf7
Fix another typo.
|
10 years ago |
muddmaker
|
439cc65382
Fix typo
|
10 years ago |
muddmaker
|
fbc419fda6
Add eclipse and roundedRectangle to love.graphics
|
10 years ago |
Alex Szpakowski
|
30b083bd23
Fixed the new love.graphics.newMesh variant that accepts a Data object.
|
10 years ago |
Alex Szpakowski
|
2844499ef7
Added the ability to have custom vertex attributes in Meshes (resolves issue #768.)
|
10 years ago |
Alex Szpakowski
|
cf0968fc6d
Avoid some VC++ compiler warnings
|
10 years ago |
Alex Szpakowski
|
3aafab9607
Hopefully fixed compilation in Windows.
|
10 years ago |
Alex Szpakowski
|
a29b349014
Added love.math.compress(data, format [, level]) and love.math.decompress(compresseddata) / love.math.decompress(compressedstring, format).
|
10 years ago |
Alex Szpakowski
|
e237ed2432
love.graphics.discard now accepts a table of booleans indicating which of the active canvases to discard (matches love.graphics.clear.)
|
10 years ago |
Alex Szpakowski
|
14cbc91e7f
Fixed a memory leak in love.graphics.newText.
|
10 years ago |
Alex Szpakowski
|
468127eed4
Added a variant of love.graphics.clear which accepts a color table argument for each active canvas, allowing it to clear active canvases to different colors without having to call love.graphics.setCanvas.
|
10 years ago |
Alex Szpakowski
|
a119e6a862
Added an optional spacing argument to love.graphics.newImageFont, allowing additional spacing (positive or negative) to be applied to all glyphs rendered using that font.
|
10 years ago |
Alex Szpakowski
|
b1f4beac56
Fixed the internal color mask state not being updated when love.graphics.setColorMask is called.
|
10 years ago |
Alex Szpakowski
|
2e8f19930c
Fixed love.graphics.stencil
|
10 years ago |
Alex Szpakowski
|
52b2701cf0
Removed love.graphics.clearStencil. love.graphics.stencil now clears the stencil buffer unless true is passed as an optional second argument ('keep the existing contents'.)
|
10 years ago |
Alex Szpakowski
|
3536f2665f
love.graphics.clear can accept an array of color components.
|
10 years ago |
Alex Szpakowski
|
2f419c1c83
Replaced most cases of type bits and type name strings in love's Lua wrapper code with type id's.
|
10 years ago |