pandamicro
efaf0c5d4d
Merge remote-tracking branch 'fireball/master' into next
2018-05-24 19:04:55 +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
pandamicro
352c999d40
Fix color render flag set to normal node ( #2702 )
2018-05-17 18:36:34 +08:00
pandamicro
9f9ac0b1e3
Remove Node _worldMatUpdated ( #2698 )
...
* Maintain worldMatUpdated state
* Remove _worldMatUpdated property from Node
2018-05-17 15:57:20 +08:00
pandamicro
27fef43853
Issue fixes for 3d project ( #2669 )
...
* Remove useless handleLoadedTexture
* Fix RenderFlow flag setting issue
* Remove useless key board event check
2018-05-11 18:24:02 +08:00
yinkaile
15e63fc817
fixed label error ( #2664 )
...
* fixed label error
* should not render label if string is empty
* improve color render flag
2018-05-11 11:19:50 +08:00
Jare Guo
ebf7d7d730
register component to scene after ctor ( #2661 )
2018-05-10 17:00:59 +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
Jare Guo
6b9c9242fa
Merge 1.9
2018-05-09 21:14:29 +08:00
yinkaile
f8988b0aa8
reset dynamic atlas before scene loading ( #2655 )
...
* reset dynamic atlas before scene loading
* fixed node undo/redo
2018-05-09 15:40:21 +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
SijieWang
b400e4b56f
review code
2018-05-08 11:50:41 +08:00
SijieWang
9bc8c63379
move code to onRestore
2018-05-07 18:16:10 +08:00
SijieWang
0e854f3cc4
active must synchronize to component
2018-05-07 18:01:58 +08:00
SijieWang
06b1965b8c
sizeProvider.visible needs to be updated
2018-05-07 17:21:31 +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
Jare Guo
32205ee27b
define apisrc.json in this repo
2018-05-05 18:07:40 +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
396154d41b
Fix issues ( #2608 )
...
* Add missed vec3 APIs
* Fix Node property setter issue
* Fix scene dirty sync issue
* Fix setWorldRot not setting dirty issue
2018-04-27 18:00:48 +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
6bf14fef51
Avoid configurable property and avoid editor issue
2018-04-26 11:32:17 +08:00
pandamicro
4f1f0a7cfb
Fix issues
2018-04-26 10:52:46 +08:00
pandamicro
661c5327e7
Tranform properties API polyfill for 3d
2018-04-26 09:35:48 +08:00
pandamicro
7b98f49cd6
Fix updateWorldVerts based on worldMatUpdated and other issues ( #2593 )
...
* Fix updateWorldVerts based on worldMatUpdated
* Fix issues
2018-04-24 22:23:18 +08:00
pandamicro
ef5b172506
Fix scene mat dirty not updated issue and improve logic
2018-04-24 11:21:42 +08:00
pandamicro
7997b2c6a8
Remove _syncWorldDirty for recursive approach ( #2582 )
...
* Fix render data issue for bar filled sprite
* Remove _syncWorldDirty for recursive approach
2018-04-23 18:26:06 +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
d8ca6001d8
Recursively visit node instead of walk through comp chain
2018-04-19 16:58:44 +08:00
pandamicro
a9790f608a
Fix scale setting issue
2018-04-17 14:54:01 +08:00
pandamicro
f24dad8b16
Merge pull request #2544 from 2youyou2/optimize-transform
...
optimize transform
2018-04-17 11:49:23 +08:00
yinkaile
0da76270e3
fixed indentation
2018-04-17 11:00:05 +08:00
yinkaile
27e02b247e
minor fix
2018-04-17 09:34:03 +08:00
yinkaile
a91179b58a
optimize transform
2018-04-16 19:46:21 +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
pandamicro
e7a1d59dcc
Remove useless typeof check
2018-04-16 16:31:35 +08:00
pandamicro
db29ec79c1
Fix render component chain not updated for one child
2018-04-13 22:53:23 +08:00
pandamicro
6dfaecd86a
Small improvements
2018-04-13 15:59:37 +08:00
pandamicro
d4f974939d
Merge pull request #2529 from pandamicro/optimize
...
Improve transform for 2d and while loop
2018-04-12 21:14:29 +08:00
pandamicro
6e8637d623
Improve transform for 2d and while loop
2018-04-12 21:07:08 +08:00
pandamicro
e1fead4ce3
Merge pull request #2525 from pandamicro/optimize
...
Sync world mat dirty to ensure mat dirty flag reliable
2018-04-12 19:34:48 +08:00
pandamicro
ecd8015ec2
Fix _updateWorldMatrix issue
2018-04-12 19:26:05 +08:00
pandamicro
04e12f4e1d
Fix unchainSelf usage
2018-04-12 16:58:51 +08:00
pandamicro
277707d892
Fix setWorldDirty and Camera update
2018-04-12 12:04:12 +08:00
pandamicro
a0091761da
Sync world mat dirty to ensure mat dirty flag reliable
2018-04-12 11:37:52 +08:00
pandamicro
c5b586c5d7
Fix old parent chain issue
2018-04-11 20:10:24 +08:00
pandamicro
6d0872f1bf
Small improvements
2018-04-11 14:59:39 +08:00
pandamicro
3dcaf19376
Visit render component with chain instead of walking scene graph
2018-04-11 14:16:36 +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