Commit Graph

99 Commits

Author SHA1 Message Date
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
ColinCollins 6a3c4576c0 Modify the create.d.ts (#3059)
1. fixed the problem that CCDebug doesn't contain cc.debug.DebugMode.
2. adjust the marco file, forbid the user to use the cc.KEY straightly
2018-08-09 16:29:59 +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 0a4ede7521 Fix ParticleSystem customs not working issue (#3000) 2018-07-20 15:11:07 +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
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 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 54cac17711 fix get texture value for particle system (#2974) 2018-07-13 10:38:18 +08:00
PP 87545510d2 fix particleSystem load bug (#2932) 2018-07-02 13:33:41 +08:00
pandamicro 2bb675522e Refactor engine boot process (#2902)
* Wrap cc._initDebugSettings & cc._getError to debugUtil module

* remove CCDebugger require

* Refactor engine boot process

* Issue fixes

* Remove duplicated ENGINE_VERSION define

* Encapsulate cc.debug with debug related APIs

* Expose cc.debug

* Fix editor require issue

* Add API deprecations
2018-06-26 15:12:26 +08:00
yinkaile e95575c481 move blend factor to CCRenderComponent (#2854)
* move blend factor to CCRenderComponent

* refine code
2018-06-13 16:17:00 +08:00
pandamicro c6fd1ccf85 Fix Particle System issue in editor (#2805) 2018-06-05 18:53:31 +08:00
yinkaile d8ff99eb53 fixed render issues (#2798) 2018-06-04 18:17:58 +08:00
pandamicro c08497ccfd Fix ParticleSystem render state and material issue (#2764) 2018-05-29 22:50:24 +08:00
pandamicro acb08dcab5 CPU based ParticleSystem implementation (#2730)
* Add RenderComponent markForCustomIARender

* CPU based ParticleSystem implementation

* Remove GPU based ParticleMaterial
2018-05-24 16:05:15 +08:00
pandamicro c3a9e6235b Improve render flag control in render component (#2695)
* Improve render flag control in render component

* Overwrite disableRender in Mask

* Secure markForUpdateRenderData for Sprite (check material)

* Fix particle auto remove process
2018-05-17 10:41:46 +08:00
pandamicro b7ce3032ba Fix more issues for 2.0 (#2662)
* Use black as camera default clear color

* Fix director delta time issue in editor

* Fix particle system init and editor update issue

* Improve Node API ref
2018-05-10 16:47:44 +08:00
pandamicro 50c91c641c Use RenderFlow to optimize renderer visit process (#2634)
* Optimize (#2601)

* support render flow

* small improve

* small improve

* support different vertext format for buffer

* optimize dynamic atlas

* fixed sprite assemblers

* store uvs in spriteframe

* fixed issues

* fixed mask

* remove unused code

* small improve

* small fix

* upgrade assemblers

* refine code

* set id for vertex format name

* Fix mesh buffer initialize issue on native

* Fix spine node setting issue

* fixed dragonbone assembler (#2635)
2018-05-07 15:47:48 +08:00
pandamicro e597e34f4f Remove __instanceId from Node and Component (#2627)
* Add Scheduler.enableForTarget and change to use  _id

* Use _id instead of __instanceId in Texture2D

* Fix ParticleSystem __instanceId usage

* Use _id instead of __instanceId in ActionManager

* Fix usage of Scheduler in InputManager

* Use _id instead of __instanceId in EventManager

* Totally remove ClassManager and __instanceId

* Fix initialization process

* Fix touch & mouse listener off check issue

* Fix id not generated issue

* Fix touch & mouse listener being removed by rejected persist node

* Improve logic
2018-05-04 13:51:21 +08:00
Jare Guo 5e3d9e24e5 read minRadiusVariance from particle plist 2018-04-17 14:48:51 +08:00
pandamicro 3ffdf16c61 Fix issues for next merging dev 2018-04-16 19:44:34 +08:00
pandamicro 14a555e0fb Merge remote-tracking branch 'fireball/master' into next 2018-04-16 19:14:08 +08:00
Jare Guo 0a932aef00 replace all RawAssets with Assets 2018-04-09 14:48:21 +08:00
pandamicro 0fb074ec82 Cleanup old deprecated APIs 2018-03-22 16:58:55 +08:00
pandamicro 9f4a67a6f1 Improve material hash id update and compare 2018-03-21 16:39:36 +08:00
pandamicro 9e0c688de7 Cleanup CCMacro 2018-03-19 22:30:52 +08:00
pandamicro f92894ea08 Remove CCTypes 2018-03-19 18:40:14 +08:00
pandamicro 6e0825cd78 Fix other cc.p usage 2018-03-19 12:43:15 +08:00
pandamicro 49fd994035 Move CCTexture2D & CCSpriteFrame to assets 2018-03-13 17:48:38 +08:00
pandamicro 77febbfe3d Merge branch 'master' into next 2018-03-13 15:07:21 +08:00
fusijie 23fc401c80 fixed error spriteFrame textureLoaded called 2018-02-26 15:19:08 +08:00
Jare Guo a6fb92ad90 updating license 2018-02-01 09:38:54 +08:00
Jare Guo bd15543093 updating license: Chukong Aipu -> Xiamen Yaji 2018-01-31 17:51:49 +08:00
pandamicro 3aa3d3ebce Fix ParticleSystem property type issue 2018-01-16 17:28:28 +08:00
pandamicro 7712da14f5 Merge remote-tracking branch 'fireball/master' into next 2018-01-15 17:51:33 +08:00
pandamicro 3930bc8b1e Fix blend function not updated issue 2018-01-12 18:34:38 +08:00
pandamicro 44a0472ebb Life control & auto remove for particle system 2018-01-12 17:39:07 +08:00
pandamicro 13a4dc7e50 Walker supports multiple render data per component 2017-12-29 01:26:30 +08:00
Jare Guo 5706539bd5 remove cc._LogInfos, use cc._getError instead 2017-12-27 10:55:34 +08:00
pandamicro 120ac1f586 Fix color deserialize issue and support negative delta color 2017-12-25 20:05:35 +08:00
pandamicro 8aff292ab2 Fix ParticleSystem file config overload custom issue 2017-12-25 17:26:18 +08:00
pandamicro eaa80dd779 Incomplete GPU based particle system support 2017-12-25 14:03:28 +08:00
pandamicro 8b70aec1df Stablize ParticleSystem component 2017-12-18 17:35:49 +08:00
pandamicro ec243da6d1 Basic refactorization of ParticleSystem, remove dep of SGParticleSystem 2017-12-18 16:14:44 +08:00
knoxHuang 2223dcd0c8 refine code 2017-12-18 11:09:48 +08:00
knoxHuang cf512dd06e remove error info from the engine release for fireball/issues/6721 2017-12-15 17:21:06 +08:00
knoxHuang 7de9e24340 perfect native md5 cache to JSB for fireball/issues/6656 2017-11-29 17:29:49 +08:00
pandamicro 8cc054c833 Fix super calls to old sg components 2017-10-26 11:09:58 +02:00
Jare Guo a1c535c6bb update texture in property 2017-10-07 16:18:51 +08:00
pandamicro 48faf3ca49 Removed SGComponent, ComponentInSG, ComponentUnderSG 2017-10-06 17:54:34 +08:00