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
Ling Zhan
f8f121c732
[fix] refactor physics2d contact listener ( #14026 )
...
* [opt] physics2d box2d contactListner optimization
* back. todo: pre,post,_begin,_end, physicsContact class
* new contact listener works now.
* code refactor
* tweaks
* tweaks
* rename finalizeCollision to finalizeContactEvent
* align physics 2d events with physics 3d.
* tweaks
* fix builtin2d
* tweaks box2d
* Revert "tweaks box2d"
This reverts commit d5d0cbd36e6669844e363513c5861904e37153a5.
Revert "fix builtin2d"
This reverts commit 143b4b2abcc90f585f019a6b027c9053acb1fc73.
Revert "tweaks"
This reverts commit b9c449ec85d2ed408ebeceebb6efd10ec1f117a5.
Revert "align physics 2d events with physics 3d."
This reverts commit c12f102c6f7777266e3986bdf72a90656fa2b453.
* tweaks
* compatibility
* tweaks
2023-01-12 22:01:01 +08:00
Ling Zhan
5f7285815c
[fix] physics2d doc hint changes decorator @property to @serializable and @type ( #13939 )
...
* [fix] physics2d doc hit change decorator @property to @serializable and @type
* tweaks
* tweak
2022-12-30 13:28:19 +08:00
Ling Zhan
884dbad0d7
[opt] improve api doc for Physics2D ( #13894 )
...
* [opt] improve api doc for Physics2D
* tweaks
2022-12-28 15:07:26 +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
Ling Zhan
688f4db260
[feat] physics2d add doc hint ( #13897 )
2022-12-28 10:36:08 +08:00
minggo
7294de16f6
Adjust core import ( #13230 )
...
* fix import style of core module
* fix decorator usage
2022-11-07 15:01:31 +08:00
Ling Zhan
6f83d4dbd2
[feat] physics-2d supports switching back-end in EDITOR ( #13177 )
...
* [feat] physics-2d supports switching back-end in EDITOR
* tweak
* tweak
* tweak
* eslint ignore ban-types (object, Function) in 2d physics-system.ts
* tweak
2022-10-28 23:33:16 +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
mmyduckx
df1594c8d8
Gameview editor macro ( #11568 )
...
* GameView related EDITOR macro modify
* remove debug code
* fix ci
* fix review
* fix review
2022-06-20 10:05:29 +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
黄森斌
4f05432c23
Displayorder is removed from the edit template and is taken over completely by the decorator ( #10165 )
2022-03-02 21:14:37 +08:00
ChiaNing
90d94fead6
api module change ( #8272 )
...
(cherry picked from commit 314ede133cd6b1873b6f71876f16947733de2c46)
2021-02-25 17:31:08 +08:00
Leslie Leigh (李的序)
9bd9baac12
Eslint autofix all ( #8108 )
...
* Eslint autofix all
* Manual fix
2021-01-09 11:41:10 +08:00
zheng han
c8a4884d1a
3d physics 2d gizmo ( #7493 )
...
* add mask param to raycast
* refine code
* 1. add some decorator
2. export earcut
* add dashed line
* revert mainLoop modify
Co-authored-by: 2youyou2 <501251991@qq.com >
2020-10-12 15:50:07 +08:00
yinkaile
96a735b2ff
3d v1.2 physics 2d ( #7357 )
...
* Squashed commit of the following:
add physics 2d
* @@ -205,9 +205,6 @@ export class b2PhysicsWorld implements IPhysicsWorld {
revert box2d version
* add mask param to raycast
* refine code
2020-10-12 11:49:49 +08:00