Commit Graph

87 Commits

Author SHA1 Message Date
Jare Guo 542ef017c0 add JsonAsset 2018-04-28 16:17:13 +08:00
Jare Guo 0a932aef00 replace all RawAssets with Assets 2018-04-09 14:48:21 +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 b31566d75f Merge 1.8 2018-01-09 18:40:43 +08:00
Jare Guo 2e2fd59193 add CC_SUPPORT_JIT macro 2018-01-03 22:58:37 +08:00
Jare Guo 298ab19d19 fix bug of asset type on JSB 2018-01-03 11:07:45 +08:00
Jare Guo b254c4991b add prefab option to optimize instantiation 2017-12-24 00:22:40 +08:00
Jare Guo 9a758afad1 Merge pull request #2109 from cocos-creator/v1.7
Merge 1.7
2017-11-13 02:50:10 -06:00
Jare Guo bd585d4a5c prefab should be synced if jit can not be used 2017-11-03 01:20:51 +08:00
Jare Guo e3a588169c working on texture 2017-10-29 00:27:42 +08:00
Jare Guo 23f0cb4a6b Merge master into asset
# Conflicts:
#	cocos2d/core/load-pipeline/CCLoader.js
#	cocos2d/core/platform/deserialize.js
#	gulpfile.js
#	jsb/jsb-loader.js
2017-10-23 18:00:20 +08:00
yinkaile 62841321a5 fallback function if not support Function 2017-10-19 17:32:03 +08:00
Jare Guo 64c13c7dab sync jsb 2017-09-23 09:02:13 +08:00
Jare Guo a39f58d916 reviewed 2017-09-22 00:39:45 +08:00
Jare Guo 6ddb0eac7d load texture as url or object and deprecate spriteFrame._textureLoaded 2017-09-18 18:13:23 +08:00
Jare Guo 301f4e709a refactoring API of cc.Asset: rawUrl -> nativeUrl, _rawFile -> _native, _setRawFile(s) -> _setRawAsset, rawType -> _nativeObject 2017-09-18 18:13:23 +08:00
Jare Guo afabe198a9 support loading texture assets from packs 2017-09-18 18:13:23 +08:00
Jare Guo 40c6f1829b deprecate @property(cc.Texture2D) value = null; in class defined by using ES6 or TypeScript 2017-09-18 18:13:23 +08:00
Jare Guo efa57bb48f make texture as common asset 2017-09-18 18:13:23 +08:00
Jare Guo 5a8fb71683 refine Texture2D (+1 squashed commit)
Squashed commits:
[84eb8b3] refine Texture2D
2017-09-18 18:13:23 +08:00
Jare Guo 200c41a74b should not auto release assets used by persist nodes 2017-08-22 13:58:50 +08:00
Jare Guo 480ae19826 minor tweak 2017-08-21 15:35:13 +08:00
Jare Guo a78bd81a62 refine AssetLibrary api 2017-06-27 22:45:32 +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
zilongshanren fd2d1a1bc2 use font asset as cache 2017-03-16 10:03:14 +08:00
Nan Wang 3ac4c75c1e add typescript class, add decorator for typescript 2017-03-02 18:39:13 +08:00
Jare Guo ece54ef8a4 support asyncLoadAssets on Prefab 2017-01-19 11:10:46 +08:00
Jare Guo 5320ab1a65 name of prefab node should equals to prefab asset 2016-12-28 22:40:28 +08:00
zilongshanren a514d4ddc6 make labelatlas inheritent from bitmapfont 2016-12-23 21:18:41 +08:00
zilongshanren 025f92da24 finish labelatlas 2016-12-23 17:43:38 +08:00
zilongshanren 0d0d18c1b7 add bmfont batch rendering
commit 68c7b5ed8e174238514b4b680634f197a976de60
Author: zilongshanren <guanghui8827@126.com>
Date:   Wed Dec 21 11:19:21 2016 +0800

    finish web bmfont batch

commit 3d038e14128a375848efec99f3706c0e252cdbd0
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Dec 16 17:25:05 2016 +0800

    bitmap support spriteframe on web

commit 87d371410de223956c50bd5a4b85958973181c11
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Dec 16 16:42:51 2016 +0800

    make bitmap depends on spriteframe
2016-12-21 16:49:09 +08:00
Nan Wang 52b1a7658c fix merge conflict of CCLoader getReferenceKey 2016-12-16 10:53:37 +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
pandamicro a09f36187b Refactor cc.loader to use url as reference key
Deprecate any external id usage, user should use uuid / url to load
Always use url as reference key, when only uuid is available, copy uuid to url
2016-12-15 12:33:19 +08:00
Jare Guo 7f70be3516 Merge commit 'e248709cf2e84be9b6e56005ff15a550af230bd4'
# Conflicts:
#	cocos2d/core/platform/CCView.js
2016-12-08 17:50:26 +08:00
Jare Guo cfc193f894 preload fnt when loading scene 2016-12-08 14:02:43 +08:00
Jare Guo b22b36ea58 bake instantiate codes (JIT) 2016-11-07 17:08:07 +08:00
Jare Guo 4bedb8a993 minor tweaks 2016-11-07 17:08:07 +08:00
Nan Wang 032d2d2abd fix api doc reference 2016-10-20 18:36:01 +08:00
Jare Guo 38e7eadf69 add temp guard code to detect potential prefab bug 2016-09-26 17:33:56 +08:00
Jare Guo 30f1edfcfc minor fix 2016-09-06 11:00:35 +08:00
Jare Guo 7c53c47b5f working on synced prefab 2016-09-03 16:56:39 +08:00
Jare Guo 8f3001c289 add Scene.autoReleaseAssets 2016-08-12 11:12:46 +08:00
Jare Guo b542c68b99 house keeping 2016-08-12 11:12:46 +08:00
Nan Wang 67322b3f2a fixed api comment syntax error 2016-08-02 15:19:25 +08:00
Jare Guo ef436d9da4 deferred load scene's raw asset 2016-07-08 17:15:57 +08:00
Jare Guo 14d2dc6e4e should not redefine Node._id as non-writable 2016-06-22 10:48:21 +08:00
2youyouo2 ab81a869ab optimize code 2016-06-12 18:09:34 +08:00