pandamicro
5be8918b29
ES6 modulize core/data ( #3211 )
...
* Rename class file
* ES6 modulize core/data
2018-09-06 19:30:33 +08:00
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
ColinCollins
ea7803f874
modify the path.baseName() ( #3142 )
...
* modify the path.baseName()
judge the adaptation of the file basename
* add path.basename test
2018-08-28 10:51:56 +08:00
ColinCollins
1d8f3bb5f9
remove cc.info ( #3128 )
2018-08-21 19:29:48 +08:00
yinkaile
a4d17d3d1b
improve modular ( #3069 )
...
* improve modular
* fixed test
* remove previousRequire from engine prelude
2018-08-10 19:00:33 +08:00
Knox
d6ea17f8f1
fix fireball/issues/7969 ( #3010 )
...
* fix fireball/issues/7969
* add test color
2018-07-24 16:15:52 +08:00
pandamicro
eeac56e7cc
Merge pull request #2989 from cocos-creator/next
...
Merge next to v2.0 release
2018-07-17 16:52:06 +08:00
pandamicro
88e58d39b7
Add forceCanvas build option, rearrange modules for canvas renderer ( #2969 )
...
* Remove useless requires
* Build engine support forceCanvas to use canvas version render engine
* Rearrange modules, separate webgl & canvas renderer
* Do not create material in canvas
* Cleanup canvas renderers
* Improve modules.json
* Fix unit test
* Fix wechat sub domain build issues
* Make Camera working for canvas render mode
* Fix canvas renderer issues
* Reenable camera in Canvas
* Fix label colorizing issue
2018-07-13 14:13:48 +08:00
Jare Guo
f8d38f4adf
optimize construction and serialization performance for wechat mini games ( #2970 )
...
* optimize instantiate for platform whose CC_SUPPORT_JIT disabled
* optimize instantiate for platform whose CC_SUPPORT_JIT disabled
* optimize object construction for platform whose CC_SUPPORT_JIT disabled
* optimize deserialization for platform whose CC_SUPPORT_JIT disabled
2018-07-13 10:48:17 +08:00
Jare Guo
3d5e88d2c1
optimize performance of object construction on wechat platform ( #2965 )
...
* optimize destruct for platform whose CC_SUPPORT_JIT disabled
* define __values__ to replace __props__ used in serialization
2018-07-11 16:25:02 +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
pandamicro
1c779c3dd8
Remove eventManager custom event usage ( #2876 )
2018-06-19 16:36:30 +08:00
pandamicro
5e55976997
Improve Node event emit performance ( #2862 )
...
* Improve Node event emit performance
* Simplify Node event emit by removing event obj
* Fix example
2018-06-19 15:34:19 +08:00
pandamicro
03e2af76a5
Merge remote-tracking branch 'fireball/master' into merge
2018-06-15 18:37:33 +08:00
pandamicro
2a3a75e7fb
Fix unit test and circle ci ( #2858 )
...
* fix test-animation bug (#2787 )
* fix unit test (#2840 )
* Improve Sprite & SpriteFrame impl
* Add Sprite inset function deprecation
* Fix unit tests
* fixed the circleci failed test but still pass the commit problem (#2814 )
* CircleCI test failed but build successfully problem fixed (#2816 )
* Fix Skeleton require
* Another Skeleton mistyping
* Fix phantom environment issues
2018-06-14 14:32:23 +08:00
Jare Guo
5d62448cb8
fix unit test ( #2840 )
2018-06-08 17:48:28 +08:00
SijieWang
9beae708db
review codeUnit tests need to use Editor.require ( #2837 )
2018-06-08 15:32:14 +08:00
SijieWang
91f63dd132
Scene modularization ( #2773 )
2018-06-05 12:34:48 +08:00
PP
5c578253ac
fix test-animation bug ( #2787 )
2018-06-01 14:58:55 +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
pandamicro
14a555e0fb
Merge remote-tracking branch 'fireball/master' into next
2018-04-16 19:14:08 +08:00
Jare Guo
0a932aef00
replace all RawAssets with Assets
2018-04-09 14:48:21 +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
pandamicro
6e0825cd78
Fix other cc.p usage
2018-03-19 12:43:15 +08:00
Jare Guo
7d95be5f18
allow cc.isValid to indicates whether the object will be destroyed
2018-03-16 11:35:28 +08:00
Jare Guo
0476e3d073
sync test-vec2
2018-03-16 09:57:47 +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
pandamicro
ba05646469
Refactor cc.isChildClassOf to cc.js.isChildClassOf
2018-03-12 17:50:26 +08:00
pandamicro
666bf01611
Fix Node API usage issue
2018-03-12 16:16:02 +08:00
yinkaile
4a1087e92d
ensure play the right time after change animation time
2018-03-12 14:18:12 +08:00
pandamicro
6d6e1206be
Cleanup Node APIs
2018-03-09 18:27:56 +08:00
Jare Guo
5ebcef848c
improve test of changing hierarchy during onDisable
2018-03-03 01:46:10 +08:00
Cocos Ass
86cfa26baf
forbid Hierarchy change test example
...
add a new test in test-component-scheduler.js
forbid Hierarchy change part and example
update data make my local file get reset
forbid Hierarchy change part test example
update a new test content about setSiblingIndex
change the report of error test
2018-03-02 11:29:39 +08:00
pandamicro
ba6e8f11a3
Remove cc._renderType, cc._canvas, cc.container
2018-02-24 11:31:51 +08:00
pandamicro
6f2f7a6cc9
remove sgNode usage
2018-02-20 00:12:41 +08:00
pandamicro
4aa1cf5b53
Use TextUtils, CustomFontLoader, HtmlTextParser as module
2018-02-12 15:20:24 +08:00
pandamicro
ab72058841
Fix Node rotation issue
2018-02-08 15:19:38 +08:00
pandamicro
cc06d40ab6
Use vec3 rot instead of rotationX & Y, apply 3d transform
2018-02-07 15:27:03 +08:00
pandamicro
5de9366c08
Use vec3 scale instead of scaleX & scaleY
2018-02-07 12:07:05 +08:00
Jare Guo
ded7092432
Merge branch 'v1.8'
...
# Conflicts:
# cocos2d/core/platform/deserialize.js
# extensions/dragonbones/CCFactory.js
# gulp/util/utils.js
2018-01-25 13:47:35 +08:00
knoxHuang
4e6d645f97
fix cc.path.dirname bug
2018-01-18 17:21:13 +08:00
pandamicro
7712da14f5
Merge remote-tracking branch 'fireball/master' into next
2018-01-15 17:51:33 +08:00
Jare Guo
e3b7190cd6
support migration for texture array
2017-12-26 10:00:57 +08:00
knoxHuang
1af150c107
fix eventManager error for unit test
2017-12-21 11:11:46 +08:00
Jare Guo
7834448133
Merge branch 'v1.7'
...
# Conflicts:
# cocos2d/core/load-pipeline/loader.js
2017-12-13 14:44:33 +08:00
pandamicro
3fe7948213
Add node.walk function and unit test
2017-11-27 16:28:08 +08:00
pandamicro
c8188b5211
Merge remote-tracking branch 'origin/v1.7' into next
2017-11-22 13:58:23 +08:00
Jare Guo
000f4c1fc9
prefab should not resync if is instantiated by its parent (which is not a prefab)
2017-11-16 21:56:27 +08:00
pandamicro
7c2e7f852d
Remove wrong isBrowser usage
2017-11-13 16:30:28 +08:00