Commit Graph

123 Commits

Author SHA1 Message Date
pandamicro 2a3a75e7fb Fix unit test and circle ci (#2858)
* fix test-animation bug (#2787)

* fix unit test (#2840)

* Improve Sprite & SpriteFrame impl

* Add Sprite inset function deprecation

* Fix unit tests

* fixed the circleci failed test but still pass the commit problem (#2814)

* CircleCI test failed but build successfully problem fixed (#2816)

* Fix Skeleton require

* Another Skeleton mistyping

* Fix phantom environment issues
2018-06-14 14:32:23 +08:00
pandamicro d5fe261cef Fix sliced uv calculation (#2790)
* Fix Sprite API doc

* Remove useless file

* Fix sliced uv calculation
2018-06-01 15:13:46 +08:00
Knox 82eb89f4e7 add _calculateSlicedUV to SpriteFrame for fireball/issues/7354 (#2737)
* add _calculateSlicedUV to SpriteFrame for fireball/issues/7354

* refine code
2018-05-25 15:09:38 +08:00
pandamicro 950a68d164 Improve texture2d deserialize 2018-05-21 15:14:46 +08:00
pandamicro 92865d88da Add Texture premultiply alpha serialization support 2018-05-18 17:04:39 +08:00
pandamicro 88a5bd6aa4 Fix Texture filter mode update issue (#2703) 2018-05-17 23:54:37 +08:00
pandamicro a7a566ff2a 2.0 alpha 11 issue fixes (#2694)
* Fix variable leak to global scope

* Fix Texture update issue

* Fix video player _playing state setting issue

* Improve macro doc
2018-05-16 17:00:31 +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
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 e4bdd1edc3 Merge remote-tracking branch 'fireball/master' into next 2018-05-02 16:16:33 +08:00
Jare Guo 542ef017c0 add JsonAsset 2018-04-28 16:17:13 +08:00
pandamicro 0bc8079166 Support serialize & deserialize texture wrap mode & filter 2018-04-24 14:31:12 +08:00
pandamicro 0f87a11100 Merge pull request #2564 from cocos-creator/optimize
Merge optimizations into next
2018-04-19 18:31:30 +08:00
yinkaile 58c87a8d58 fixed issues 2018-04-18 15:49:44 +08:00
yinkaile abc4b0b5da optimize dynamic atlas 2018-04-18 11:36:31 +08:00
yinkaile d07dbc103f optimize dynamic atlas 2018-04-17 18:48:30 +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
yinkaile 4d8e97a4a9 support mesh sprite 2018-04-10 13:58:31 +08:00
Jare Guo 0a932aef00 replace all RawAssets with Assets 2018-04-09 14:48:21 +08:00
pandamicro 86585d6a01 Explicitly destroy old gl texture before update 2018-04-08 00:40:07 +08:00
James Chen cec6dc4ce1 cc.SpriteFrame undefined on JSB fix. 2018-04-04 17:53:02 +08:00
pandamicro 0fb074ec82 Cleanup old deprecated APIs 2018-03-22 16:58:55 +08:00
Cocos Ass 4ca7a671ce add Chinese note to 2.0 scripts
add Chinese note to 2.0 scripts
2018-03-22 14:42:13 +08:00
pandamicro 427f6ad46a Merge pull request #2461 from pandamicro/hash
Add Material Hash for batch breaking
2018-03-22 12:59:28 +08:00
yinkaile 54fe7164de refine code 2018-03-21 18:35:25 +08:00
yinkaile d718101b3e refine code 2018-03-21 17:28:30 +08:00
pandamicro 9f4a67a6f1 Improve material hash id update and compare 2018-03-21 16:39:36 +08:00
yinkaile b9792bcf19 Merge branch 'next' of github.com:fireball-x/engine into next 2018-03-16 15:15:27 +08:00
pandamicro f86b8609df Fix Texture construction issue 2018-03-16 13:43:29 +08:00
pandamicro 8fb952e0cb Add Texture.getId 2018-03-16 12:00:30 +08:00
yinkaile aff6c7a18d support RenderTexture 2018-03-15 16:52:59 +08:00
pandamicro 9f2f71831c Fix issues with QQPlay platform 2018-03-15 15:48:58 +08:00
pandamicro 49fd994035 Move CCTexture2D & CCSpriteFrame to assets 2018-03-13 17:48:38 +08:00
pandamicro 77febbfe3d Merge branch 'master' into next 2018-03-13 15:07:21 +08:00
pandamicro ba05646469 Refactor cc.isChildClassOf to cc.js.isChildClassOf 2018-03-12 17:50:26 +08:00
PP 1f448e821f change all JS into js 2018-03-06 11:44:11 +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
Jare Guo b31566d75f Merge 1.8 2018-01-09 18:40:43 +08:00
Jare Guo 2e2fd59193 add CC_SUPPORT_JIT macro 2018-01-03 22:58:37 +08:00
Jare Guo 298ab19d19 fix bug of asset type on JSB 2018-01-03 11:07:45 +08:00
Jare Guo b254c4991b add prefab option to optimize instantiation 2017-12-24 00:22:40 +08:00
Jare Guo 9a758afad1 Merge pull request #2109 from cocos-creator/v1.7
Merge 1.7
2017-11-13 02:50:10 -06:00
Jare Guo bd585d4a5c prefab should be synced if jit can not be used 2017-11-03 01:20:51 +08:00
Jare Guo e3a588169c working on texture 2017-10-29 00:27:42 +08:00
Jare Guo 23f0cb4a6b Merge master into asset
# Conflicts:
#	cocos2d/core/load-pipeline/CCLoader.js
#	cocos2d/core/platform/deserialize.js
#	gulpfile.js
#	jsb/jsb-loader.js
2017-10-23 18:00:20 +08:00
yinkaile 62841321a5 fallback function if not support Function 2017-10-19 17:32:03 +08:00
Jare Guo 64c13c7dab sync jsb 2017-09-23 09:02:13 +08:00