Commit Graph

53 Commits

Author SHA1 Message Date
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 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
yinkaile 70b7d8a4a0 set debug draw zIndex to MAX_ZINDEX 2018-03-23 14:56:15 +08:00
pandamicro 196c4000e9 Fix issues 2018-03-19 20:57:57 +08:00
pandamicro 2f12aa50d2 Update value type file names 2018-03-16 15:22:02 +08:00
pandamicro 77febbfe3d Merge branch 'master' into next 2018-03-13 15:07:21 +08:00
yinkaile f441dba722 remove attachDebugDrawToCamera & detachDebugDrawFromCamera 2018-03-09 16:36:11 +08:00
nshmura d8be5c4622 Fix types of CCPolygonCollier and CCPhysicsChainCollider 2018-02-16 12:48:37 +09:00
yinkaile 8bff3c146d support camera 2018-02-07 11:00:35 +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
yinkaile a6e6e52321 fixed circle collider world aabb calculation 2018-01-29 14:17:06 +08:00
yinkaile ef10e13608 fixed collision manager 2018-01-17 15:40:35 +08:00
pandamicro 7712da14f5 Merge remote-tracking branch 'fireball/master' into next 2018-01-15 17:51:33 +08:00
shay_chen b5c4f2fae6 Delete the calls for object.retain() and object.release() 2017-12-27 18:34:35 +08:00
pandamicro 1328899442 Add matrix calculations into Node 2017-10-12 16:25:33 +08:00
2youyouo2 ff448b2abc not auto calculate polygon points when reset polygon collider 2017-07-31 11:43:37 +08:00
2youyouo2 c8927dba02 fixed physics docs 2017-06-28 15:24:08 +08:00
2youyouo2 df4fffcd5d reconstruction collider 2017-06-06 11:39:15 +08:00
Wang Nan d95c3e9c76 Merge pull request #1618 from nantas/master
add tooltips for physics collider and joint
2017-04-27 11:26:23 +08:00
Nan Wang 9da09ecc1e add tooltips for physics collider and joint 2017-04-27 11:24:00 +08:00
Jare Guo f054f504b6 fix typescript api 2017-04-26 17:17:59 +08:00
2youyouo2 e9871af749 optimize collision manager 2017-04-07 10:46:01 +08:00
2youyouo2 cf536cc315 add camera 2017-03-24 14:01:30 +08:00
2youyouo2 dc0e1c74b8 fixed init PolygonCollider points 2017-03-16 18:00:02 +08:00
2youyouo2 3acf11a567 support physics 2017-03-08 14:02:45 +08:00
knoxHuang bd8127aff7 optimization shader and tooltip for #fireball/issues/4771 2016-12-19 18:19:18 +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 97771320eb fixed CCCollisionManager debug draw 2016-11-21 11:22:39 +08:00
2youyouo2 b310b4ee8f fixed CircleCollider boudingbox calculation 2016-11-14 10:04:51 +08:00
2youyouo2 b8881ecca9 fixed collision manager debug draw 2016-09-27 10:45:09 +08:00
2youyouo2 fdd52a6702 improve collision manager callback handle 2016-09-05 14:41:27 +08:00
2youyouo2 775963c5da fixed CollisionManager 2016-08-10 15:15:46 +08:00
2youyouo2 de6a5998d5 refine code 2016-07-11 13:54:39 +08:00
2youyouo2 56ca0c3c5d refine code 2016-07-11 11:59:03 +08:00
2youyouo2 b328983cef add group-changed event 2016-07-11 11:24:19 +08:00
2youyouo2 e6ae96d53e clear debug draw when disable collision debug draw 2016-06-29 17:15:11 +08:00
2youyouo2 c6b7007ec7 revert collider animatable 2016-06-06 15:57:34 +08:00
2youyouo2 d5bafe9aab update CCIntersection doc 2016-06-01 11:27:01 +08:00
2youyouo2 a9339b83a8 fixed collider doc 2016-06-01 11:11:30 +08:00
2youyouo2 eb9c052720 disable collider animatable for now 2016-05-27 16:02:35 +08:00
2youyouo2 f0f0175262 add tag for collider 2016-05-19 16:06:02 +08:00
2youyouo2 2366d29215 fixed collision manager 2016-05-17 11:29:25 +08:00
2youyouo2 a26c56891d refine collider 2016-05-11 10:47:19 +08:00
2youyouo2 b9927fcb82 optimize collider 2016-05-11 10:25:12 +08:00
2youyouo2 9fac8dc3df refine code 2016-05-10 15:18:15 +08:00
2youyouo2 5b02cfa619 update CCCollider 2016-05-10 11:48:29 +08:00
2youyouo2 ad8b125c04 refine collision manager 2016-04-29 16:11:01 +08:00
2youyouo2 8361570a29 refine collider 2016-04-29 11:28:03 +08:00
2youyouo2 5795242742 add comment 2016-04-27 18:11:54 +08:00