Commit Graph

16 Commits

Author SHA1 Message Date
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 69166aef92 Fix typo 2018-07-17 16:46:11 +08:00
pandamicro c42f77ab25 Secure measureText in wechat (offscreen) 2018-07-17 16:33:34 +08:00
Knox 6f4af02231 rm globalCompositeOperation for ttf (#2983)
fix set_globalCompositeOperation isn't implemented error
2018-07-16 15:34:19 +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
pandamicro 698086046f Small issue fixes and modifs (#2904)
* Fix ttf font loading issue

* Avoid update hash for sprite material if not needed

* Small improvements

* Fix director event register issue

* Fix wechat game issue on Android P (no env.system)
2018-06-27 10:30:07 +08:00
pandamicro 542b9590ec Fix color flow not reseting flag for normal node (#2824)
* Fix color flow not reseting flag for normal node

* Simplify ttf cache rendering
2018-06-07 18:42:43 +08:00
Knox 45e70281d6 fix outline alpha error for fireball/issues/7464 (#2797)
* fix outline alpha error for fireball/issues/7464

* add opacity todo tips
2018-06-04 17:54:02 +08:00
Knox ac9923359f fix fireball/issues/7405 (#2754)
* fix fireball/issues/7405

* refine code
2018-05-29 17:23:51 +08:00
Knox c50ad3f079 fix Label + LabelOutline display error for fireball/issues/7398 (#2748)
* fix Label + LabelOutline display error for fireball/issues/7398

* refine code
2018-05-29 10:57:25 +08:00
pandamicro 2e05573876 Issue fixes and upgrade version (#2749)
* Remove cc.create3DContext

* Check LabelOutline to avoid issue when module absent

* Update to 2.0.0 preview

* Fix AnimationState event API issues
2018-05-28 18:53:59 +08:00
Knox 2e95f374f8 optimization label memory (#2693)
* optimization label memory and refine code

* refine code
2018-05-17 09:56:02 +08:00
yinkaile ec176ce336 refine activate material (#2685)
* refine label activateMaterial

* refine sprite activateMaterial

* refine motion streak activateMaterial
2018-05-15 18:44:45 +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 14a555e0fb Merge remote-tracking branch 'fireball/master' into next 2018-04-16 19:14:08 +08:00
yinkaile 4b44244fc2 support canvas label 2018-03-29 18:01:11 +08:00