Commit Graph

130 Commits

Author SHA1 Message Date
pandamicro c7603a1c63 Refactor engine & game scripts loading process (#2922)
* Remove cc.game.CONFIG_KEY

* Remove cc.game.CONFIG_KEY

* Refactor engine and game scripts loading process

- Make cc.view & cc.director ready when engine loaded
- Load game script before renderer initialize
- Emit EVENT_ENGINE_INITED instead of EVENT_RENDERER_INITED

* Remove cc.macro. ENABLE_GC_FOR_NATIVE_OBJECTS

* Remove cc.loader.resPath usage in VideoPlayerImpl

* deprecated cc.director.getWinSize

* Improve game doc
2018-06-29 16:37:06 +08:00
pandamicro 2bb675522e Refactor engine boot process (#2902)
* Wrap cc._initDebugSettings & cc._getError to debugUtil module

* remove CCDebugger require

* Refactor engine boot process

* Issue fixes

* Remove duplicated ENGINE_VERSION define

* Encapsulate cc.debug with debug related APIs

* Expose cc.debug

* Fix editor require issue

* Add API deprecations
2018-06-26 15:12:26 +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
pandamicro 1decb6c5ad Do not set retina in view (#2823)
* Do not set retina in view

* Deprecated view.g|setTargetDensityDPI
2018-06-07 17:55:29 +08:00
pandamicro 896d9121ce Fix issues 2018-04-04 11:05:45 +08:00
pandamicro 51639a158a Fix bug reported from ye man ren 2018-03-30 14:11:51 +08:00
pandamicro 9b28a74856 Fix Director deprecated API issue 2018-03-23 10:08:48 +08:00
pandamicro ad97143fa5 Fix markFunctionWarning log issue 2018-03-22 17:32:31 +08:00
pandamicro 0fb074ec82 Cleanup old deprecated APIs 2018-03-22 16:58:55 +08:00
pandamicro 259f1c565a Cleanup View APIs 2018-03-22 16:24:32 +08:00
pandamicro 9e0c688de7 Cleanup CCMacro 2018-03-19 22:30:52 +08:00
pandamicro 196c4000e9 Fix issues 2018-03-19 20:57:57 +08:00
pandamicro f92894ea08 Remove CCTypes 2018-03-19 18:40:14 +08:00
pandamicro 920e4dbfa6 Remove CCPointExtensions 2018-03-19 18:04:55 +08:00
pandamicro 83507914ae Fix issues and deprecate cc.p instead of removal 2018-03-19 13:05:19 +08:00
pandamicro e404b68b20 Cleanup vec2, size related APIs 2018-03-19 11:57:36 +08:00
pandamicro dd1a2cfe8f Cleanup Color related APIs 2018-03-19 11:57:00 +08:00
pandamicro 662ea862ee Cleanup Rect related APIs 2018-03-19 11:56:23 +08:00
pandamicro 203212c37f Cleanup AffineTransform APIs 2018-03-16 17:57:17 +08:00
pandamicro d75d6c64e6 Fix dragonBones.CCFactory.getFactory usage 2018-03-16 09:52:46 +08:00
pandamicro d9b219c68c Cleanup macros 2018-03-14 17:02:26 +08:00
pandamicro aec2aa1884 Fix EVENT_BEFORE_VISIT & EVENT_AFTER_VISIT issue 2018-03-14 14:05:11 +08:00
pandamicro 31b838404c Add deprecation error 2018-03-14 10:45:51 +08:00
pandamicro 77febbfe3d Merge branch 'master' into next 2018-03-13 15:07:21 +08:00
pandamicro d16559200f Remove old deprecations 2018-03-13 10:30:15 +08:00
pandamicro ba05646469 Refactor cc.isChildClassOf to cc.js.isChildClassOf 2018-03-12 17:50:26 +08:00
pandamicro 7d8887a18a Merge pull request #2416 from 2youyou2/next
optimize camera
2018-03-12 16:28:08 +08:00
pandamicro 8aa424b7d7 Readd getRotation / setRotation, provide more deprecation error 2018-03-12 15:36:57 +08:00
pandamicro 6d6e1206be Cleanup Node APIs 2018-03-09 18:27:56 +08:00
yinkaile f441dba722 remove attachDebugDrawToCamera & detachDebugDrawFromCamera 2018-03-09 16:36:11 +08:00
yinkaile 22a1e2994a 1. support camera sort
2. support camera culling mask with node group
3. add MAIN_CAMERA to Canvas
2018-03-09 16:12:00 +08:00
pandamicro 87d0e47a00 Deprecated Node getDisplayedOpacity & getDisplayedColor 2018-02-20 00:14:43 +08:00
pandamicro a29a5d1c7e Remove useless macros and cc.bezierAt 2018-02-13 13:25:42 +08:00
pandamicro b6994de4b2 Remove CCPool 2018-02-12 15:21:21 +08:00
pandamicro 4aa1cf5b53 Use TextUtils, CustomFontLoader, HtmlTextParser as module 2018-02-12 15:20:24 +08:00
yinkaile 26e6fc369a make Camera.getNodeToCameraTransform deprecated 2018-02-07 10:59:58 +08:00
Jare Guo a6fb92ad90 updating license 2018-02-01 09:38:54 +08:00
Jare Guo ded7092432 Merge branch 'v1.8'
# Conflicts:
#	cocos2d/core/platform/deserialize.js
#	extensions/dragonbones/CCFactory.js
#	gulp/util/utils.js
2018-01-25 13:47:35 +08:00
James Chen 585c80a68e if check fix in deprecated.js 2018-01-18 14:27:47 +08:00
James Chen bba9299dbb Rename CCFactory.getFactory to CCFactory.getInstance. 2018-01-18 14:18:35 +08:00
pandamicro 027274708f Fix issues caused by merging master 2018-01-16 17:28:05 +08:00
pandamicro 7712da14f5 Merge remote-tracking branch 'fireball/master' into next 2018-01-15 17:51:33 +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
pandamicro f4c589d8c1 Remove useless files
- DrawingPrimitives
- Scale9Sprite
- SpriteBatchNode
- RenderTexture
- DrawNode
2017-12-26 16:46:06 +08:00
yinkaile 5e78d1df2e remove unused code 2017-12-26 14:30:07 +08:00
yinkaile a8abf934ae fixed deprecated function 2017-12-26 14:29:39 +08:00
yinkaile c4f2d1a6c2 update deprecated info 2017-11-23 16:28:02 +08:00
yinkaile 1e8b241794 Merge branch 'next' of https://github.com/pandamicro/fire-engine into next 2017-11-23 11:15:11 +08:00
yinkaile 36275aa0ca mark node affine transform operation deprecated 2017-11-23 10:07:44 +08:00