Commit Graph

6693 Commits

Author SHA1 Message Date
PP 751b36cf1e fix editbox show multi labels when editing (#3015) 2018-07-25 12:54:32 +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
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
Knox 9eb19d870d fix videoplay unable to trigger VideoPlayerImpl.EventType.COMPLETED event (#2968) 2018-07-11 17:05:24 +08:00
pandamicro 2f1a1773f2 Fix RenderTexture error for Android WeChat (#2967)
* Fix RenderTexture error for Android WeChat.

* Fix audio clip set error and instance release safe.
2018-07-11 16:28:23 +08:00
Jare Guo 3d5e88d2c1 optimize performance of object construction on wechat platform (#2965)
* optimize destruct for platform whose CC_SUPPORT_JIT disabled

* define __values__ to replace __props__ used in serialization
2018-07-11 16:25:02 +08:00
yinkaile 204b112145 update to box2d.ts (#2964)
* update to box2d.ts

* update to box2d.ts

* update to box2d.ts

* fixed debug draw color

* update to box2d.ts

* fixed physics manager

* add license
2018-07-11 15:43:06 +08:00
pandamicro e56379f751 Merge pull request #2966 from cocos-creator/v2.0-release
Merge v2.0 release to next
2018-07-11 15:19:37 +08:00
Knox 42f1ee047b fixed cocos-creator/fireball/issues/7858 (#2963) 2018-07-11 10:35:11 +08:00
Knox eccb4d20ac Separate share i18n to engine (#2954) 2018-07-10 17:23:25 +08:00
Knox 666cd265d8 set _renderComponent is null in mask disable (#2961) 2018-07-10 17:14:49 +08:00
pandamicro bc071a0ff0 Fix issues (#2960)
* Fix EVENT_ENGINE_INITED callback not invoked issue

* Fix redo making disabled component enter render flow
2018-07-10 16:47:17 +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
Knox 7396874344 fixed isMobile value error to wxgame devtools (#2959) 2018-07-10 15:07:31 +08:00
pandamicro 60f5af3811 Fix EVENT_ENGINE_INITED callback not invoked issue (#2957) 2018-07-10 14:33:51 +08:00
Knox 53f8b64379 fix fireball/issues/7847 (#2956) 2018-07-09 17:36:04 +08:00
Knox a445600d7f fix Build unchecked md5 will report an error for issues/7845 (#2955) 2018-07-09 15:46:03 +08:00