Commit Graph

17 Commits

Author SHA1 Message Date
Bart van Strien 7c8fff979a Create love.window, abstract SDL out of love.graphics 2011-12-11 16:55:52 +01:00
Bart van Strien 0aae9684b3 Automated formatting fix 2011-11-16 11:32:41 +01:00
rude 9a4b921605 Particles now have fixed origin. (ParticleSystem::SetPosition will only affect
new particles, and existing particles will not gravitate against the new point).

This is another requirement to implement ParticleSystem in GLSL.
2011-07-24 18:47:13 +02:00
rude e1d1ebb2f1 Fix warnings in MSVC 2010. 2011-07-24 18:32:11 +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 2425ea9979 Change particle system to accept an arbitrary number of colors and sizes to inerpolate.
API changes:
- ParticleSystem:setSize(min, max, var) -> ParticleSystem:setSizes(s0, ..., sN)
  !! ParticleSystem:setSize() drops variation parameter !!
- ParticleSystem:setColor([color1], [color2]) -> ParticleSystem:setColor([color1], ..., [colorN])

--HG--
branch : minor
2011-04-06 21:24:09 +02:00
Bill Meltsner fde708160e bringing in the new year by changing every 2010 to 2011 2011-01-15 14:40:27 -06:00
rude ea38442770 Fixed VS project files, and a bug where ParticleSystem::setSprite did not retain the new Image. 2010-05-04 18:06:10 +02:00
Bill Meltsner 80bea88c9f replaced a few hardcoded radian->degree conversions with LOVE_TODEG 2010-04-14 11:10:17 -04:00
rude aa01c984b9 Updated all dates to 2010. 2010-01-31 16:54:47 +01:00
bart@bartbes.ath.cx af01b840a1 Several rad2deg conversions for glRotate 2009-11-30 08:21:48 +01:00
bart@bartbes.ath.cx 692fd9a890 Converted ParticleSystem to radians 2009-11-29 13:40:37 +01:00
bill@Ixion 8d666d0284 user can now manually set the offset for particle rotation 2009-08-30 05:05:27 -05:00
bill@Ixion 98db275e76 particles now rotate around their center 2009-08-30 04:33:54 -05:00
rude a3bff7cde9 Reintegrated ParticleSystem. 2009-08-26 00:14:40 +02:00
rude 84bf839872 Removed classes which should be implemented in Lua (or need of re-implementation). 2009-07-26 23:08:40 +02:00
rude dcb3dfd83d Initial Mercurial commit. 2009-07-26 15:46:49 +02:00