pandamicro
41fe03e392
Issue fixes for Image cache, ParticleSystem & loadResDir ( #2997 )
...
* Remove Image object from loader cache when cleanup
* Fix ParticleSystem still render after uncheck preview
* Fix issue when loadResDir not passing completeCallback
2018-07-19 11:28:09 +08:00
pandamicro
e9be28d94e
Add CLEANUP_IMAGE_CACHE macro to clear image src after loading ( #2993 )
...
* Add CLEANUP_IMAGE_CACHE macro to clear image src after loading
* Fix API doc
2018-07-18 17:12:32 +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
aff5345cfd
Merge remote-tracking branch 'origin/master' into next
2018-07-17 15:49:38 +08:00
pandamicro
e077979add
Improve wechat memory usage by release image cache ( #2986 )
...
* Fix API, cleanup node
* Improve wechat memory usage by release image cache after loaded texture
2018-07-17 14:58:19 +08:00
PP
1813e48491
return spriteAtlas-related spriteFrames when loadResDir ( #2981 )
2018-07-17 10:28:22 +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
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
pandamicro
03e2af76a5
Merge remote-tracking branch 'fireball/master' into merge
2018-06-15 18:37:33 +08:00
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
Jare Guo
e018939977
load native asset from raw-assets after build ( #2830 )
...
* remove some init code about raw assets
* load native asset from raw-assets after build
2018-06-08 11:05:06 +08:00
SijieWang
91f63dd132
Scene modularization ( #2773 )
2018-06-05 12:34:48 +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