Commit Graph

169 Commits

Author SHA1 Message Date
James Chen 68e635383b Uses setPreferredFramesPerSeconds to control FPS for JSB. (#2696)
* Uses setPreferredFramesPerSeconds to control FPS for JSB.

* Empty implement for window.scroll .
2018-05-17 10:03:10 +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 99712484b1 Fix dumb issues 2018-04-20 13:50:42 +08:00
pandamicro b1c84ac0d4 Fix global canvas undefined issue in JSB 2018-04-20 11:57:46 +08:00
pandamicro 14a555e0fb Merge remote-tracking branch 'fireball/master' into next 2018-04-16 19:14:08 +08:00
yinkaile 6f7c4d724a Merge remote-tracking branch 'refs/remotes/fireball/next'
Conflicts:
	cocos2d/core/renderer/canvas/renderers/utils.js
2018-04-02 10:39:53 +08:00
yinkaile 0e0024fcbe adjust assembler requirements 2018-03-30 15:23:50 +08:00
minggo 02bc807ebf merge and fix conflict 2018-03-30 10:34:50 +08:00
yinkaile 7386f10302 fixed addPersistRootNode 2018-03-28 11:52:51 +08:00
minggo f91bab267f merge h5 and fix conflict 2018-03-26 11:05:19 +08:00
minggo 6e37e154f5 JSB adaption 2018-03-26 10:54:09 +08:00
pandamicro 0fb074ec82 Cleanup old deprecated APIs 2018-03-22 16:58:55 +08:00
Jare Guo 3210895e46 Merge 1.9
# Conflicts:
#	cocos2d/core/CCGame.js
#	cocos2d/core/load-pipeline/pack-downloader.js
#	cocos2d/core/platform/CCObject.js
2018-03-22 13:45:42 +08:00
minggo 0863363f32 merge from h5 2018-03-21 09:56:04 +08:00
pandamicro 8cf3e3114e Add antialias macro, cherry pick from next. 2018-03-20 20:02:29 +08:00
knox 95de04f08b refine code 2018-03-18 15:49:30 +08:00
knox 9e73f50620 add wechatgame subdomian 2018-03-17 12:47:14 +08:00
pandamicro 9a61e299db Add antialias macro 2018-03-15 15:17:20 +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
James Chen 1523d3c91d Update code for creator 2.0 native. 2018-03-12 13:50:50 +08:00
Jare Guo eb7f7ad66e Merge pull request #2408 from cocos-creator/v1.8-release
sync branch
2018-03-07 12:48:23 +08:00
pandamicro 2198aa52c8 Add canvas renderer basic architecture 2018-02-28 10:29:43 +08:00
pandamicro 83127f336d Set webgl option antialias to false 2018-02-26 17:29:24 +08:00
pandamicro f48bd63c39 Add explanation for antialias option 2018-02-24 17:50:06 +08:00
pandamicro 8dee57c7e3 Exclusivly set webgl antialias option to false 2018-02-24 17:45:02 +08:00
Jare Guo 6c809263e6 Merge 1.8 2018-02-24 14:58:57 +08:00
pandamicro ba6e8f11a3 Remove cc._renderType, cc._canvas, cc.container 2018-02-24 11:31:51 +08:00
pandamicro 4e94f38591 Remove Canvas forward renderer in render engine 2018-02-12 14:29:40 +08:00
Jare Guo 992b74f0ac merge bricks (#2328)
* support bk game

* update code

* update code

* update code

* update code

* refine code

* update code

* update code

* update code
2018-02-09 10:12:44 +08:00
pandamicro e1d173da1c Review Director APIs 2018-02-09 10:07:01 +08:00
Jare Guo 6810732ec3 fix onShow/onHide on wechat mini game 2018-02-02 13:41:15 +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
pandamicro 027274708f Fix issues caused by merging master 2018-01-16 17:28:05 +08:00
pandamicro 7712da14f5 Merge remote-tracking branch 'fireball/master' into next 2018-01-15 17:51:33 +08:00
Jare Guo b31566d75f Merge 1.8 2018-01-09 18:40:43 +08:00
Jare Guo 63525c29b4 fix page hide event on wechat mini game 2018-01-04 10:06:39 +08:00
Jare Guo 5706539bd5 remove cc._LogInfos, use cc._getError instead 2017-12-27 10:55:34 +08:00
pandamicro 8cf1591e3a Use cc.renderer to point at new renderer 2017-12-25 14:02:15 +08:00
Jare Guo 2d0bf722ee refine web hide event and support Taobao 2017-12-21 15:36:24 +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
Jare Guo f4f20ff067 fix merge 2017-12-13 15:22:01 +08:00
Jare Guo 96248f80fd Merge commit 'c374c97567a6e6674aca0576a76748b83caa7866' into v1.7-release
# Conflicts:
#	cocos2d/core/CCGame.js
#	cocos2d/core/platform/CCMacro.js
2017-12-13 14:34:03 +08:00
pandamicro 52187f4eee Fix Game EVENT_HIDE SHOW doc 2017-12-11 17:37:47 +08:00
pandamicro c374c97567 Improve game EVENT_SHOW & EVENT_HIDE doc 2017-12-10 22:33:34 +08:00
pandamicro 49dc28b459 Remove antialias option in gl init 2017-12-10 22:33:05 +08:00
pandamicro fff343f634 Remove antialias config due to performance dropdown 2017-12-08 14:54:57 +08:00
pandamicro c28cdafe8e Remove antialias config due to performance dropdown 2017-12-08 14:29:03 +08:00