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
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
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
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
Jare Guo
2051b1e743
Merge pull request #2517 from cocos-creator/v1.9
...
sync branch
2018-04-10 15:30:14 +08:00
Jare Guo
4833f9f207
sync status for records used in Timeline editor
2018-04-09 17:20:57 +08:00
Jare Guo
0a932aef00
replace all RawAssets with Assets
2018-04-09 14:48:21 +08:00
yinkaile
645ccc5b5e
add upgrade code in both _onBatchCreated and _onBatchRestored
2018-04-04 11:54:31 +08:00
minggo
d9c0236e50
jsb adapt
2018-03-26 14:54:34 +08:00
pandamicro
73e6cb1c19
Merge pull request #2468 from 2youyou2/next-performance
...
refactor sprite assembler to optimize performance
2018-03-23 18:15:26 +08:00
yinkaile
0d5b02ac2a
refactor sprite assembler to optimize performance
2018-03-23 15:42:16 +08:00
yinkaile
2f36d9269d
deprecated _opacity property
2018-03-23 14:51:52 +08:00
pandamicro
196c4000e9
Fix issues
2018-03-19 20:57:57 +08:00
pandamicro
802d57cdac
Move affine-transform to utils
2018-03-19 12:33:49 +08:00
pandamicro
e404b68b20
Cleanup vec2, size related APIs
2018-03-19 11:57:36 +08:00