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
|
f9277b8fec
|
more Tween polishing
|
2013-05-11 23:57:14 -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
|
335bd10310
|
changed Ease namespace to Easings
|
2013-05-10 22:17:58 -07:00 |
|
Eric Rowell
|
622041aeaf
|
added Tween class which replaces the old Transition class
|
2013-05-10 22:10:05 -07:00 |
|
Eric Rowell
|
8f06f1eb67
|
heavily updated documentation
|
2013-05-07 10:19:54 -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
|
d75fd4b40a
|
refactored filter API so that transitions can hook into the filter controls. Filter transitons are now working. Filters can now also have an unlimited number of parameters. added _applyFilter flag to ensure that new filters are only applied once, when needed, right before a redraw
|
2013-05-04 00:40:46 -07:00 |
|
Eric Rowell
|
e22f5c4bcf
|
added dynamic color component setters, and also added more unit tests
|
2013-05-03 21:13:26 -07:00 |
|
Eric Rowell
|
79a46edad7
|
removed point specific logic from the Transition class. To run transitions, you can now only transition properties which are numbers only. This means that if you want to transition a point, such as offset, you can transition the offset property with a number which will transition both x and y, or you can transition offsetX or offsetY individually
|
2013-04-29 10:16:23 -07:00 |
|
Eric Rowell
|
bf8d2db0df
|
multiple transitions on the same node are now supported
|
2013-04-28 14:14:45 -07:00 |
|
Eric Rowell
|
515c9702c7
|
reenabled manual tests
|
2013-04-07 00:28:07 -07:00 |
|
Eric Rowell
|
8f22bb1938
|
added stage transition resize manual test
|
2013-04-07 00:15:15 -07:00 |
|
Eric Rowell
|
5192ccd954
|
after some more thought, I've decided to remove the Plugins namespace, but keep the plugins directory. I don't want 3rd parties putting some things in the Kinetic namespace, while others put things in the Plugin space. I really don't see a real need for the namespacing. For organizational purposes, the plugins directory still makes sense, however.
|
2013-03-24 20:42:27 -07:00 |
|
Eric Rowell
|
3c63b13c95
|
fixed drag and drop regression bug
|
2013-03-24 18:17:58 -07:00 |
|
Eric Rowell
|
08bac6dc89
|
fixed up all of the data url issues in the functional test suite
|
2013-03-24 16:40:09 -07:00 |
|
Eric Rowell
|
a4d1dc8dab
|
stage drag and drop works again. continued refactoring DragAndDrop.js
|
2013-03-24 02:31:39 -07:00 |
|
Eric Rowell
|
c9d6820dbf
|
refactored transition logic and added getAttr method
|
2013-03-15 16:19:12 -07:00 |
|
Eric Rowell
|
5c590bb88f
|
moved TextPath, RegularPolygon, and Star shapes to the plugins directory. updated all tests
|
2013-03-13 22:24:55 -07:00 |
|
Eric Rowell
|
26943f8245
|
implemented new pixel ratio logic, which covers all drawing cases using a canvas context. The new logic also has better performance than the previous
|
2013-02-12 09:58:47 -08:00 |
|
Eric Rowell
|
5e65b4c596
|
refactored pixel ratio scale logic
|
2013-02-12 00:20:24 -08:00 |
|
Eric Rowell
|
79fecd2c13
|
dynamic drag layer setup now does deep copy of Groups and Layers when reconstructing ancestors
|
2013-01-28 21:27:08 -08: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
|
6cd7ab135f
|
moved some manual tests to unit tests and greatly refactored the manual test suite
|
2013-01-27 16:27:17 -08:00 |
|
Eric Rowell
|
abbaef1cc6
|
refactored drag and drop a bit and fixed a dependency bug
|
2013-01-13 22:32:08 -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
|
b6ba1a503c
|
ids and names hashes used for node selection via get() has moved to Global in order to greatly simplify the selection logic. This means that node ids and names are shared across all stages. If two stages each have a node with the same id, only the last id set will be accessibile (similar to DOM)
|
2013-01-13 11:10:49 -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
|
7cb4c4269f
|
huge changes to Text shape. Skinnied it up by removing rectangle rendering component. textFill is now fill, textStroke is now stroke, textShadow is now shadow, and textStrokeWidth is now strokeWidth
|
2012-12-31 12:45:32 -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
|
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
|
e6eb647462
|
fix #164 prepend # to colorKey so that events work again in non webit browsers
|
2012-11-27 19:43:33 -08:00 |
|
Eric Rowell
|
27d5031665
|
further decoupled scene, hit, and buffer graph drawing. To define a custom hit draw function, you now need to set the drawHitFunc attr.
|
2012-11-18 19:50:50 -08:00 |
|
Eric Rowell
|
e04b979063
|
improved drag and drop performance by skipping buffer redraws on drag move
|
2012-11-17 22:29:07 -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
|
a5e23c426d
|
restructured unit tests and created a unit test build target which concatenates source test files
|
2012-11-13 21:37:28 -08:00 |
|
Eric Rowell
|
5be1802729
|
fix #149 began decoupling scene graph draw and buffer graph draw logic. This will enable more flexibility for developers to define custom buffer draw functions, and it also improves draw performance for both the scene and buffer graphs, because each function can be optimized for its purpose. Also moved text drawing logic to the Text shape
|
2012-11-12 19:59:19 -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
|
fb90709b3a
|
greatly improved transition performance by directly setting attr properties for each frame, and also removing unecessary redraws when transition finishes
|
2012-10-28 22:41:13 -07:00 |
|
ericdrowell
|
900f02f912
|
merged pull request #65 and updated manual tests. Also removed dragConstraint and dragBounds as they are now redundant. I may introduce a set of dragBounds helper functions, similar to filters, that provide common functions out of the box, such as Horizontal and Vertical
|
2012-09-25 21:23:35 -07:00 |
|
Eric Rowell
|
8883e80bfe
|
cleaned up _getContentPosition() method and fixed event detections for stages below the fold on mobile devices
|
2012-08-26 22:42:54 -07:00 |
|
Eric Rowell
|
6eda6d2607
|
decided to split Circle and Ellipse shapes because it was causing too many issues related to the mixed data type of radius, which could be a number or object with x and y properties
|
2012-08-25 23:56:39 -07:00 |
|
Eric Rowell
|
9093d9a512
|
refactored draw, _draw, and _drawChildren methods in such a way that isVisible and getListening logic resides in one place, therefore improving code quality
|
2012-08-19 20:44:45 -07:00 |
|
Eric Rowell
|
e19dae3402
|
rewrote intersects method, which now leverages the new getIntersection method. fixed up unit tests. also fixed bug with getIntersection method
|
2012-08-18 22:42:37 -07:00 |
|
Eric Rowell
|
f944409a1e
|
new hit detection algo works with images that contain transparent pixels. Devs will need to use the createImageBuffer() method to create a higher precision buffer image
|
2012-08-18 22:02:16 -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
|
468f8ef2d3
|
checking in first phase of new hit detection algo, which enables high performance event detections even if there are hundreds of thousands of shapes. This is a giant improvement over the previous algo, and is a fairly big architectural change. Since the Animation architecture and API is also changing, I feel that these changes are big enough to warrant a new major version, v4.0.0
|
2012-08-11 16:22:01 -07:00 |
|