Commit Graph

398 Commits

Author SHA1 Message Date
Jare Guo bd29a6db8c Merge 2.0-release
# Conflicts:
#	predefine.js
2018-09-06 10:41:21 +08:00
pandamicro 2461c0f8cf Fix stencil inverted rendering issue (#3200) 2018-09-05 18:43:59 +08:00
PP dd834d3bfb create sprite material onEnable (#3178) 2018-09-03 10:21:21 +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
pandamicro 5de5578faf Fix stencil exit issue (#3171) 2018-08-30 22:15:53 +08:00
yinkaile a33be26b1a support skeleton animation (#3151)
* support 2.5D

* refine code

* refine code

* refine code

* refine code

* refine code

* refine code

* update

* support skin mesh

* add is3DNode property

* add comment

* update

* update

* update

* fixed test

* refine code

* update

* refine code

* refine code

* refine code
2018-08-30 14:56:18 +08:00
Jare Guo a0087103d4 Merge v2.0-release
# Conflicts:
#	predefine.js
2018-08-29 20:03:38 +08:00
pandamicro 2f807b6ca8 Update stencil manager impl to avoid rendering artifact on mi5 (#3133)
* Update stencil manager impl to avoid rendering artifact on mi5

* Cleanup maskEndAssembler

* Fix post update render data in mask

* Fix image stencil issue

* Merge frontMaterial & endMaterial
2018-08-28 00:42:32 +08:00
wdzhangchukong 2ddba1da00 Remove some name about Cocos (#3145)
* Rename __ccgl and __cccanvas

* Remove __jsc__

* Make CC_RUNTIME be true in runtime

* Judge loadRuntime with function
2018-08-27 15:54:09 +08:00
yinkaile 6c6ee961f0 support 2.5D (#3120)
* support 2.5D

* refine code

* refine code

* refine code

* refine code

* refine code

* refine code
2018-08-23 11:21:18 +08:00
pandamicro f2b815b8da Upgrade Mask canvas renderer (#3115)
* Upgrade Mask canvas renderer

* Improve sub context view rendering
2018-08-19 13:31:49 +08:00
pandamicro ada1d1335c Fix switch index buffer from released customIA issue (#3107) 2018-08-16 22:39:11 +08:00
pandamicro 2a43707cae Upgrade Mask with new graphics implementation (#3096) 2018-08-16 00:52:47 +08:00
yinkaile d1855f26be fixed graphics error (#3095) 2018-08-15 19:40:36 +08:00
pandamicro c7668f6e1c Fix tiled sprite render issue with rotated frame (#3087) 2018-08-14 18:23:07 +08:00
Jare Guo 426f809c32 Merge branch 'v2.0-release' into next
# Conflicts:
#	cocos2d/core/renderer/render-engine.js
2018-08-14 16:00:50 +08:00
pandamicro 137488c300 Fix Label error when setting font in editor (#3084) 2018-08-14 12:05:11 +08:00
pandamicro 411e52b580 Fix user reported issues (#3081)
* Upgrade render engine to fix some issues

* preserve drawing buffer in qqplay

* Fix label issue when using system font and fontFamily is not set

* Secure Editbox _impl access

* Fix Joint.getReactionForce

* Remove cc.director.getProjection usage

* Fix particle system color type issue in editor

* Apply Skeleton frame when changing animation in editor

* Fix docs, improve deprecation
2018-08-14 10:25:21 +08:00
pandamicro 18feb118e1 Fix module settings (#3078)
* Fix module settings

* Fix graphics module in canvas

* Fix mask module
2018-08-13 16:07:25 +08:00
yinkaile e1b213592f improve graphics (#3060)
* improve graphics

* fixed spine debug draw

* refine graphics
2018-08-10 19:08:06 +08:00
yinkaile a4d17d3d1b improve modular (#3069)
* improve modular

* fixed test

* remove previousRequire from engine prelude
2018-08-10 19:00:33 +08:00
wdzhangchukong 11f7c5023f Fix load font asset error in runtime (#3067) 2018-08-10 17:36:35 +08:00
Jare Guo 51b68523ac Merge commit v2.0-release into next
# Conflicts:
#	cocos2d/core/components/editbox/CCEditBox.js
2018-08-10 13:39:24 +08:00
PP cb09d7eb05 fix wx open data avartar (#3057) 2018-08-08 22:31:40 +08:00
PP 205f0734a8 fix wx canvas fillRect clearColor (#3055) 2018-08-08 15:57:31 +08:00
PP 045a416b56 add IE11 support (#3050) 2018-08-08 11:16:19 +08:00
yinkaile 44d068bea8 support compress texture (#3039)
* support compress texture

* add cc.macro.SupportTextureFormats

* fixed texture test

* update api comment

* reverse texture size

* refine code

* refine code

* refine data
2018-08-06 14:22:43 +08:00
PP 363ac31093 fix load remote ttf with md5 (#3035) 2018-07-31 17:05:16 +08:00
PP e0c2c2af9f fix download remote ttf (#3034) 2018-07-31 14:11:51 +08:00
pandamicro 11c5390734 Use mediump by default 2018-07-30 22:59:17 +08:00
pandamicro a82b03d3a9 Improve doc 2018-07-30 22:59:17 +08:00
pandamicro 37a644c078 Expose cc.renderer directly 2018-07-30 22:59:17 +08:00
pandamicro 74b38f2f99 Pick fixes from next (#3024)
* fix editbox show multi labels when editing (#3015)

* fix load ttf with md5 (#3016)
2018-07-27 15:44:48 +08:00
pandamicro 4b28b30657 Improve API docs and fix TiledLayer.setTileGIDAt (#3022)
* Update documents

* Fix TiledLayer.getTileGIDAt with 0
2018-07-27 14:31:20 +08:00
PP f74f36ca23 fix load ttf with md5 (#3016) 2018-07-26 17:14:51 +08:00
pandamicro b3a6310043 Fix issues in font family name and bmfont size (#3017)
* Fix layout not responding to bmfont size changing issue

* Add quotation around font family name with space
2018-07-26 16:05:52 +08:00
pandamicro 0375de9414 Fix default camera stencil clear issue (#3014) 2018-07-25 11:47:41 +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 a69b55e0c9 Fix label outline disabled issue (#3007) 2018-07-23 18:19:03 +08:00
pandamicro 1ec38cc239 Fix beta user reported issues (#3004)
* Fix doc, error & cleanup code

* Fix render component nested in mask issue

* Fix multiple spine textures rendering issue

* Box2d stability

* Upgrade renderer.js to 1.8.6

* Avoid particle default values override custom issue

* Fix ParticleSystem restore issue in editor

* Fix enumerate scene.active issue

* Fix error map with new ids
2018-07-23 17:25:54 +08:00
pandamicro 61c5fb8174 Fix request buffer issue & JSB cc.game.frame (#2999)
* Fix request buffer cause flush while not visiting scene

* Fix JSB cc.game.frame issue
2018-07-19 23:31:08 +08:00
yinkaile edf97a422d fixed mesh buffer usage (#2996) 2018-07-19 11:13:27 +08:00
pandamicro 1102e50750 Fix user reported issues (#2995)
* Cleanup code & fix api doc

* Fix plist parser require issue

* Fix spine null material issue

* Fix Sprite null material issue

* Fix uninit editbox updateString issue
2018-07-19 00:01:20 +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 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
pandamicro 0cfb3f3e31 Upgrade gfx.js to 1.3.1 (#2985) 2018-07-16 17:45:12 +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
yinkaile 5e84cd63e6 fixed some issues (#2958)
* fixed motion streak

* dynamic atlas should ignore render texture

* should not enable physics in editor
2018-07-10 15:15:13 +08:00