Commit Graph

79 Commits

Author SHA1 Message Date
zilongshanren 14b9d3a8db fix infinit recursive function call 2016-06-17 16:44:19 +08:00
zilongshanren 3b9d875014 fix bmfont and ttf shrink in editor
fix bmfont vertical clamp precision

fix a bunch of label issues

fix bmfont inital font metrics
2016-06-17 16:32:02 +08:00
zilongshanren 46e2edc5ac fix invalid letter 2016-06-16 12:05:52 +08:00
zilongshanren 36759f0032 fix bmfont long word wrap 2016-06-16 11:23:04 +08:00
Wang Nan d33a81fac5 Merge pull request #778 from zilongshanren/fix-bmfont-resize-height
fix bmfont label resize height
2016-06-08 13:44:54 +08:00
zilongshanren f4582d9515 fix bmfont label resize height 2016-06-08 12:03:10 +08:00
knoxHuang 28a06758b9 fix Label string is null for webGL waring 2016-06-08 11:47:44 +08:00
zilongshanren 8c2e92b009 add bmfont layout 2016-06-06 16:34:22 +08:00
Huabing.Xu ab26de3c4d fix label bugs 1. outline sharp edge 2. margin for outline 2016-06-02 09:57:20 +08:00
Huabing.Xu 93acfa93a5 use round for line join to avoid sharp edge for outline effect 2016-06-01 14:39:33 +08:00
ViusualSJ 306a61707a remove useSystemFont from CCGLabel 2016-05-20 15:28:51 +08:00
zhangbin bd83852ec5 Record the original size in the BitmapFont Asset object. 2016-05-20 11:35:00 +08:00
Wang Nan c51e89f49e Merge pull request #684 from zilongshanren/fix-label-webgl-size-issue
fix label not updating content size
2016-05-18 18:24:52 +08:00
zhangbin 8a85398ab1 Rename the property & the method. 2016-05-18 16:21:30 +08:00
zhangbin 215cd99831 Add property in Label component for the origin size of BMFont. 2016-05-18 15:37:41 +08:00
Wang Nan f680c2c591 Merge pull request #685 from dabingnn/label_add_outline
adjust outline effect
2016-05-17 18:28:42 +08:00
zilongshanren 1f4770d32a simplify label content update size logic 2016-05-17 18:28:41 +08:00
Huabing.Xu e2c12e672c multiply width by 2 2016-05-17 18:13:44 +08:00
Huabing.Xu 714a9816e9 adjust outline effect 2016-05-17 17:53:27 +08:00
zilongshanren 34ae8d3ccf fix label not updating content size 2016-05-17 17:15:35 +08:00
Wang Nan edf92d24a5 Merge pull request #679 from dabingnn/label_add_outline
add width for stroke
2016-05-17 14:02:10 +08:00
Huabing.Xu a9d5ea5053 add width for stroke 2016-05-17 12:13:30 +08:00
Wang Nan df62232316 Merge pull request #670 from dabingnn/label_add_outline
Label add outline
2016-05-17 09:23:50 +08:00
Wang Nan 5d9ce5d57e Merge pull request #669 from cocos-creator/v1.0
merge V1.0
2016-05-13 13:45:01 +08:00
Huabing.Xu 101e710683 implement outline effect 2016-05-13 10:32:20 +08:00
Huabing.Xu c8a56b13f7 add outline effect 2016-05-12 18:38:34 +08:00
Huabing.Xu af55d43f89 add outline feature 2016-05-12 15:10:00 +08:00
knoxHuang b0122605fb fix Inherits from SGNode nodes can not overload a method in BaseNodePropertyDefine.js 2016-05-12 11:06:36 +08:00
Jare Guo 3f1b682d19 Merge commit '0d438a748a5aae594e29344fffe4ea040e235c81'
# Conflicts:
#	cocos2d/core/components/CCRendererInSG.js
#	cocos2d/core/load-pipeline/asset-table.js
#	cocos2d/tilemap/CCTiledMap.js
#	jsb/jsb-editbox.js
2016-04-27 10:01:06 +08:00
knoxHuang 451561bfd7 Bitmap Font resources from Raw Asset to Asset (#2661) 2016-04-18 18:29:20 +08:00
Jare Guo f2fc319677 Merge pull request #582 from zilongshanren/fix-label-cascaded-opacity
fix cascaded opacity issue of label
2016-04-18 14:53:42 +08:00
zilongshanren aaea7ce6df rename locFlag to this._dirtyFlag 2016-04-12 10:19:01 +08:00
zilongshanren ccc3a2abfa fix label positioning 2016-04-12 09:20:37 +08:00
zilongshanren 296f07f30e fix cascaded opacity issue of label 2016-04-11 17:13:34 +08:00
zilongshanren f7d44afd73 fix system font lineHeight calculate issue 2016-03-22 18:25:09 +08:00
zilongshanren 1b8d835d48 make ttf and bmfont behavior the same 2016-03-18 21:52:13 +08:00
zilongshanren 61d2ecf641 refactor bmFontSize to drawFontSize 2016-03-18 19:59:35 +08:00
zilongshanren 46913e7d87 fix webgl label rendering position 2016-03-17 09:47:34 +08:00
zilongshanren e6336209c9 don't excluse color,opacity and textDirty logic 2016-03-16 18:11:30 +08:00
zilongshanren bb8481e184 fix label color opacity issue 2016-03-16 16:42:12 +08:00
zilongshanren 34b62651d1 refactoring label 2016-03-16 15:36:04 +08:00
zilongshanren 9cd4dd5aba reuse textDirty dirty flag 2016-03-16 14:44:29 +08:00
zilongshanren c016ae2aec fix bmfont getContentSize cause chilrenOrderDrity 2016-03-16 14:33:40 +08:00
zilongshanren 7f0007c09a Merge remote-tracking branch 'fireball/v1.0' into fix-label-blink-issue 2016-03-16 10:31:46 +08:00
pandamicro 6f530df13b Cleanup other modules 2016-03-14 21:46:13 +08:00
zilongshanren e74bc01add refactoring label, fix blink issue
make it works

remove unused code
2016-03-14 21:24:48 +08:00
pandamicro 1d8a6f29e0 Refactor cc.Macro to cc.macro 2016-03-14 11:49:03 +08:00
pandamicro 8306801243 Modulize event-manager, renderer and clean up core 2016-03-14 11:49:03 +08:00
pandamicro 334d99f414 Cleanup CCCommon, CCConfig, CCMacro, CCShaders 2016-03-13 18:57:13 +08:00
pandamicro c26dd4b9df Avoid creating duplicated sprite batch node for bmfont Label 2016-03-10 16:17:01 +08:00