Eric Rowell
|
1ad2530889
|
removed john resig's Class class because it was really slowing down node instantiations. Created a custom solution that's much lighter weight, and about 50% faster
|
2012-08-22 23:35:21 -07:00 |
|
Eric Rowell
|
6a58830df3
|
draw methods now draw on both the front and back buffer by default, unless a canvas is passed as an argument. continued fixing up unit tests. Image width and height are now synced whenever the image object changes.
|
2012-08-15 23:13:50 -07:00 |
|
Eric Rowell
|
58cabf8ddc
|
hooked node transitions and sprite animation into new animation API
|
2012-08-08 23:41:16 -07:00 |
|
Eric Rowell
|
9ad9121259
|
Kinetic.Animation is now a class that can be instantiated to better represent animation objects. Rather than creating new animation objects and destroying them each time an animation is started and restarted, the same animation obect is now reused, which should help with performance
|
2012-07-31 23:23:00 -07:00 |
|
Eric Rowell
|
9631d6e1bb
|
split up methods from the PathHelper class and moved them to Path and Geometry. Path specific methods went to Path, and general purpose geometric utility methods went to the Geometry utility class. TextPath now inherits methods from Path
|
2012-07-28 16:08:14 -07:00 |
|
Eric Rowell
|
c4a359cd48
|
moved drawFunc definition out of the shape initializers as a method to improve space performance
|
2012-07-28 10:46:16 -07:00 |
|
Eric Rowell
|
ce3b98ee9c
|
added some performance tweaks and polished up code here and there
|
2012-07-26 22:58:38 -07:00 |
|
Eric Rowell
|
c26a1ae5d5
|
merged jfollas's new TextPath shape, and moved non-primative shapes to the plugins folder as shape plugins
|
2012-07-24 23:18:46 -07:00 |
|
Eric Rowell
|
d8bbbf6353
|
new Canvas class to decouple layer and canvas, providing more flexibility. drawing operations now require a canvas object rather than an optional layer which contained a canvas. fixed some transformation issues introduced with a pull request that I pulled in last week
|
2012-07-18 23:28:45 -07:00 |
|
Eric Rowell
|
780d5568db
|
updated the documentation for all methods to reflect the new inhertiance changes. And yes, if you're curious, it took forever.
|
2012-07-08 21:56:52 -07:00 |
|
Eric Rowell
|
5169c93219
|
fixed afterFrame index bug which caused the event to trigger on the wrong index
|
2012-07-08 19:15:23 -07:00 |
|
Eric Rowell
|
30fd5c1fa7
|
greatly improved sprite animation performance by hooking into the global animation object
|
2012-07-07 21:39:03 -07:00 |
|
Eric Rowell
|
a8ab9a2533
|
implemented clone method (inspired by matteo78) and added thorough unit tests
|
2012-07-07 14:43:12 -07:00 |
|
Eric Rowell
|
3d4d2d20c0
|
now utilizing John Resig's mashup of Base.js and protototype.js inheritiance Class so that it's easy for developers to extend KineticJS objects with extend() or to simply tack on new methods and properties that's available to all children classes. Moved getter and setter logic to Node. Moved transition class to root directory and created Tween class
|
2012-07-03 12:07:27 -07:00 |
|
Eric Rowell
|
c1a08d8073
|
created new addSettersGetters method, further enhanced dynamic getters and setters
|
2012-06-23 18:09:10 -07:00 |
|
Eric Rowell
|
422791a99a
|
cleaned up undefined, null, 0, and '' comparison operators. To unset a attribute, you can now set it to null, 0, or ''. Setting an attribute to undefined will have no effect
|
2012-06-22 13:15:29 -07:00 |
|
Eric Rowell
|
5765ab749b
|
converting arguments object into true array for setters, restored the original underscore.js methods, and moved radius conversion logic from the setAttrs method to a radiusChange event listener in Ellipse
|
2012-06-20 12:55:34 -07:00 |
|
Eric Rowell
|
73ad904de6
|
updated jsdocs
|
2012-06-14 02:19:51 -07:00 |
|
Eric Rowell
|
6d4738cd2b
|
all simple getters and setters are now dynamically created. This is the first step towards creating a code base that can unpack at run time to reduce file size
|
2012-06-10 13:07:09 -07:00 |
|
Eric Rowell
|
6b70e1b18f
|
now using setAttrs for all Shape and shapes setters
|
2012-06-10 00:02:16 -07:00 |
|
Eric Rowell
|
e075a725a1
|
rewrote shadow logic. Shadows can now be applied to images and sprites, even if they have transparent pixels
|
2012-05-26 20:34:36 -07:00 |
|
Eric Rowell
|
5526d2847e
|
forgot to move the image object to the attrs for Kinetic.Image and Kinetic.Sprite
|
2012-05-20 21:41:05 -07:00 |
|
Eric Rowell
|
c6040ebf9d
|
a bit of refactoring here and there, added some getters and setters that i missed in Kinetic.Sprite
|
2012-05-13 14:04:29 -07:00 |
|
Eric Rowell
|
3585e000b6
|
added new Kinetic.Sprite shape that enables you to easily add animated sprites to the stage
|
2012-05-02 00:35:32 -07:00 |
|