Commit Graph

762 Commits

Author SHA1 Message Date
yinkaile 303f20653b add debug camera (#2853)
* add debug camera

* refine code
2018-06-13 11:30:20 +08:00
PP 148680aec7 move inputManager into namespace _cc (#2825)
simplify _cc.inputManager
2018-06-08 10:32:02 +08:00
pandamicro 1decb6c5ad Do not set retina in view (#2823)
* Do not set retina in view

* Deprecated view.g|setTargetDensityDPI
2018-06-07 17:55:29 +08:00
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
PP ec3798b097 exchange x y axis if view is rotated on DeviceMotionEvent (#2788)
fix babel


commit
2018-06-01 16:09:09 +08:00
Knox a3b23d033b fix Accelerometer for fireball/issues/7433 (#2774)
* fix Accelerometer for fireball/issues/7433

* refine code
2018-05-31 14:11:34 +08:00
Jare Guo a58c18d5a9 Merge branch 'master' into next
# Conflicts:
#	cocos2d/core/platform/CCSys.js
2018-05-30 21:53:45 +08:00
Jare Guo 2d7f854027 fix uglify-es 2018-05-30 21:37:25 +08:00
黄家辉 54bd44fd65 correct the creator-api-tsd context (#2765) 2018-05-30 14:48:18 +08:00
pandamicro 7bad7ba04d Fix sys merge issue (#2763) 2018-05-29 22:43:37 +08:00
pandamicro dbb8dc4c90 Merge remote-tracking branch 'origin/master' into next 2018-05-29 18:59:36 +08:00
Knox c50ad3f079 fix Label + LabelOutline display error for fireball/issues/7398 (#2748)
* fix Label + LabelOutline display error for fireball/issues/7398

* refine code
2018-05-29 10:57:25 +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
Jare Guo c263ed7795 Merge branch 'v1.9' 2018-05-28 10:36:34 +08:00
pandamicro efaf0c5d4d Merge remote-tracking branch 'fireball/master' into next 2018-05-24 19:04:55 +08:00
黄家辉 a80b52c37c correct the support of webgl for UC browser (#2706) 2018-05-23 10:06:01 +08:00
Knox 81f35845fc Improve checking whether is a subdomain method (#2719) 2018-05-23 10:00:59 +08:00
James Chen 58e360ac89 Supports mouse event for desktop platforms. (#2713)
* Supports mouse event for desktop platforms.

* Adds MouseEvent.js
2018-05-22 20:11:09 +08:00
pandamicro a7a566ff2a 2.0 alpha 11 issue fixes (#2694)
* Fix variable leak to global scope

* Fix Texture update issue

* Fix video player _playing state setting issue

* Improve macro doc
2018-05-16 17:00:31 +08:00
James Chen fa3783a991 Minor JS logic fixes in CCSys.js and MediaError.js. (#2676) 2018-05-14 15:26:33 +08:00
James Chen cd07d03b7d Removes wx API invocations for JSB projects. (#2668)
* Removes wx API invocation for JSB projects.

* sys.openURL fix for JSB.

* touches, mouse, keyboard capabilities check.
2018-05-11 18:00:40 +08:00
Jare Guo ebf7d7d730 register component to scene after ctor (#2661) 2018-05-10 17:00:59 +08:00
Jare Guo 04d8a432f6 fix _id in editor (#2658) 2018-05-09 19:31:34 +08:00
Jare Guo 550e85b9e2 update _id management (#2648) 2018-05-09 09:58:51 +08:00
pandamicro 8a92606e29 Fix _id reset issue 2018-05-08 19:05:12 +08:00
Jare Guo 35b253c852 Merge branch 'v1.9'
# Conflicts:
#	CCBoot.js
#	cocos2d/audio/CCAudio.js
#	cocos2d/core/sprites/CCScale9Sprite.js
2018-05-08 15:28:58 +08:00
Knox f4568fada0 optimization audio label texture2d , fix sprite bug (#2631)
* optimization audio label texture2d , fix sprite bug

* refine code
2018-05-07 14:24:41 +08:00
黄家辉 4d3a921116 add a new judgement about mobile platform type in wecaht devtools (#2623) 2018-05-07 11:46:38 +08:00
Jare Guo 32205ee27b define apisrc.json in this repo 2018-05-05 18:07:40 +08:00
Jare Guo b24b5c0bfd Merge branch 'v1.9' into master 2018-05-05 14:54:11 +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 6b655b3717 Merge pull request #2619 from knoxHuang/v1.9-release
Fix qqplay Blue Screen bug when ios version is less than 10,
2018-05-04 10:09:58 +08:00
knox d9a6cd746c improve code 2018-05-04 10:07:38 +08:00
knox 8e45081cab add osMainVersion and supportArrayBuffer to qqplay 2018-05-03 10:03:14 +08:00
knox 1116f8e9d2 Fix qqplay Blue Screen bug when ios version is less than 10, 2018-05-02 16:32:28 +08:00
Jare Guo c47f5aa68e Merge branch 'v1.9'
# Conflicts:
#	cocos2d/actions/CCActionInterval.js
#	cocos2d/audio/CCAudioEngine.js
2018-04-27 14:20:10 +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
PP aa5c9bba27 set event.detail as null (#2589)
Release event.detail before put to pool & fix wx.getOpenDataContext issue
2018-04-24 22:26:04 +08:00
pandamicro 7b98f49cd6 Fix updateWorldVerts based on worldMatUpdated and other issues (#2593)
* Fix updateWorldVerts based on worldMatUpdated

* Fix issues
2018-04-24 22:23:18 +08:00
minggo 92241e4ca9 fix bugs for new renderer (#2574)
* gulp task: add clean cache & support native renderer

* fix binding codes of Texture2D.updateSubImage

* fix some issues

* fix Texture2D.updateSubImage()
2018-04-20 14:43:58 +08:00
pandamicro ef97c6fa2b Support 3d transform with polyfill3d 2018-04-20 00:45:15 +08:00
pandamicro 0f87a11100 Merge pull request #2564 from cocos-creator/optimize
Merge optimizations into next
2018-04-19 18:31:30 +08:00
pandamicro 27f2bd412c Fix js.getset 2018-04-17 10:36:34 +08:00
pandamicro 3ffdf16c61 Fix issues for next merging dev 2018-04-16 19:44:34 +08:00
pandamicro 14a555e0fb Merge remote-tracking branch 'fireball/master' into next 2018-04-16 19:14:08 +08:00
pandamicro e7a1d59dcc Remove useless typeof check 2018-04-16 16:31:35 +08:00
Jare Guo c2368128aa minor update 2018-04-13 23:10:42 +08:00
Jare Guo 75b922eed3 remove resources path from settings.js 2018-04-12 09:51:19 +08:00
Jare Guo 0a932aef00 replace all RawAssets with Assets 2018-04-09 14:48:21 +08:00
Jare Guo d6332ae1a5 Merge pull request #2504 from cocos-creator/v1.9
sync branch
2018-04-04 18:22:59 +08:00