Commit Graph

113 Commits

Author SHA1 Message Date
SB baa2102339 Update 2020-08-06 17:41:06 +08:00
SB f0882d6272 Optimize some documents 2020-08-06 17:23:06 +08:00
Leslie Leigh (李的序) 26df6fb1c0 Optimize editor decorators (#7002) 2020-08-05 10:36:52 +08:00
Leslie Leigh (李的序) aeced26917 Solve duplicated menu issue (#6973) 2020-08-02 14:53:31 +08:00
GengineJS 72f14dc806 [Feature] Adding isPlaying judgement to support the function of gameview (#6990)
* [Modify] the systemevent adds the function of isplaying judgment

* [Feature] the ui adds the function of isplaying judgment

* [Modify] Add GameView environment

* [Optimize] Optimize the gameView conditions

* [Optimize] Complement the gameView environment
2020-07-21 17:36:07 +08:00
Leslie Leigh (李的序) 2d21364587 Throw the error instead of return null in instantiate and addComponent (#6940)
* Throw the error instead of return null in instantiate and addComponent

* Update
2020-07-10 15:03:11 +08:00
pandamicro b2830f5271 Merge remote-tracking branch 'origin/3d-v1.1.1' into 3d
# Conflicts:
#	cocos/core/3d/builtin/effects.ts
#	cocos/core/3d/framework/light-component.ts
#	cocos/core/3d/framework/model-component.ts
#	cocos/core/animation/animation-state.ts
#	cocos/core/assets/image-asset.ts
#	cocos/core/data/object.ts
#	cocos/core/event/callbacks-invoker.ts
#	cocos/core/game.ts
#	cocos/core/gfx/webgl/webgl-commands.ts
#	cocos/core/gfx/webgl2/webgl2-commands.ts
#	cocos/core/pipeline/define.ts
#	cocos/core/platform/event-manager/events.ts
#	cocos/core/primitive/primitive.ts
#	cocos/core/renderer/scene/model.ts
#	cocos/core/renderer/scene/render-scene.ts
#	cocos/core/root.ts
#	cocos/core/scene-graph/node-event-processor.ts
#	cocos/core/splash-screen-webgl.ts
#	cocos/particle/index.ts
#	cocos/terrain/terrain.ts
#	exports/base.ts
2020-06-17 14:47:36 +08:00
pandamicro 845fc81fce Improve CallbacksInvoker to remove __eventTargets mechanism (#6837)
* Improve CallbacksInvoker to remove __eventTargets mechanism

* Fix return value in Eventify.once

* Use isValid to check callback target validity

* Ensure event processor destroy during node destroy

* Fix node once can't remove touch/mouse listeners issue

* Strict check to include TO_DESTROY and DESTROYED state

* Remove execute and invoke directly in emit

* Fix ci
2020-06-09 11:23:20 +08:00
SijieWang a9f3969245 Merge remote-tracking branch 'cocos-for-editor/3d-v1.1.1' into 3d
# Conflicts:
#	cocos/audio/assets/clip.ts
#	cocos/core/3d/builtin/effects.ts
#	cocos/core/3d/framework/batched-skinning-model-component.ts
#	cocos/core/3d/framework/editor-camera-component.ts
#	cocos/core/3d/framework/index.ts
#	cocos/core/3d/framework/model-component.ts
#	cocos/core/animation/animation-clip.ts
#	cocos/core/animation/animation-manager.ts
#	cocos/core/animation/animation-state.ts
#	cocos/core/animation/skeletal-animation-component.ts
#	cocos/core/animation/skeletal-animation-state.ts
#	cocos/core/assets/mesh.ts
#	cocos/core/assets/simple-texture.ts
#	cocos/core/assets/sprite-frame.ts
#	cocos/core/assets/texture-base.ts
#	cocos/core/data/class-decorator.ts
#	cocos/core/data/instantiate.ts
#	cocos/core/event/event-target.ts
#	cocos/core/game.ts
#	cocos/core/load-pipeline/CCLoader.ts
#	cocos/core/load-pipeline/plist-parser.ts
#	cocos/core/load-pipeline/unpackers.ts
#	cocos/core/load-pipeline/url.ts
#	cocos/core/math/deprecated.ts
#	cocos/core/renderer/scene/model.ts
#	cocos/core/scene-graph/base-node.ts
#	cocos/core/scene-graph/scene-globals.ts
#	cocos/terrain/terrain.ts
#	predefine.ts
2020-06-03 13:25:42 +08:00
pandamicro a5c238dabb API translations in core (#6726)
* Add API translation for load pipeline

* Add API translation for core/data

* Fix decorator declarations

* API translation for scene graph

* Fix ci

* Fix ci

* Improve Eventify for event emit performance

* Fix ci

* improve format
2020-05-25 15:26:02 +08:00
Leslie Leigh (李的序) 5e2adea787 Rename internal usages of global variable 'cc' into 'legacyGlobalExpo… (#6680)
* Rename internal usages of global variable 'cc' into 'legacyGlobalExports'

* Fix CI

* Rename 'legacyGlobalExports' -> 'legacyCC'
2020-05-14 15:46:45 +08:00
Leslie Leigh (李的序) ebf45b15ae Bump eslint; Optimize an error string; Add assert functions (#6398)
* Bump eslint; Optimize an error string; Add assert functions

* Add comment

* Add license
2020-03-23 19:08:16 +08:00
Leslie Leigh (李的序) 284aa38d25 Build time constants (#6256)
* consts

* Bump @cocos/build-engine version

* Fix

* Upload @cocos/build-engine

* Rm scripts/build-engine/.gitignore
2020-03-11 14:05:22 +08:00
pandamicro b8d0b2d921 Merge pull request #6298 from cocos-creator/3d-v1.0.4
Merge 3d v1.0.4
2020-03-06 22:08:17 +08:00
pandamicro 53ee17725f Fix deserialize issue for component construction issues(report as missing) (#6223) 2020-02-25 16:00:38 +08:00
SijieWang dff521ab43 Replace Editor variable (#6189)
* Replace Editor variable

* Fixed several definition errors
2020-02-19 15:09:53 +08:00
Yun Hsiao Wu 7fc712d132 fix socket anim (#6101) 2020-01-14 15:45:24 +08:00
GengineJS 7f982324d5 [Feature] Remove the condition judgment of isbuffer from cocos/core/data/deserialize class (#5934) 2019-12-24 16:18:53 +08:00
Leslie Leigh (李的序) c394f27923 Fix compatibility with old-school cc.Class() (#5936) 2019-12-20 15:01:59 +08:00
pandamicro b5cb873e48 Revert "Remove Buffer usage in editor (#5919)" (#5923)
This reverts commit c77a63dd99.
2019-12-18 16:11:28 +08:00
pandamicro c77a63dd99 Remove Buffer usage in editor (#5919) 2019-12-18 15:09:51 +08:00
Yun Hsiao Wu 10c49e68f6 [chore] misc opts (#5898)
* pipeline linter fix

* instance support

* reuse render obejcts

* fix ci

* fix model ID
2019-12-18 14:35:34 +08:00
Leslie Leigh (李的序) 49d16626a2 Eliminate "cc." references to APIs in module "cocos/core/platform/debug" (#5861) 2019-12-12 19:07:14 +08:00
Leslie Leigh (李的序) 5599130328 Fix ccclass warns on render pipeline properties (#5885) 2019-12-12 18:43:17 +08:00
Lelie Leight (李的序) 62a3ed7b2b Scripting 2.0-Part 1 (#5781)
* Scripting 2.0-Part 1

* Bump typescript to 3.7.2

* use event for EditorExtends

* update
2019-12-11 17:39:47 +08:00
pandamicro 802d7a9b49 Merge branch '3d-v1.0.2' into 3d
# Conflicts:
#	cocos/core/components/ui-base/canvas-component.ts
#	cocos/core/components/ui-base/ui-render-component.ts
#	cocos/core/game.ts
#	cocos/core/pipeline/forward/forward-pipeline.ts
#	cocos/core/pipeline/render-flow.ts
#	cocos/core/pipeline/render-pipeline.ts
#	cocos/core/root.ts
#	cocos/core/scene-graph/base-node.ts
2019-12-03 19:23:26 +08:00
zheng han 096c949807 change animatable property from sharedMaterials to materials (#5789) 2019-12-02 10:36:02 +08:00
Lelie Leight (李的序) d446a357ce Warn on explicit undefined type (#5770) 2019-11-23 18:17:45 +08:00
zxg0622 fd10ade041 renderpipeline asset (#5755)
* add renderpipeline asset

* Rndppl (#3)

* 编辑器联调 renderpipeline

* 加载 renderpipeline

* 1

* change init flow

* add renderpipeline load failed process

* fix interface

* fix ci error

* fix forward ubo binding error

* fix null value & array iterate

* fix for of & game.ts line end
2019-11-22 12:07:23 +08:00
Lelie Leight (李的序) ef1b6582ef standalone decorators (#5640) 2019-10-30 17:41:30 +08:00
Lelie Leight (李的序) 441435e474 optimize size of serialized animation clip (#5559) 2019-10-21 15:35:20 +08:00
Lelie Leight (李的序) 1e62004e12 add extendsEnum() to support extending of enumerations (#5454)
typo


update


update
Update button-component.ts
Update toggle-component.ts
Update toggle-component.ts
Update toggle-component.ts
Update button-component.ts
Update toggle-component.ts
Update button-component.ts
2019-10-17 09:57:17 +08:00
Lelie Leight (李的序) 1d50bd5496 export cc.isValid() (#5546) 2019-10-15 16:07:46 +08:00
ftershock de32d9b22d API Doc update (#5481)
* update

* API Doc update

* API Doc update

* API Doc update

* API Doc update
2019-10-12 10:18:27 +08:00
ChiaNing eb5b4fca12 API Doc fix (#5480) 2019-09-27 17:04:58 +08:00
ChiaNing fc03c46cb3 layer bitmask change (#5429)
* layer bitmask change

* name change
2019-09-20 13:57:55 +08:00
pandamicro 05c61574b9 Fix super.destroy check for new scripting system (#5386) 2019-09-12 18:39:26 +08:00
SijieWang b215a60e3e Delete some of the Editor references (#5345)
* Delete some of the Editor references

* review code

* test case
2019-09-09 09:58:31 +08:00
pandamicro 9f89b0ef24 New module division (#5285)
* Temp

* temp

* move ui core

* Arrange ui and terrain

* Fix import path for all modules except core

* Move primitives into core

* Fix debug.getError

* Move audio-downloader to audio module

* export game from game.ts

* Migrate load-pipeline to ts

* Fix core modules and cleanup

* Move animation into core

* Fix module exports

* Fix director issue

* Remove most cc.director usage

* Fix ts issues

* Fix issues for unit test and editor running

* Revert removing deprecated import

* tweaks

* tweaks

* Fix ci

* Fix ci

* Add modules in module division

* Upgrade coordinates-converts-utils
2019-08-30 11:35:22 +08:00
Leslie Leigh 397168d122 update gen decls (#5166) 2019-08-16 00:34:25 -05:00
Yun Hsiao Wu ff19a901c1 refine details (#5164)
* effect adapt

* restore tslint

* refine math constants
2019-08-15 21:52:32 -05:00
Leslie Leigh 69f864cbf4 uniform-k (#5034)
* uniform-k

* update

* update

* typo

* opt AnimCurve constructor

* refactor animation-clip

* rename

* adapt animation clip new data structure to skeletal animation clip

* opt error

* opt error msg

* uniform test current file configuration

* opt err msg

* opt

* fix

* adapt skeletal clip

* fix

* fix

* fix
2019-08-08 21:38:20 -05:00
Yun Hsiao Wu 5f651dad6f fix circular ref (#5131)
* fix circular ref

* remove tslint usage
2019-08-08 21:25:54 -05:00
pandamicro cfddd96656 Fix some ts apis (#5108) 2019-08-06 20:11:39 +08:00
Myway fae69e3292 3d v1.0.0 (#5066)
* 删除Sample,Math相关修改

* 删除Sample

* 序列化及地形资源释放问题
2019-08-02 13:51:44 +08:00
ChiaNing 4bc2739786 Vmath (#4987)
* Vmath (#4895)

* vmath refactor

* value-type API change

* vmath change update

* conflict fix

* value types change

* translate modify (#4917)

* value types bug fixed (#4940)

* playground update (#4946)

* bug fixed

* bug fixed

* bug fixed

* bug fix

* util modify

* create remove & ccenum rename

* export by cc.math

* Rename value-types to math

* util funtion deprecated warn

* value-types change

* color test fix

* color API change
2019-07-29 11:50:51 +08:00
pandamicro 1380e46c34 Unittest (#4973)
* unit test for ts

* Fix ts-jest warnings

* Remove puppeteer for now

* fix physics define and jest config for windows

* Replace Node ref with INode ref

* Fix ci issue

* Fix

* tweak

* tweak

* Fix vscode launcher

* now physics framework export all physics component (#28)

* tweaks
2019-07-25 17:15:20 +08:00
gameu3d 2fbaacf23b fix particle bug (#4893) 2019-07-17 15:04:42 +08:00
Leslie Leigh 120961550c small fix (#4872) 2019-07-12 15:16:24 +08:00
jiaxin.lai 110ff5fd2e Fix bug of generate declaration (#4849) 2019-07-10 10:59:20 +08:00