Commit Graph

69 Commits

Author SHA1 Message Date
dogeFu 09e000266d feature : add EDITOR_NOT_IN_PREVIEW marco (#15354)
* feature : add marco for editor preview and refactor code with new marco

* refactor: replace GAME_VIEW with EDITOR_PREVIEW

* Revert "refactor: replace GAME_VIEW with EDITOR_PREVIEW"

This reverts commit e28953e9e7acbb49dc5bdc650b2ff65510d4b084.

* update cc config json

* refactor code

* remove uselese parentheses

* set ccglobal to be false

* skip global variable test case
2023-06-07 17:52:51 +08:00
zhakesi ad28fd20b7 add tween function destroySelf (#14309) 2023-02-27 19:37:42 +08:00
zhakesi 10564633bc fix tween api docs (#14079) 2023-01-17 13:41:35 +08:00
pandamicro afd22296b4 MIT license update and to new year 2023 (#13927)
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
minggo 83a2717fac Fix module import (#13140)
* fix core module import style

* import murmurhash2_32_gc from core module

* do not export visibleRect
2022-10-25 16:38:38 +08:00
minggo 95a76235b6 Adjust some files (#12910)
`cocos/core` should not depend other modules, so move some files out of `cocos/core`:
- move some files from `cocos/core` to `cocos/game`
  - director.ts
  - splash-screen.ts
  - game.ts
 - move `cocos/core/root.ts` to `cocos/root.ts` as there is not better module to contain `root.ts`.
 - move `cocos/core/platform/view.ts` to `cocos/ui/view.ts` as screen related logic is moved to `cocos/core/platform/screen.ts`
2022-09-28 09:34:35 +08:00
minggo 0d7c5c8f56 move cocos/core/scene-graph to cocos/scene-graph (#12868)
* move `cocos/core/scene-graph` to `cocos/scene-graph`
* move some files in `cocos/core/components` to `cocos/scene-graph`:
  - component.ts
  - component-event-handler.ts
  - component-event-handler-schema.ts
* move some files in `cocos/core/components` to `cocos/misc`: 
  - missing-script.ts
  - model-renderer.ts
  - renderer.ts
  - camera-component.ts
* move  `cocos/core/components/system.ts` to ``cocos/core/system.ts``
2022-09-26 11:02:22 +08:00
minggo 70ef983a41 move some files into cocos/core/algorithm (#12723)
move cocos/core/easing, cocos/core/utils/aotob and cocos/core/utils/murmurhash2_gc to cocos/core/algorithm
2022-09-08 17:05:50 +08:00
ChiaNing 733fad4198 fix tween action type bug (#12563)
* fix tween action type bug

* lint ignore

* ci

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-08-30 13:45:37 +08:00
minggo 77701a2d84 Merge branch 'v3.5.1' into v3.6.0-merge-v3.5.1 2022-05-27 15:23:33 +08:00
Zhang mingzhen a20d76a152 fix CN characters appear in EN documents and supplements other documents (#11149)
* fix CN characters appear in EN documents and supplements other documents.

* remove rebundant marks of param type

* supplement docs

* First letters should be upper.

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-05-24 18:07:14 +08:00
minggo 7814949998 Merge branch 'v3.5.1' into v3.6.0_merge_v3.5.1 2022-05-24 11:53:57 +08:00
mmyduckx 8c76a64e8a fix tween-action related change scene crash (#11036)
* fix tween-action related change scene crash

* add isCCObject helper funciton
2022-05-12 18:25:00 +08:00
ChiaNing 045e6430cb add base-Renderer and separate & rename renderableComp (#10903)
* add base-Renderer and separate & rename renderableComp

* rename

* some fix

* misc fix

* format change

* file name change & api doc add

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-05-09 17:44:56 +08:00
Santy-Wang 23de9188ba V3.5 docs (#10898)
* adjust api docs and delete useless annotation

* delete useless annotation
2022-04-27 15:22:22 +08:00
Santy-Wang 8601de5de0 adjust api docs (#10871)
* adjust api docs

* refine

* add english doc
2022-04-26 19:14:47 +08:00
Santy-Wang e82cec17ac update docs (#10796)
* update docs

* update docs more

* refine

* refine
2022-04-20 18:47:53 +08:00
Santy-Wang a963881d4e add category config file for docs (#10589)
* add category config file for docs

* add input module

* adjust name
2022-03-30 18:32:37 +08:00
Santy-Wang ab82e1b42d remove hidden (#10414)
* remove hidden

* fix typo

* fix unit-test

* turn on auto fix
2022-03-22 15:11:16 +08:00
Leslie Leigh (李的序) 93b856b98e Make animation module optional (#10257) 2022-03-10 11:55:11 +08:00
Greg1129 6f3b1fae0c fix bug: remove all actions by tag (#9876)
* fix bug: remove all actions by tag

* add tween unit test

* add @internal comment

* fix using backward delete

* add commnets by eslint
2021-12-30 17:55:11 +08:00
zheng han c1dccb9c7e 1. fix typos (#9673)
2. export TweenAction
2021-11-17 13:44:42 +08:00
mmyduckx ec7a87afa3 add spine&db system && optimize system priority (#8866)
* add spine&db system && optimize system priority

* refine spine/db system

* fix misspelling

* refine

* remove errorID

* remove errorID
2021-06-29 16:59:52 +08:00
andesong 1a34b87ad7 feat: tween props support function (#8398)
* Update logo in README

* feat: tween props support function

Co-authored-by: pandamicro <lphuabin@gmail.com>
Co-authored-by: Jare Guo <jareguo@users.noreply.github.com>
2021-06-26 23:22:45 +08:00
yinkaile be4582bd2e fixed action manager (#8476)
* fixed action manager

* fixed lint

* fixed lint

* fixed lint

* fixed lint

* fixed lint

* fixed lint
2021-04-19 16:03:52 +08:00
jiaxin.lai 30d27a6d6d fix tween custom easing property (#8321) 2021-03-04 15:21:55 +08:00
jiaxin.lai 6bf8785ce2 execute tween system in update (#8305) 2021-03-02 11:08:32 +08:00
Leslie Leigh (李的序) 9bd9baac12 Eslint autofix all (#8108)
* Eslint autofix all

* Manual fix
2021-01-09 11:41:10 +08:00
jiaxin.lai 29a71884c1 fix tween when property equals 0 (#8018)
* fix tween when property equals 0

* more check

* tweaks
2020-12-25 15:44:19 +08:00
Santy-Wang ad4bff3988 Restructure Module (#7968)
* module restructure

* refine

* restructure module

* merge

* revert

* fix ci

* update import path of unit-test

* split 2d and ui

* add more module

* change audio adapter

* rename primitive

* config wechat plugin

* merge

* add category config

* merge

* merge
2020-12-24 19:07:26 +08:00
pandamicro b162e21a93 Update license and API language declaration (#7750)
* Update licenses

* Update license for audio

* Update license for core/3d

* Update license for animation, assets, asset-manager, components, data

* update license for event, geometry, gfx

* update license for core modules

math, memop, pipeline, platform, primitive, renderer, scene-graph, utils, value-types

* Update license for core

* Update license for particle and particle-2d

* Update license for particle part2

* Update license for physics and physics-2d

* Update license for all modules in cocos

* Update license for exports

* Fix API doc language declaration
2020-11-10 17:36:31 +08:00
yufang.wu 623ef85041 Sync the PR of 2D. (#7730)
* Sync the pr #7262 and #7315 of 2D.

* Commit changes
2020-11-08 22:43:51 +08:00
jiaxin.lai a3a2e7a7c2 tweaks of deprecated&tween due to loose mode (#7671)
* disable enumerable deprecated property

* add some filtering to tween
2020-11-02 16:28:23 +08:00
cary d71e9501c1 Fix an error of tween action when the property is deprecated. (#7664) 2020-11-02 13:15:23 +08:00
Leslie Leigh (李的序) 1cc61ca0b0 Promisify game.init and game.run (#7612)
* Promisify `game.init` and `game.run`

* Export some debugging API

* Update

* Update

* Fix

* Rename
2020-10-30 10:25:34 +08:00
Jare Guo 0319477911 fix decorator warning of ValueTypes (#7553)
* fix decorator warning of ValueTypes (sync #6285)

* refresh copyright
2020-10-21 16:31:41 +08:00
yinkaile 6096ec001e add type definition to tween (#7368) 2020-09-30 15:22:18 +08:00
ChiaNing 15a1806d18 API doc format change (#7456) 2020-09-28 16:52:52 +08:00
yinkaile bd8643dbc6 change action hash targets to Map (#7438)
* change action hash targets to Map

* refine code
2020-09-22 14:39:50 +08:00
jiaxin.lai 13b6104816 avoid the different target with the same UUID (#7403) 2020-09-18 20:34:49 +08:00
GengineJS bec0b86ee2 [Feature] TweenSystem class adds GameView mode (#7374) 2020-09-14 17:58:27 +08:00
yinkaile 239df3ce34 auto stop tween when target was destroyed (#7334) 2020-09-11 10:14:00 +08:00
Leslie Leigh (李的序) bc5b531191 Add decorator @editable @serializable (#7178) 2020-09-02 11:44:12 +08:00
yinkaile 952648a780 3d v1.2 tween (#7176)
* sync #6265

* refine api doc

* fixed syntax
2020-08-19 17:40:04 +08:00
pandamicro 613495d5b8 Fix ci 2020-08-13 11:36:09 +08:00
SB f0882d6272 Optimize some documents 2020-08-06 17:23:06 +08:00
Leslie Leigh (李的序) adfdb67bb8 Eliminate cc.* log functions invocation (#6845) 2020-06-10 14:19:11 +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
jiaxin.lai 90015565a0 fix some system ID (#6592)
* fix some system ID

* docs
2020-04-21 19:13:57 +08:00
jiaxin.lai e68bee6cc7 en api docs of tween (#6468)
* rebase

* fix comma
2020-04-12 19:59:08 +08:00