Commit Graph

6 Commits

Author SHA1 Message Date
pandamicro e77527763f Support loading ttf with loader, adapt Label & RichText (#3170)
* Make ttf font occupied by loader

* Remove font downloader

* Add font loader

* Support loading ttf with loader, adapt Label & RichText

* Fix log functions before resetDebugSetting

* fix loader unit test

* Fix load font with md5 cache

* Fix Label & RichText lazy loading
2018-08-31 13:29:40 +08:00
Jare Guo b07ae4b020 Merge commit v1.10-release into v2.0-release
# Conflicts:
#	cocos2d/core/CCDebug.js
#	cocos2d/deprecated.js
2018-08-23 17:40:07 +08:00
ColinCollins 1d8f3bb5f9 remove cc.info (#3128) 2018-08-21 19:29:48 +08:00
ColinCollins 6a3c4576c0 Modify the create.d.ts (#3059)
1. fixed the problem that CCDebug doesn't contain cc.debug.DebugMode.
2. adjust the marco file, forbid the user to use the cc.KEY straightly
2018-08-09 16:29:59 +08:00
pandamicro c7603a1c63 Refactor engine & game scripts loading process (#2922)
* Remove cc.game.CONFIG_KEY

* Remove cc.game.CONFIG_KEY

* Refactor engine and game scripts loading process

- Make cc.view & cc.director ready when engine loaded
- Load game script before renderer initialize
- Emit EVENT_ENGINE_INITED instead of EVENT_RENDERER_INITED

* Remove cc.macro. ENABLE_GC_FOR_NATIVE_OBJECTS

* Remove cc.loader.resPath usage in VideoPlayerImpl

* deprecated cc.director.getWinSize

* Improve game doc
2018-06-29 16:37:06 +08:00
pandamicro 2bb675522e Refactor engine boot process (#2902)
* Wrap cc._initDebugSettings & cc._getError to debugUtil module

* remove CCDebugger require

* Refactor engine boot process

* Issue fixes

* Remove duplicated ENGINE_VERSION define

* Encapsulate cc.debug with debug related APIs

* Expose cc.debug

* Fix editor require issue

* Add API deprecations
2018-06-26 15:12:26 +08:00