Commit Graph

40 Commits

Author SHA1 Message Date
Eric Rowell
f5d5e26e5e fixed pixel ratio issue with buffer canvas usage 2013-11-02 22:31:09 -07:00
Eric Rowell
31817132d2 using Kinetic.isDragging in Animation class 2013-10-08 09:11:29 -07:00
Eric Rowell
ecdd5cc59a new stage batchDraw() method. draw events are now triggered on drawScene() as well as draw() 2013-07-21 23:41:05 -07:00
Eric Rowell
1cbc3dd31c improved batch draw logic. Each layer isntance now has access to its own batch draw animation 2013-07-05 20:42:02 -07:00
Eric Rowell
3f67cc8b60 got started on jshint errors. still a lot to do 2013-06-01 16:23:31 -07:00
Eric Rowell
7069bf9e0c stage tweens now work correctly. getChildren() and getLayers() now return a Kinetic.Collection. added toArray() method to Kinetic.Collection 2013-05-19 21:07:43 -07:00
Eric Rowell
056346c14d even more documentation 2013-05-18 22:30:57 -07:00
Eric Rowell
b1025be75e updated docs in prep for jsdoc3 migration 2013-05-15 09:27:22 -07:00
Eric Rowell
09c2a461c7 fix #442 2013-05-11 20:07:20 -07:00
Eric Rowell
264d98c1ce polished up the new Tween class. goto changed to seek. auto property conflict resolution. onFinish can now be set 2013-05-11 16:43:09 -07:00
Eric Rowell
622041aeaf added Tween class which replaces the old Transition class 2013-05-10 22:10:05 -07:00
Eric Rowell
ddee366f96 pointed to FRAF for cases when requestAnimationFrame isn't available 2013-05-09 09:45:30 -07:00
Eric Rowell
76a399bfc0 major refactor of directory structure. Killed Util directory. Created Util.js file instead. Moved general purpose methods from Global to Util 2013-05-07 23:51:02 -07:00
Eric Rowell
e2d6993c89 added Global.addMethods() method and defined core constructors in Global 2013-05-07 23:17:57 -07:00
Eric Rowell
8f06f1eb67 heavily updated documentation 2013-05-07 10:19:54 -07:00
Eric Rowell
11f269868f added batchDraw which enables you to call batchDraw() as many times as you want, and let Kinetic automatically combine layer draws together asynchronously 2013-05-05 22:09:32 -07:00
Eric Rowell
e66e147274 Animations can now be tied to multiple layers. Removed Transition and Tween class from the build. Unhooked transition unit and manual tests for now. Added new animation setLayers() and getLayers() methods 2013-05-05 20:57:31 -07:00
Eric Rowell
bf8d2db0df multiple transitions on the same node are now supported 2013-04-28 14:14:45 -07:00
Eric Rowell
ce793a4b25 refactored / cleaned up code in Node and DD 2013-03-23 22:56:22 -07:00
Eric Rowell
be295992e0 when parent and children are both draggable, the lowest level child draggable property now has priority over ancestors. Refactored dependency order in thorfile 2013-01-27 21:29:22 -08:00
Eric Rowell
1502819e9b fixed up Animation docs 2013-01-13 22:52:31 -08:00
Eric Rowell
bc92dc2b6b drag and drop uses a fixed frame rate again 2013-01-13 21:52:31 -08:00
Eric Rowell
8ed84f474a fixed several memory issues with transition logic. Heavily refactored Transition module. New Animation isRunning method. destroy() method now correctly stops currently running transitions. added several transition and destroy related unit tests 2013-01-13 19:59:35 -08:00
Eric Rowell
ffaa108830 removed animations length cached variable because the length can change while the for loop is running 2013-01-09 08:27:57 -08:00
Eric Rowell
d0148a50ac a small bit of animation code cleanup 2013-01-07 19:38:16 -08:00
Eric Rowell
590889f898 optimized animation code 2013-01-07 19:36:12 -08:00
Eric Rowell
ae103710d3 fixed flickering issue with dd on mobile. removed static framerate logic for dd 2013-01-06 23:31:14 -08:00
Eric Rowell
7ba40a6a68 drag and drop operatons now dynamically generate a temporary top layer for high performance drag and drop. When completed, the top layer is removed. Also cleaned up a bit of drag and drop logic 2012-12-30 23:14:23 -08:00
Eric Rowell
03834db910 updated readme and Animation docs 2012-12-21 07:53:26 -08:00
Eric Rowell
3fb9576672 each animation now has its own frame object. This fixes issues that were seen when using multiple animations simultaneously 2012-12-11 22:34:58 -08:00
Eric Rowell
ab19b442a0 wrapped all modules with anonymous func. moved Canvas to root dir because it's now coupled to KineticJS logic. removed whitelisting arrays from Global. Did some prep work for AMD and Node support 2012-12-01 12:04:10 -08:00
Eric Rowell
1913fed33b Kinetic.Animation constructor now just requires a function and optional node. No more config object 2012-11-15 21:30:58 -08:00
Eric Rowell
4cc505446a updated docs 2012-11-05 07:33:54 -08:00
Eric Rowell
78668b0d38 greatly improved animation, transition, and drag and drop performance by dynamically switching between fixed and dynamic frame rates, and also created a single source of truth for the animation frame object 2012-11-03 11:16:33 -07:00
Eric Rowell
3d0cb26e6d updated build file to also minify modules separately for custom builds. Started work on decoupling Animation and DragAndDrop logic from other modules 2012-10-14 18:46:04 -07:00
Eric Rowell
b6db65301c rewrote Animation API to improve flexibility. Animations are no longer tied to the stage. You can now instantiate as many individual animations as you like, and manage them however you like 2012-08-04 00:23:56 -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
ce3b98ee9c added some performance tweaks and polished up code here and there 2012-07-26 22:58:38 -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
de7cab4cf3 moved animation logic into Animation.js. Global.js now only contains logic and properties that operate on stages 2012-07-03 23:00:52 -07:00