Commit Graph

7807 Commits

Author SHA1 Message Date
Knox e3735ce0b8 optimization label memory on qqplay and wechatgame (#2643) 2018-05-08 11:14:16 +08:00
pandamicro 26de29f489 Upgrade renderer.js to 1.8.3 (#2642) 2018-05-08 10:34:28 +08:00
PP fbaf432017 remove setTimeout when stop audio (#2639) 2018-05-08 10:23:19 +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
pandamicro 1034635917 Upgrade render-engine (#2638) 2018-05-07 17:56:14 +08:00
SijieWang 06b1965b8c sizeProvider.visible needs to be updated 2018-05-07 17:21:31 +08:00
pandamicro 13314a1298 Fix native build issue (#2636) 2018-05-07 17:14:24 +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
Knox f4568fada0 optimization audio label texture2d , fix sprite bug (#2631)
* optimization audio label texture2d , fix sprite bug

* refine code
2018-05-07 14:24:41 +08:00
黄家辉 4d3a921116 add a new judgement about mobile platform type in wecaht devtools (#2623) 2018-05-07 11:46:38 +08:00
Jare Guo 2d0f461811 Merge pull request #2633 from jareguo/master
define apisrc.json in this repo
2018-05-05 18:10:40 +08:00
Jare Guo 32205ee27b define apisrc.json in this repo 2018-05-05 18:07:40 +08:00
Jare Guo b24b5c0bfd Merge branch 'v1.9' into master 2018-05-05 14:54:11 +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 6b655b3717 Merge pull request #2619 from knoxHuang/v1.9-release
Fix qqplay Blue Screen bug when ios version is less than 10,
2018-05-04 10:09:58 +08:00
pandamicro 3531effe14 Merge pull request #2622 from knoxHuang/temp
fix layout newChildWidth bug for cocos-creator/engine/issues/2383
2018-05-04 10:09:07 +08:00
knox d9a6cd746c improve code 2018-05-04 10:07:38 +08:00
knox e45c5cd1a9 improve code 2018-05-04 09:57:43 +08:00
knox 8e45081cab add osMainVersion and supportArrayBuffer to qqplay 2018-05-03 10:03:14 +08:00
knox 06cc115b76 improve layout code 2018-05-03 09:44:06 +08:00
knox 70bf3e325b fix layout newChildWidth bug for cocos-creator/engine/issues/2383 2018-05-02 17:45:35 +08:00
knox 1116f8e9d2 Fix qqplay Blue Screen bug when ios version is less than 10, 2018-05-02 16:32:28 +08:00
pandamicro f3304e626b Merge pull request #2618 from pandamicro/next
Merge master into next
2018-05-02 16:28:07 +08:00
pandamicro 48cb41798a Fix tile map merge issue 2018-05-02 16:25:40 +08:00
pandamicro e4bdd1edc3 Merge remote-tracking branch 'fireball/master' into next 2018-05-02 16:16:33 +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
Jare Guo 74af382a61 Merge 1.9 2018-04-29 14:35:46 +08:00
Jare Guo 448aa72f2c Merge pull request #2614 from jareguo/master
add JsonAsset
2018-04-29 14:32:29 +08:00
Jare Guo 542ef017c0 add JsonAsset 2018-04-28 16:17:13 +08:00
Jare Guo 3b2117edb2 Merge pull request #2611 from jareguo/v1.9-release
minor fix, should not invoke any callback when object destroyed
2018-04-27 21:39:38 +08:00
Jare Guo 637f8460eb minor fix, should not invoke any callback when object destroyed 2018-04-27 21:38:40 +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
Jare Guo c47f5aa68e Merge branch 'v1.9'
# Conflicts:
#	cocos2d/actions/CCActionInterval.js
#	cocos2d/audio/CCAudioEngine.js
2018-04-27 14:20:10 +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
PP b08233c801 TiledMapAsset: reimplement RawAsset to Asset (#2575)
* TiledMapAsset: reimplement RawAsset to Asset

* deprecated errorID 7220

* push sourceTSX to tsxFileNames

commit2

* remove Path.normalize()

* tiledmap: change arg tsxMap


commit
2018-04-26 21:50:04 +08:00
Jare Guo 1ce0134f26 fix api doc 2018-04-26 19:20:35 +08:00
James Chen 16de00f09e The textview of debugging info should also display whether GL opt mode is enabled. (#2603) 2018-04-26 16:51:34 +08:00
Jare Guo 26b50ded52 Merge v1.9 2018-04-26 15:31:49 +08:00
Jare Guo 9ac3ac786e Merge pull request #2598 from pandamicro/poly3d
Tranform properties API polyfill for 3d
2018-04-26 12:46:49 +08:00
Jare Guo 4fe4f50e81 Merge pull request #2600 from jareguo/master
refine api doc
2018-04-26 12:44:25 +08:00
Jare Guo 5da0f872ee refine api doc 2018-04-26 12:43:33 +08:00
pandamicro 6bf14fef51 Avoid configurable property and avoid editor issue 2018-04-26 11:32:17 +08:00
Jare Guo 013f155882 fix ZERO blend mode on web (#2597)
* stash

* fix ZERO blend mode support
2018-04-26 11:05:57 +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
Jare Guo 61da29b375 Merge pull request #2596 from umbrellaPP/v1.9-release
fix audioSource destroy bug
2018-04-25 16:51:50 +08:00
PP cbc1dd7d09 fix audioSource destroy bug 2018-04-25 16:42:38 +08:00
pandamicro 7c94a5f771 Fix Label issues (#2594)
* Fix bmfont anchor point issue

* Fix 0 is ignored as label.string

* Fix doc
2018-04-25 12:36:29 +08:00