Commit Graph

97 Commits

Author SHA1 Message Date
pandamicro 56a78dde98 Update version and fix small issues (#2809)
* Update version and fix small issues

* Fix issues reported by gcc
2018-06-06 11:57:59 +08:00
pandamicro 2e05573876 Issue fixes and upgrade version (#2749)
* Remove cc.create3DContext

* Check LabelOutline to avoid issue when module absent

* Update to 2.0.0 preview

* Fix AnimationState event API issues
2018-05-28 18:53:59 +08:00
pandamicro efaf0c5d4d Merge remote-tracking branch 'fireball/master' into next 2018-05-24 19:04:55 +08:00
pandamicro 45cf7dc1e1 Fix issues of animation state and private node (#2717)
* Fix private node position update issue

* Fix animation state event API issues

* Remove useless constant

* Improve PrivateNode doc and fix its zIndex
2018-05-23 09:56:36 +08:00
Jare Guo 32205ee27b define apisrc.json in this repo 2018-05-05 18:07:40 +08:00
pandamicro e597e34f4f Remove __instanceId from Node and Component (#2627)
* Add Scheduler.enableForTarget and change to use  _id

* Use _id instead of __instanceId in Texture2D

* Fix ParticleSystem __instanceId usage

* Use _id instead of __instanceId in ActionManager

* Fix usage of Scheduler in InputManager

* Use _id instead of __instanceId in EventManager

* Totally remove ClassManager and __instanceId

* Fix initialization process

* Fix touch & mouse listener off check issue

* Fix id not generated issue

* Fix touch & mouse listener being removed by rejected persist node

* Improve logic
2018-05-04 13:51:21 +08:00
pandamicro a0043db9df Small issue fixes (#2617)
* Fix emit event on invalid animation issue

* Support setQuat with x, y, z, w

* Fix native running issue
2018-05-02 15:38:15 +08:00
pandamicro 38c61c70b4 Refactor EventTarget: remove hasListenerCache, move dispatch APIs to Node (#2595)
* Improve node property setter performance

* Avoid physics sync trigger events

* Improve callbacksHandler.has performance

* Use flag instead of hasListenerCache in animation state

* Remove hasListenerCache, add event target APIs for dispatch

* Fix some issues

* Fix event target has check

* Expose EventType and LocalDirtyFlag

* Move dispatch related APIs to Node and fix issues

* Refactor event target

* Fix sub listener usage for event target

* Improve code

* Remove callbacksInvoker.has
2018-04-26 21:50:27 +08:00
pandamicro 920e4dbfa6 Remove CCPointExtensions 2018-03-19 18:04:55 +08:00
pandamicro 8f21947979 Fix conflict 2018-03-13 15:27:44 +08:00
pandamicro 77febbfe3d Merge branch 'master' into next 2018-03-13 15:07:21 +08:00
pandamicro 4e47017aa4 Merge branch 'v1.9' 2018-03-13 11:54:54 +08:00
yinkaile a87ade0047 refine code 2018-03-12 16:16:12 +08:00
yinkaile 4a1087e92d ensure play the right time after change animation time 2018-03-12 14:18:12 +08:00
PP 1f448e821f change all JS into js 2018-03-06 11:44:11 +08:00
yinkaile 44804e6103 fixed animation lastframe event 2018-02-27 11:50:38 +08:00
Jare Guo a6fb92ad90 updating license 2018-02-01 09:38:54 +08:00
Jare Guo bd15543093 updating license: Chukong Aipu -> Xiamen Yaji 2018-01-31 17:51:49 +08:00
Jare Guo 5706539bd5 remove cc._LogInfos, use cc._getError instead 2017-12-27 10:55:34 +08:00
knoxHuang 2223dcd0c8 refine code 2017-12-18 11:09:48 +08:00
knoxHuang cf512dd06e remove error info from the engine release for fireball/issues/6721 2017-12-15 17:21:06 +08:00
yinkaile 27df2eae6a refine register animation event 2017-10-20 16:42:38 +08:00
2youyouo2 8c9896c01b fixed animation pause 2017-09-28 15:49:32 +08:00
2youyouo2 2dbc70a4ac fixed init animation curve 2017-09-28 15:48:46 +08:00
2youyouo2 d3ce14c677 refine code 2017-09-26 11:11:18 +08:00
2youyouo2 c108123b40 add AnimationState to AnimationAnimator in AnimationState onPlay 2017-09-26 10:46:42 +08:00
2youyouo2 5fccfd4477 remove AnimationNode 2017-09-26 10:06:02 +08:00
2youyouo2 a73dc7a0ff stop AnimationAnimator if all animations are removed 2017-09-21 15:28:13 +08:00
2youyouo2 17ceb14aae update 2017-09-14 14:03:03 +08:00
2youyouo2 41c563a647 optimize animation 2017-08-28 11:37:20 +08:00
2youyouo2 21fdff8cd5 improve WrappedInfo.prototype.set performance 2017-08-01 16:44:51 +08:00
pandamicro 6533180e9d Remove ...args in engine 2017-07-26 18:03:58 +08:00
Jare Guo ea52b8063c fix apidoc 2017-07-14 16:58:16 +08:00
2youyouo2 5d69039f3a avoid fire event error 2017-05-26 17:04:58 +08:00
2youyouo2 b09d88e2c8 fixed animator not auto stop 2017-05-24 14:12:20 +08:00
2youyouo2 bc0163c7a5 refine animation 2017-05-12 17:50:52 +08:00
2youyouo2 3c7504110d change animation Array to MutableForwardIterator 2017-05-12 15:55:53 +08:00
2youyouo2 99fde38c39 should remove animator from animation manager when pause animator 2017-05-12 11:18:07 +08:00
2youyouo2 c3a9c6926d fixed animation not worked 2017-05-10 15:09:15 +08:00
Jare Guo 886c8d8cae optimize engine startup time by removing some js.mixin 2017-05-05 13:39:11 +08:00
Jare Guo f054f504b6 fix typescript api 2017-04-26 17:17:59 +08:00
Nan Wang d9b5cef497 merge v1.4 2017-03-29 18:16:41 +08:00
Nan Wang 068c38d559 merged v1.4 2017-03-14 10:04:00 +08:00
pandamicro 34cd3c30b7 Remove arguments usage in jsb 2017-03-12 15:25:36 +08:00
2youyouo2 0541d90554 optimize animation with cache wrapped info 2017-03-08 17:41:47 +08:00
Jare Guo 28ad231315 optimize binarySearch 2017-01-24 16:36:19 +08:00
Nan Wang 4dea8e7a8a move all error logs to DebugInfos.js and only show error id in release build 2016-12-15 17:07:01 +08:00
2youyouo2 3a48a569b4 improve animation interface, fixed typo 2016-11-15 11:41:41 +08:00
Nan Wang 032d2d2abd fix api doc reference 2016-10-20 18:36:01 +08:00
2youyouo2 e3ceb982aa fixed animation callback 2016-10-19 14:45:14 +08:00