Commit Graph

99 Commits

Author SHA1 Message Date
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
zilongshanren 680a6f05b4 add missing CC_DEV macro to component tooltip 2017-05-02 10:16:28 +08:00
zilongshanren 31eee86bcd remove visible property 2017-04-24 17:43:33 +08:00
zilongshanren 6b121a2be5 improve fontFamily property 2017-04-24 17:32:15 +08:00
zilongshanren 9f7f1d48f3 add system font fontFamily support 2017-04-24 16:46:57 +08:00
Jare Guo ecb242f046 fix JSB crash of label when texture not loaded 2017-04-18 17:23:43 +08:00
zilongshanren 59f826536b fix bmfont error 2017-03-22 16:52:48 +08:00
Wang Nan 41119032a4 Merge pull request #1545 from pandamicro/v1.4
Remove arguments usage in jsb
2017-03-16 11:44:10 +08:00
zilongshanren fd2d1a1bc2 use font asset as cache 2017-03-16 10:03:14 +08:00
zilongshanren 7aa42f1b41 fix bmfont parser cache 2017-03-15 19:58:01 +08:00
pandamicro 34cd3c30b7 Remove arguments usage in jsb 2017-03-12 15:25:36 +08:00
zilongshanren 4e1bd339aa only set spacingX when label is bmfont 2017-03-10 14:10:37 +08:00
zilongshanren 4a31d4bcac fix BMFont spacingX 2017-03-07 18:54:31 +08:00
zilongshanren 35dfa5e318 add spacingX for bmfont 2017-02-17 20:52:13 +08:00
zilongshanren feebb86fbf add spacingX property to label component 2017-02-17 20:26:03 +08:00
zhangbin ae50aeff1a Improve the initialization logic of Label with BitmapFont. 2017-02-17 11:06:15 +08:00
zhangbin 4f8e4ba6d5 Improve the initialization logic of Label with BitmapFont. 2017-02-16 10:36:24 +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 e1efd09378 rename some variables 2016-12-22 10:01:41 +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
knoxHuang bd8127aff7 optimization shader and tooltip for #fireball/issues/4771 2016-12-19 18:19:18 +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
zilongshanren f82062160a fix label jsb resize height dimensions issue 2016-11-23 14:46:32 +08:00
zilongshanren 8b20d1de85 fix system font toggle 2016-11-09 12:00:08 +08:00
Nan Wang 032d2d2abd fix api doc reference 2016-10-20 18:36:01 +08:00
zilongshanren 4a1eb9e0d9 only reset node height in resize_height 2016-10-10 18:15:23 +08:00
zilongshanren 0d31817eb0 move debounce function in ctor 2016-10-09 18:19:25 +08:00
zilongshanren 57e17c73b9 add RichText component
A minimal working prototype

try and fix

fix richtext color

make richtext properties tweakable

temp

refine

add measure text

fix fragment text

finish non \n case

make non maxWidth working

adjust calling order

fix wired bugs

get first word

still one bug remained

fix wrap error

refactoring

update lineOffsetX

refactoring

refactoring

fix a return issue

don't display vertical alignment

improve performance

refactoring almost done

refactoring

refactoring

improve setColor

use shared htmlTextParser

fix contentSize change issue

add click event handler

add hoverin and hoverout event handler

fix a issue

remove mousein and mouseover

done
2016-08-25 16:47:59 +08:00
Wang Nan e6201c7ffc Merge pull request #923 from zilongshanren/refactoring-layout-widget-label
refactoring layout and label update timing
2016-07-18 17:24:03 +08:00
zilongshanren 5f350544ac refactoring layout and label update timing 2016-07-18 16:57:40 +08:00
Johnny Wu a462ce79e4 change inspector url 2016-07-12 18:22:28 +08:00
zilongshanren 11db3a89c1 minor fix
add docs for actualFontSize

remove unnedded bind call

only define debounce method in Editor
2016-07-01 18:38:12 +08:00
zilongshanren 5ad4e6fca9 fix web system font shrink wrap effect
fix label font size

add measure text height

make a skeleton of label ttf shrink algorithm

add debounce method for node string

finish no \n wrap

add debounced font size to label

finish web ttf shrink
2016-07-01 18:13:26 +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
knoxHuang 89ab77b91a fix CCLabel TextAlignment API 2016-06-14 17:00:06 +08:00
zilongshanren 998cdb1dc8 only set line height when label is bmfont 2016-06-06 18:37:19 +08:00
zilongshanren 6098e801cd fix label resize height issue 2016-06-06 17:10:00 +08:00
zilongshanren 8c2e92b009 add bmfont layout 2016-06-06 16:34:22 +08:00
Jare Guo 3a660d7aab fix label color can not changed before update phase 2016-06-03 14:12:36 +08:00
Jare Guo a568ac9269 label should not register size provider every frame 2016-05-23 15:02:08 +08:00
Wang Nan 00a5067baf Merge pull request #710 from jareguo/master
make sizeProvider error more clear
2016-05-23 11:24:21 +08:00
Jare Guo b1e8e498e9 make sizeProvider error more clear 2016-05-21 18:23:03 +08:00
Jare Guo ec2247995b fix rendering component can not hide in onLoad 2016-05-21 17:37:01 +08:00
ViusualSJ 02c8015610 Fixed a bug about use system font 2016-05-20 17:46:04 +08:00
ViusualSJ 3861c76385 remove useSystemFont from CCGLabel 2016-05-20 15:38:51 +08:00
ViusualSJ 306a61707a remove useSystemFont from CCGLabel 2016-05-20 15:28:51 +08:00
zhangbin b56dfce1da Change the bmFontOriginalSize property to private. 2016-05-20 14:35:00 +08:00