Commit Graph

6657 Commits

Author SHA1 Message Date
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
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
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
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
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
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
PP 24893f4db0 fix scrollView bug (#2939) 2018-07-04 11:43:23 +08:00
pandamicro e96770a22d Fix render engine issue in strict mode (#2941) 2018-07-04 11:18:31 +08:00
yinkaile 59402c0e5e fixed render TiledTile (#2936) 2018-07-03 13:46:17 +08:00
pandamicro 2b4b5f390a Emit dependency errors to show real loading result (#2935) 2018-07-02 16:34:25 +08:00
PP 87545510d2 fix particleSystem load bug (#2932) 2018-07-02 13:33:41 +08:00
PP 0b8f0eddf4 fix ccgame bug (#2930) 2018-07-02 11:11:37 +08:00
pandamicro 5c84433546 Merge pull request #2928 from pandamicro/next
Merge master into next (subpackage support)
2018-07-02 10:34:49 +08:00
pandamicro f1cc4bd5aa Merge remote-tracking branch 'fireball/master' into next 2018-07-02 10:27:46 +08:00
PP 13bc21dd1b fix vec2 signAngle func (#2925) 2018-07-01 17:50:42 +08:00
pandamicro 93e115ebdd Add runtime parameter and disable CC_SUPPORT_JIT (#2926) 2018-07-01 01:51:00 +08:00
黄家辉 ecc8bb0599 test (#2910) 2018-06-30 20:29:00 +08:00
pandamicro c7603a1c63 Refactor engine & game scripts loading process (#2922)
* Remove cc.game.CONFIG_KEY

* Remove cc.game.CONFIG_KEY

* Refactor engine and game scripts loading process

- Make cc.view & cc.director ready when engine loaded
- Load game script before renderer initialize
- Emit EVENT_ENGINE_INITED instead of EVENT_RENDERER_INITED

* Remove cc.macro. ENABLE_GC_FOR_NATIVE_OBJECTS

* Remove cc.loader.resPath usage in VideoPlayerImpl

* deprecated cc.director.getWinSize

* Improve game doc
2018-06-29 16:37:06 +08:00
yinkaile 48496e6975 refine loadSubpackage (#2924) 2018-06-29 12:34:47 +08:00
Jare Guo 1d30cf8736 fix merge issue (#2923) 2018-06-29 10:21:07 +08:00
Jare Guo 142646de80 Merge 1.9
# Conflicts:
#	cocos2d/core/videoplayer/CCSGVideoPlayer.js
2018-06-28 18:35:37 +08:00
Jare Guo 3025da37aa Merge pull request #2921 from knoxHuang/fix_bug
fix fullScreen and videoplay bug for wxgame
2018-06-28 18:27:38 +08:00
knox 85d5ad0683 fix fullScreen and videoplay bug for wxgame 2018-06-28 18:13:42 +08:00
Jare Guo 1441673314 Merge pull request #2919 from cocos-creator/v1.9-release
sync branch
2018-06-28 17:44:56 +08:00
yinkaile 13f46cd3ce add loadSubpackage api (#2914)
* add loadSubpackage api

* refine code

* refine code
2018-06-28 16:46:46 +08:00
Knox 93804c9f00 fix _unregisterAccelerometerEvent err (#2918) 2018-06-28 15:58:43 +08:00
PP 8299a9052f remove jsb && jsb_polyfill (#2913) 2018-06-28 09:27:45 +08:00
pandamicro 1f94f812a3 Fix typo in VideoPlayer (#2917) 2018-06-27 16:43:11 +08:00
pandamicro a89af08a6b Improve android p system detection in wechat (#2915) 2018-06-27 15:37:47 +08:00