Commit Graph

323 Commits

Author SHA1 Message Date
yinkaile 74f1d560d9 fixed error when switch scene in editor (#2758)
* fixed error when switch scene in editor

* refine comment
2018-05-30 10:00:49 +08:00
pandamicro 8aea3b8be6 Small fixes for ParticleSystem reimplementation (#2729)
* Refactor vfmtPosColorUv to vfmtPosUvColor

* Fix Node getNodeToWorldTransform

* Reset quad buffer during walker reset

* Fix affine transform api doc

* Remove useless uintbuf
2018-05-24 15:57:43 +08:00
yinkaile bd2dd76826 move webgl stuff into webgl folder (#2690) 2018-05-16 10:44:33 +08:00
Knox 8ba1cd29db fix spine debugBones and debugSlots bug for fireball/issues/7286 (#2680)
* fix spine debugBones and debugSlots bug for fireball/issues/7286

* improve graphics color setting
2018-05-15 12:05:43 +08:00
pandamicro 314b0b55c0 Issue fixes for 2.0 (#2656)
* Generate component _id with uuid in editor

* Fix issues
2018-05-09 18:10:04 +08:00
yinkaile e4325577ad Next vertex format (#2645)
* restructure vertex format

* update render-engine.js

* refine vertex format

* refine sprite vertex property name
2018-05-08 21:51:27 +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
pandamicro 87a8613c39 Fix issues (#2606)
* Fix _LocalDirtyFlag undefined issue

* Fix blend function intialization issue

* Fix graphic usage issue in spine assembler
2018-04-27 09:49:14 +08:00
pandamicro 38c61c70b4 Refactor EventTarget: remove hasListenerCache, move dispatch APIs to Node (#2595)
* Improve node property setter performance

* Avoid physics sync trigger events

* Improve callbacksHandler.has performance

* Use flag instead of hasListenerCache in animation state

* Remove hasListenerCache, add event target APIs for dispatch

* Fix some issues

* Fix event target has check

* Expose EventType and LocalDirtyFlag

* Move dispatch related APIs to Node and fix issues

* Refactor event target

* Fix sub listener usage for event target

* Improve code

* Remove callbacksInvoker.has
2018-04-26 21:50:27 +08:00
pandamicro 0f87a11100 Merge pull request #2564 from cocos-creator/optimize
Merge optimizations into next
2018-04-19 18:31:30 +08:00
pandamicro 14a555e0fb Merge remote-tracking branch 'fireball/master' into next 2018-04-16 19:14:08 +08:00
pandamicro a0091761da Sync world mat dirty to ensure mat dirty flag reliable 2018-04-12 11:37:52 +08:00
pandamicro 5823a23065 Add transform system to reduce matrix update overhead
Removed world-matrix-changed event, event system is too slow
2018-04-11 14:06:27 +08:00
Jare Guo 0a932aef00 replace all RawAssets with Assets 2018-04-09 14:48:21 +08:00
yinkaile ed16c5736c add dragonbones canvas support 2018-04-04 18:07:45 +08:00
minggo a87ae66cb2 helloworld can run correctly 2018-03-28 09:15:17 +08:00
minggo d9c0236e50 jsb adapt 2018-03-26 14:54:34 +08:00
pandamicro 9f4a67a6f1 Improve material hash id update and compare 2018-03-21 16:39:36 +08:00
fusijie 10f56b59bd add_effect_hash 2018-03-21 16:39:36 +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 a0c833263d Compare material instead of effect in walker 2018-03-16 09:58:16 +08:00
pandamicro d75d6c64e6 Fix dragonBones.CCFactory.getFactory usage 2018-03-16 09:52:46 +08:00
pandamicro b531040ac4 Update licenses 2018-03-13 15:52:14 +08:00
pandamicro 77febbfe3d Merge branch 'master' into next 2018-03-13 15:07:21 +08:00
pandamicro 5f09233526 Improve engine modules
s
2018-03-07 18:50:51 +08:00
pandamicro 283f5c17d6 Improve render data management by RenderComponent 2018-03-07 10:49:58 +08:00
pandamicro 3358b71f79 Improve batchData content setting 2018-03-07 10:41:11 +08:00
Jare Guo 6c809263e6 Merge 1.8 2018-02-24 14:58:57 +08:00
pandamicro 648cb0871a Fix Skeleton free shared render data issue 2018-02-20 00:03:34 +08:00
pandamicro b6994de4b2 Remove CCPool 2018-02-12 15:21:21 +08:00
pandamicro ee9d28d14c Fix spien timescale 2018-02-01 18:03:37 +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
yinkaile 96fc05e80b fixed dragon bones 2018-01-29 15:13:05 +08:00
James Chen eb3745c317 Reverts dragonBones CCFactory change to avoid assert. 2018-01-29 11:15:14 +08:00
Jare Guo ded7092432 Merge branch 'v1.8'
# Conflicts:
#	cocos2d/core/platform/deserialize.js
#	extensions/dragonbones/CCFactory.js
#	gulp/util/utils.js
2018-01-25 13:47:35 +08:00
James Chen bba9299dbb Rename CCFactory.getFactory to CCFactory.getInstance. 2018-01-18 14:18:35 +08:00
James Chen 715086e3a7 Resolve a FIXME in AramatureDisplay.js, CCFactory is a singlton for JSB either now. 2018-01-18 11:59:45 +08:00
yinkaile fe05892708 Merge branch 'next' of github.com:fireball-x/engine into next 2018-01-16 17:56:52 +08:00
yinkaile 8c18b5efa6 small fix some problems 2018-01-16 17:55:13 +08:00
pandamicro 4e4df6675e Fix spine texture asset issue 2018-01-16 17:29:22 +08:00
pandamicro 444360c603 Fix dragonbones texture asset issue 2018-01-16 17:28:52 +08:00
pandamicro 7712da14f5 Merge remote-tracking branch 'fireball/master' into next 2018-01-15 17:51:33 +08:00
Jare Guo 935eea691e fix dragonbones api 2018-01-15 17:09:20 +08:00
pandamicro 2331c1f741 Fix byteOffset calculation based on the current vfmt
It should be incremented during batching process and store into batchData
2018-01-12 12:38:22 +08:00
pandamicro 74b312ce50 Merge remote-tracking branch 'origin/next' into next 2018-01-11 11:00:23 +08:00
yinkaile cb082ef121 fixed init dragonbones material 2018-01-09 16:33:14 +08:00
yinkaile aa41a196d0 fixed child armature display 2018-01-08 15:51:55 +08:00