Commit Graph

146 Commits

Author SHA1 Message Date
yinkaile f326869f47 fixed richtext (#2667) 2018-05-11 15:42:53 +08:00
yinkaile 15e63fc817 fixed label error (#2664)
* fixed label error

* should not render label if string is empty

* improve color render  flag
2018-05-11 11:19:50 +08:00
pandamicro 50c91c641c Use RenderFlow to optimize renderer visit process (#2634)
* Optimize (#2601)

* support render flow

* small improve

* small improve

* support different vertext format for buffer

* optimize dynamic atlas

* fixed sprite assemblers

* store uvs in spriteframe

* fixed issues

* fixed mask

* remove unused code

* small improve

* small fix

* upgrade assemblers

* refine code

* set id for vertex format name

* Fix mesh buffer initialize issue on native

* Fix spine node setting issue

* fixed dragonbone assembler (#2635)
2018-05-07 15:47:48 +08:00
pandamicro 7c94a5f771 Fix Label issues (#2594)
* Fix bmfont anchor point issue

* Fix 0 is ignored as label.string

* Fix doc
2018-04-25 12:36:29 +08:00
pandamicro 0889e7e8df Use system font if no font found and not using system font 2018-04-20 00:45:37 +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 5823a23065 Add transform system to reduce matrix update overhead
Removed world-matrix-changed event, event system is too slow
2018-04-11 14:06:27 +08:00
yinkaile 271c34613f optimize label 2018-04-11 11:31:41 +08:00
yinkaile 665b72690e add canvas pool for label 2018-04-02 11:11:31 +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
pandamicro 51639a158a Fix bug reported from ye man ren 2018-03-30 14:11:51 +08:00
yinkaile 4b44244fc2 support canvas label 2018-03-29 18:01:11 +08:00
pandamicro 9f4a67a6f1 Improve material hash id update and compare 2018-03-21 16:39:36 +08:00
fusijie 10f56b59bd add_effect_hash 2018-03-21 16:39:36 +08:00
pandamicro f92894ea08 Remove CCTypes 2018-03-19 18:40:14 +08:00
pandamicro 77febbfe3d Merge branch 'master' into next 2018-03-13 15:07:21 +08:00
pandamicro 283f5c17d6 Improve render data management by RenderComponent 2018-03-07 10:49:58 +08:00
pandamicro 0ae7c15cbd Fix Label default string issue 2018-02-26 17:29:41 +08:00
pandamicro 1de3bd1d52 Improve Label assembler when string is empty 2018-02-10 12:49:55 +08:00
fusijie ee8963000f Support CCRichText. 2018-02-08 18:37:02 +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
yinkaile c2cbd545a1 fixed editbox 2018-01-17 17:39:32 +08:00
shay_chen b5c4f2fae6 Delete the calls for object.retain() and object.release() 2017-12-27 18:34:35 +08:00
yinkaile 99cdd33327 fixed crashed when switch to the same scene again 2017-12-26 15:54:42 +08:00
yinkaile e30ce09da4 small fix 2017-12-19 10:26:10 +08:00
yinkaile 17a035e082 optimize label 2017-12-18 16:41:25 +08:00
yinkaile 14f04ac23b add label assembler 2017-12-17 12:33:24 +08:00
pandamicro 8cc054c833 Fix super calls to old sg components 2017-10-26 11:09:58 +02:00
pandamicro fd5c46152f Skip functionalities in Label 2017-10-11 13:50:37 +08:00
pandamicro 48faf3ca49 Removed SGComponent, ComponentInSG, ComponentUnderSG 2017-10-06 17:54:34 +08:00
knoxHuang e90ba4313f Modify the _updateNodeSize timing for fireball/issues/6263 2017-08-17 17:32:11 +08:00
knoxHuang 565c42ff7f remove redundant code 2017-08-17 14:19:57 +08:00
knoxHuang 53cead8fdb Failed to refresh the size in time for fireball/issues/6263 2017-08-16 18:28:34 +08:00
pandamicro 3150f46f1b [missed] Use Label pool instead of new 2017-08-08 11:57:54 +08:00
Jare Guo c25563be14 Merge pull request #1843 from pandamicro/master
Remove ...args in engine
2017-07-26 18:04:46 +08:00
pandamicro 6533180e9d Remove ...args in engine 2017-07-26 18:03:58 +08:00
zilongshanren 21b4386502 fix ttf font size in web 2017-07-25 14:54:31 +08:00
zilongshanren c70c7a2989 improve ttf font creation performance 2017-07-25 14:39:53 +08:00
Jare Guo bf79d94fe6 remove extname used in require 2017-07-05 16:32:41 +08:00
zilongshanren 9a898d19c5 improve font API 2017-06-30 10:19:57 +08:00
zilongshanren e1405aa869 improve label api, fix jsb label issue 2017-06-30 09:53:55 +08:00
zilongshanren 31abe4a7b2 fix Editor sgLabel pool issue 2017-06-28 18:24:12 +08:00
zilongshanren 0dd063e663 improve label 2017-06-28 17:49:05 +08:00
zilongshanren 35ab075f4d Merge remote-tracking branch 'fireball/master' into optimize-bmfont-load-speed 2017-06-28 17:16:55 +08:00
pandamicro a6d10e7804 Add pool for recycling _ccsg.Label objects 2017-06-27 21:42:55 +08:00
zilongshanren d706ad6fcf fix jsb bmfont loader 2017-06-27 14:36:30 +08:00
zilongshanren cd6bcca25a refine layout scrollview label animatable property 2017-06-06 10:45:34 +08:00
zilongshanren af07d514ed finish engine modular
modular particle system

modular tiledmap

finish modular
2017-06-05 14:17:56 +08:00
Jare Guo 3fcd0c8b46 no need to copy arguments for apply, see petkaantonov/bluebird#1389 2017-05-17 17:46:51 +08:00