Commit Graph

4709 Commits

Author SHA1 Message Date
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 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
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
Knox 42f1ee047b fixed cocos-creator/fireball/issues/7858 (#2963) 2018-07-11 10:35:11 +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
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
Jare Guo b30c9e3118 lookup md5 by uuid to reduce size of settings.js (#2947) 2018-07-06 18:02:11 +08:00
Knox cf6ddfed4e Fix bug when font is null and useSystemFont is false (#2948) 2018-07-06 18:01:04 +08:00
yinkaile 598a78cb66 fixed mesh assembler (#2952) 2018-07-06 17:51:42 +08:00
SijieWang 2d1d8543f3 Video player current time display error (#2951) 2018-07-06 15:06:23 +08:00
pandamicro 2978b651ca Fix jsb cc.Audio reference (#2949) 2018-07-06 11:09:15 +08:00
PP adb3920233 fix editbox 'this' missing (#2944) 2018-07-05 21:22:47 +08:00
pandamicro 077dbfd1ad Fix editor cannot open scene while inner asset missing (#2945)
* Fix editor cannot open scene while inner asset missing

* Improve code
2018-07-05 14:48:48 +08:00
Knox 5e643f0a3a fix button bug for fireball/issues/7826 (#2943) 2018-07-05 11:18:33 +08:00
Jare Guo 056a6f931a Merge 1.9
# Conflicts:
#	cocos2d/core/load-pipeline/audio-downloader.js
2018-07-04 22:51:28 +08:00
PP 24893f4db0 fix scrollView bug (#2939) 2018-07-04 11:43:23 +08:00
wangyhzzz e852caa44e Bug: canvas measureText function would return undefined (#2937) 2018-07-04 11:26:18 +08:00
pandamicro e96770a22d Fix render engine issue in strict mode (#2941) 2018-07-04 11:18:31 +08:00
Knox 5125506c02 fix audio bug to wechatgame for fireball/issues/7775 (#2940) 2018-07-03 16:05:05 +08:00
yinkaile 59402c0e5e fixed render TiledTile (#2936) 2018-07-03 13:46:17 +08:00