Alex Szpakowski
c7838b78b6
Added love.graphics.setAlphaTest (issue #534 )
2013-04-10 13:17:54 -03:00
Alex Szpakowski
23a0f3a69c
Merged love-experiments/love.graphics.setColorMask into default
2013-03-27 19:43:04 -03:00
Alex Szpakowski
6c5daab312
Fixed up the API: setCanvas (singular) now only takes one canvas, setCanvases must be used for multi-canvas rendering
...
--HG--
branch : MRTs
2013-03-25 21:23:09 -03:00
Alex Szpakowski
7e753a0acb
Renamed love.graphics.setDefaultImageFilter to love.graphics.setDefaultFilter
2013-03-21 11:27:40 -03:00
Alex Szpakowski
8c406b7a4b
Added anisotropic filtering functionality for images, consolidated mipmap methods into Image:setMipmapFilter(filtermode, sharpness, anisotropy), added love.graphics.setDefaultMipmapFilter(filtermode, sharpness, anisotropy)
2013-03-19 22:42:12 -03:00
Alex Szpakowski
94f140454f
More Quad code cleanup
2013-03-11 22:46:25 -03:00
Alex Szpakowski
17bcab4f32
Added love.graphics.getDimensions and Image/Canvas/ImageData:getDimensions (issue #566 )
2013-03-11 19:03:37 -03:00
Alex Szpakowski
524368331d
Removed love.graphics.setColorMode
...
- The "replace" color mode can easily be duplicated with love.graphics.setColor(255, 255, 255)
- The current color mode has no effect when a shader is active
- Color mode functionality can easily be replicated with shaders
- OpenGL ES 2 (iOS, Android, etc) does not have the functions used by love.graphics.setColorMode
2013-03-04 13:58:14 -04:00
Alex Szpakowski
f0ca4f6c97
Removed internal code for love.graphics.triangle and love.graphics.quad
2013-03-03 18:49:56 -04:00
Alex Szpakowski
e5670e69b3
Added love.graphics.setColorMask(r, g, b, a) and love.graphics.getColorMask()
...
setColorMask enables or disables specific color components when rendering and clearing the screen.
For example, setColorMask(true, false, true, true) will prevent the green component of the color of all rendered objects from being written to the current frame buffer.
setColorMask is a wrapper for http://www.opengl.org/sdk/docs/man2/xhtml/glColorMask.xml
--HG--
branch : love.graphics.setColorMask
2013-02-26 11:24:30 -04:00
Alex Szpakowski
e1779897ab
Removed love.graphics.drawTest
2013-02-14 08:03:55 -04:00
Alex Szpakowski
96161c66f6
Updated copyright text for the new year
2013-02-05 05:32:49 -04:00
Alexander Szpakowski
e24d721381
Renamed all instances of 'ShaderEffect' (previously 'PixelEffect') to 'Shader'.
2013-01-16 07:21:41 -04:00
Alexander Szpakowski
0611234067
changed PixelEffect name to ShaderEffect, added lua-side support for vert/frag shader combinations with love.graphics.newShaderEffect, added tentative support for single-file vertex+fragment shaders
2012-12-20 21:51:31 -04:00
vrld
85fa71c519
Make love.graphics.getFont() return (and set) default font when no font set.
...
Use closures instead of love.graphics.print(f)1() and love.graphics.newFont1.
2012-07-05 16:14:44 +02:00
Bart van Strien
7793e7f02f
CRLF to LF
2012-07-04 14:40:24 +02:00
rude
81c38e22d0
Applied the new style guidelines.
...
Well, sort of. Lot's more to be done, but this is a start.
2012-06-28 23:52:33 +02:00
Bill Meltsner
be55579a22
Happy New Year, have an enormous diff
2012-01-09 02:41:11 -06:00
vrld
247f57c10b
Fix issue 246: Add line antialiasing through 'overdraw'.
...
Points to consider:
- Make softness customizable (`halo' in Graphics::polyline()).
- Add overdraw at beginning and ending edge of the line.
2011-12-25 19:05:04 +01:00
Bart van Strien
9682ebecf9
Remove love.graphics.setFont([<file>,] <size>) shorthand, idiom is now love.graphics.newFont([<file>,] <size>):set()
...
This makes sure that setFont doesn't create any fonts.
2011-12-13 18:51:24 +01:00
vrld
2b7da8ea27
Rename love.graphics.[sg]etRenderTarget to love.graphics.[sg]etCanvas
2011-12-11 16:24:59 +01:00
Bart van Strien
0aae9684b3
Automated formatting fix
2011-11-16 11:32:41 +01:00
vrld
cd66b01da3
Add GLSL version number check to PixelEffect::isSupported()
2011-10-26 21:17:40 +02:00
vrld
48137cd2e1
Fix Issue #278 : Set default filter mode for new images.
...
Add the somewhat lengthy named love.graphics.getDefaultImageFilter() and
love.graphics.getDefaultImageFilter(). The verbose name should point to the
fact that changing the default filter midway through the game will not affect
the images already loaded using love.graphics.newImage().
2011-10-07 14:44:17 +02:00
vrld
28b4008797
Rename Framebuffer to Canvas (issue #263 ). Move error reporting code.
...
Error reporting now resides in Graphics::newCanvas() instead of the
previous location wrap_newFramebuffer(). Changed error text for
"Error in implementation" to point to a possible fix.
2011-08-12 14:41:18 +02:00
Bart van Strien
4165ac7e66
Add love.event.quit
2011-08-06 14:22:00 +02:00
Bart van Strien
bd2b190a19
Add love.graphics.isSupported
...
Replaces love.graphics.hasPixelEffects and also does framebuffer support.
Also fixed 4 compiler warnings.
2011-07-24 15:21:52 +02:00
vrld
24a52f056b
Add pixel effects (love-glsl)
2011-07-24 14:03:46 +02:00
Bart van Strien
cc4f0e2661
Add love.graphics.getMode, thanks Boolsheet (issue #254 )
2011-07-11 17:14:52 +02:00
vrld
d420d68048
Add shear transformation and transform object (issue #152 ).
...
Add origin parameters to love.graphics.print.
New shear parameters kx,ky for:
- love.graphics.draw,
- love.graphics.drawq,
- love.graphics.print,
- SpriteBatch:add,
- SpriteBatch:addq.
Transform objects apply to:
- love.graphics.draw,
- love.graphics.drawq,
- love.graphics.print.
2011-07-05 14:33:34 +02:00
vrld
939041886c
Add masking (see issue #211 ). Only "hard" masks are supported, no
...
semitransparent ones.
--HG--
branch : minor
2011-04-26 22:10:34 +02:00
rude
3fe9b2ff16
Reverted module selection feature. This is not really desired.
...
Users (or lovers) do not get to choose which implementation of
a module they would like to use.
The abstraction is for dealing with portability issues, not
for giving people the ability to choose an alternative
(inferior) backend. The best choice for any platform/situation
should at all times be the *default* for that platform/situation.
If this is not the case; it's a bug (that is easily fixed).
Any module should provide the functionality promised in the docs.
The lover (or user) should not care how, and if [s]he does, [s]he
does still not get to choose.
Also, a related note: duplication of wrapper code is something I
especially wanted to avoid when I first (or should I say ...
"eventually") formed the current architecture.
--HG--
branch : minor
2011-03-26 17:06:05 +01:00
Bill Meltsner
33a2110b00
added love.graphics.arc
...
--HG--
branch : minor
2011-03-17 20:50:27 -04:00
Bart van Strien
b4139ffab5
Rename loaders to fit their locations
...
--HG--
branch : minor
2011-03-13 20:25:35 +01:00
Bill Meltsner
94b4319878
trashed old unnecessary font stuff - compiles, but obviously will not work yet
...
--HG--
branch : newfont
2011-03-05 23:17:36 -05:00
Bill Meltsner
fde708160e
bringing in the new year by changing every 2010 to 2011
2011-01-15 14:40:27 -06:00
Bart van Strien
f4da97d46e
Add hasFocus (issue #117 )
2010-11-28 11:29:48 +01:00
vrld
320ac05fd1
Fix of http://bitbucket.org/bartbes/love-fbo/issue/7
...
Move fbo:grab() to love.graphics.setRenderTarget( fbo )
Move fbo:stop() to love.graphics.setRenderTarget( nil )
Rename fbo:render( func ) to fbo:renderTo( func )
2010-08-26 20:44:30 +02:00
Bart van Strien
9d35792fe5
Did the name change
2010-08-13 13:33:13 +02:00
Bart van Strien
f87738edb5
Added first review of vrld's FBO patch
2010-08-10 19:05:56 +02:00
Bart van Strien
b8c82d51b8
Oops, that wasn't supposed to be in the repo (yet)
2010-08-10 16:43:35 +02:00
Bart van Strien
8362e86627
First import and review of vrld's patch
2010-08-10 16:23:11 +02:00
Bill Meltsner
176645e25d
added love.graphics.setIcon
2010-08-01 08:56:05 -05:00
rude
aa01c984b9
Updated all dates to 2010.
2010-01-31 16:54:47 +01:00
rude
ec41545933
Added newQuad.
2009-12-10 22:38:26 +01:00
rude
05439961d2
Font can now be omitted from setFont/newFont to use the default font.
2009-11-30 22:55:30 +01:00
bill@Ixion
cece5fe625
readded support for screenshots - love.graphics.newScreenshot() returns ImageData that can be manipulated as one pleases
2009-09-01 03:56:00 -05:00
rude
a237008ce2
ParticleSystem works now. Error handler no longer loops forever. :)
2009-08-27 00:48:08 +02:00
rude
a3bff7cde9
Reintegrated ParticleSystem.
2009-08-26 00:14:40 +02:00
rude
c52c218ba1
Renamed Frame to Quad; added drawq/addq; fixed some bugs.
2009-08-17 23:35:04 +02:00