Commit Graph

7807 Commits

Author SHA1 Message Date
Knox 3845b740fc add webview opacity for fireball/issues/4406 (#3023) 2018-07-27 15:39:25 +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
pandamicro 985479e766 Fix user reported issues in spine & editbox (#3019)
* Fix spine null material issue caused by empty frame

* Secure label access in Editbox
2018-07-26 20:23:19 +08:00
pandamicro 64edd72e5e Improve persistRootNode transition to new scene (#3018) 2018-07-26 20:17:34 +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
PP 8daee8cd31 componentEventHandler serialize compId instead of compName (#2973) 2018-07-25 23:43:14 +08:00
PP 751b36cf1e fix editbox show multi labels when editing (#3015) 2018-07-25 12:54:32 +08:00
pandamicro 0375de9414 Fix default camera stencil clear issue (#3014) 2018-07-25 11:47:41 +08:00
Jare Guo 82969a85d3 Timeline should retain all scene objects by using uuids to avoid reference lost after scene reloaded (#3005) 2018-07-24 21:52:21 +08:00
yinkaile 5fcc88ada2 fixed change armatureName has no effect (#3006) 2018-07-24 21:51:12 +08:00
pandamicro bfb049e571 Fix beta issues in Label, Spine and Sprite (#3012)
* Fix label dark border issue

* Secure Skeleton listener setting

* Fix Sprite.setState not working issue

* Fix deprecation message for setDisplayStats
2018-07-24 21:50:44 +08:00
Knox d6ea17f8f1 fix fireball/issues/7969 (#3010)
* fix fireball/issues/7969

* add test color
2018-07-24 16:15:52 +08:00
Jare Guo 4304b8dacb Merge pull request #3009 from cocos-creator/v2.0-release
sync branch
2018-07-24 11:46:49 +08:00
pandamicro c4593dd23b Fix beta user reported issues in Label & Spine (#3008)
* Fix label dark border issue

* Secure Skeleton listener setting
2018-07-24 09:47:13 +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
yinkaile 61ac6da31f fixed physics (#3003)
* fixed rigidbody sycRotation

* fixed physics debug draw
2018-07-22 12:08:03 +08:00
pandamicro 0a4ede7521 Fix ParticleSystem customs not working issue (#3000) 2018-07-20 15:11:07 +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
Knox fd7c1514de improve TiledTile code (#2991)
* improve TiledTile code

* refine code
2018-07-19 13:45:34 +08:00
pandamicro 41fe03e392 Issue fixes for Image cache, ParticleSystem & loadResDir (#2997)
* Remove Image object from loader cache when cleanup

* Fix ParticleSystem still render after uncheck preview

* Fix issue when loadResDir not passing completeCallback
2018-07-19 11:28:09 +08:00
yinkaile edf97a422d fixed mesh buffer usage (#2996) 2018-07-19 11:13:27 +08:00
黄家辉 0dda84ad51 fix the loadResDir function param transfer problem (#2992)
fix loadResDir completeCallback absent issue
2018-07-19 00:04:59 +08:00
黄家辉 9e71960484 add the callback function when load res failed (#2994)
connect to the engine#2945
2018-07-19 00:03:23 +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 e9be28d94e Add CLEANUP_IMAGE_CACHE macro to clear image src after loading (#2993)
* Add CLEANUP_IMAGE_CACHE macro to clear image src after loading

* Fix API doc
2018-07-18 17:12:32 +08:00
pandamicro 76c3182989 Make async loading working (#2990)
* Make async loading working

* small modifs
2018-07-18 00:15:01 +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 25a811ef3d Merge pull request #2988 from pandamicro/next
Merge master to next
2018-07-17 16:48:26 +08:00
pandamicro 69166aef92 Fix typo 2018-07-17 16:46:11 +08:00
pandamicro 83e9630333 Fix ttf loading issue 2018-07-17 16:33:51 +08:00
pandamicro c42f77ab25 Secure measureText in wechat (offscreen) 2018-07-17 16:33:34 +08:00
pandamicro aff5345cfd Merge remote-tracking branch 'origin/master' into next 2018-07-17 15:49:38 +08:00
pandamicro e077979add Improve wechat memory usage by release image cache (#2986)
* Fix API, cleanup node

* Improve wechat memory usage by release image cache after loaded texture
2018-07-17 14:58:19 +08:00
Knox aee8d9c045 fix load ttf error in md5 for fireball/issues/7896 (#2982) 2018-07-17 11:12:48 +08:00
PP 1813e48491 return spriteAtlas-related spriteFrames when loadResDir (#2981) 2018-07-17 10:28:22 +08:00
yinkaile dba48661b0 fixed physics system (#2984)
* should reset physics contact

* fixed physics debug draw

* fixed revolute joint limit
2018-07-17 09:59:13 +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
Knox 498bb67365 fix load ttf error in md5 for fireball/issues/7896 (#2982) 2018-07-16 15:13:11 +08:00
pandamicro 4180152cdf Fix beta users reported issues (#2979)
* Fix node API docs

* Fix debug panel appear in release mode issue

* Do not alert rotation inconsistency, avoid alert in 3d

* Fix skew not updated issue

* Fix EventTarget not inited in SpriteFrame

* Added Animation.EventType

* Add getQuat & setQuat for 3d node

* do not alert normalize zero vector

* Fix spine assembler rendering issue

* Improve node hitTest & fix mask hitTest

* Add missing Node.once implementation

* Fix EventTarget.once callback parameters

* Improve event API docs

* Fix return type should be vec2 instead of simple object

* Improve showFPS parse
2018-07-16 11:26:17 +08:00
yinkaile 0ba932be11 refine TiledTile (#2977) 2018-07-13 16:26:19 +08:00
Knox d2468971af fix editbox setting string will not be updated immediately for fireball/issues/7890 (#2978) 2018-07-13 16:23:37 +08:00
PP 293e31756a cut debug info when build project (#2976)
ensure DebugInfo ignored even if cwd not in engine
2018-07-13 15:36:29 +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
Knox e9c2cdb544 fix tmxxmlparser color fromHex error (#2975)
* fix tmxxmlparser color fromHex error

* refine code
2018-07-13 12:03:46 +08:00
yinkaile 32ae9ed454 refine TiledTile (#2972) 2018-07-13 10:53:17 +08:00
Jare Guo f8d38f4adf optimize construction and serialization performance for wechat mini games (#2970)
* optimize instantiate for platform whose CC_SUPPORT_JIT disabled

* optimize instantiate for platform whose CC_SUPPORT_JIT disabled

* optimize object construction for platform whose CC_SUPPORT_JIT disabled

* optimize deserialization for platform whose CC_SUPPORT_JIT disabled
2018-07-13 10:48:17 +08:00
Knox 54cac17711 fix get texture value for particle system (#2974) 2018-07-13 10:38:18 +08:00