pandamicro
1102e50750
Fix user reported issues ( #2995 )
...
* Cleanup code & fix api doc
* Fix plist parser require issue
* Fix spine null material issue
* Fix Sprite null material issue
* Fix uninit editbox updateString issue
2018-07-19 00:01:20 +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
69166aef92
Fix typo
2018-07-17 16:46:11 +08:00
pandamicro
83e9630333
Fix ttf loading issue
2018-07-17 16:33:51 +08:00
pandamicro
c42f77ab25
Secure measureText in wechat (offscreen)
2018-07-17 16:33:34 +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
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
pandamicro
f1cc4bd5aa
Merge remote-tracking branch 'fireball/master' into next
2018-07-02 10:27:46 +08:00
pandamicro
5e55976997
Improve Node event emit performance ( #2862 )
...
* Improve Node event emit performance
* Simplify Node event emit by removing event obj
* Fix example
2018-06-19 15:34:19 +08:00
yinkaile
d8bcdb8f0f
define class name ( #2872 )
2018-06-19 12:04:22 +08:00
pandamicro
03e2af76a5
Merge remote-tracking branch 'fireball/master' into merge
2018-06-15 18:37:33 +08:00
yinkaile
303f20653b
add debug camera ( #2853 )
...
* add debug camera
* refine code
2018-06-13 11:30:20 +08:00
yinkaile
28527bdc10
remove es6 class ( #2838 )
...
* remove es6 class
* refine code
* refine code
2018-06-11 19:04:29 +08:00
黄家辉
1632908fcc
correct the api docs template ( #2852 )
2018-06-11 19:02:14 +08:00
SijieWang
91f63dd132
Scene modularization ( #2773 )
2018-06-05 12:34:48 +08:00
pandamicro
dbb8dc4c90
Merge remote-tracking branch 'origin/master' into next
2018-05-29 18:59:36 +08:00
Jare Guo
85f3603546
Merge branch 'v1.9-release'
...
# Conflicts:
# cocos2d/audio/CCAudioEngine.js
2018-05-29 16:45:35 +08:00
Jare Guo
92e99f3038
new instantiated nodes should clean it's fileId before adding to other prefabs. ( #2753 )
2018-05-29 09:27:29 +08:00
pandamicro
5b99f8cdfa
Fix API doc configs ( #2750 )
2018-05-28 18:22:37 +08:00
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
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
Jare Guo
ebf7d7d730
register component to scene after ctor ( #2661 )
2018-05-10 17:00:59 +08:00
Jare Guo
550e85b9e2
update _id management ( #2648 )
2018-05-09 09:58:51 +08:00
pandamicro
8a92606e29
Fix _id reset issue
2018-05-08 19:05:12 +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
a0043db9df
Small issue fixes ( #2617 )
...
* Fix emit event on invalid animation issue
* Support setQuat with x, y, z, w
* Fix native running issue
2018-05-02 15:38:15 +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
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
ef97c6fa2b
Support 3d transform with polyfill3d
2018-04-20 00:45:15 +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
01e6fcf943
Reduce performance.now invocation
2018-04-17 18:31:19 +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
04e12f4e1d
Fix unchainSelf usage
2018-04-12 16:58:51 +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
James Chen
fd245aef1f
CCProfiler supports all platform now since it's implemented by label atlas.
2018-04-04 17:53:48 +08:00
minggo
02bc807ebf
merge and fix conflict
2018-03-30 10:34:50 +08:00
minggo
9568e36ca8
remove duplicate codes
2018-03-28 17:38:55 +08:00
yinkaile
8f9040e7db
improve profiler by drawing info in game
2018-03-28 11:33:50 +08:00
minggo
d9c0236e50
jsb adapt
2018-03-26 14:54:34 +08:00