Ling Zhan
38bcd20e9f
V3.8.2 bullet embind ( #16350 )
...
* bullet wasm embind
# Conflicts:
# tests/init.ts
* replace imports with abstract methods of class
* embind performance opt
* wasm split loading
* tweak
* update native/external-config.json 3.8.2-14
2023-10-13 16:16:23 +08:00
Leslie Leigh (李的序)
5682bbf996
Use WebAssembly version libraries for unit testing ( #16264 )
...
* Use WebAssembly version libs in unit test
2023-09-19 10:52:16 +08:00
Yiwen
a4990ce4e6
Fix meshopt wechat ( #16069 )
...
* fix wechat wasm problem, sync external tag
* fix formatting
* fix tidy, unit test
2023-08-23 11:59:56 +08:00
Yiwen
bde3cd4cc3
Add adv mesh functionalities. ( #16009 )
...
* stage
* update
* update
* fix physics & ray cast problem
* fix default value, clean unused code, fix lint errors
* clean code
* update meta file
* update external, license
* fix tidy, circular dep
* fix type cast
* rm unit test
* fix unit test
* update comment
2023-08-21 10:15:24 +08:00
Ling Zhan
e5488b7d32
V3.8.1 box2d wasm experimental ( #15979 )
...
* init
* tsconfig.json
* add box2d-wasm backend to cocos engine. not crash now in 3.8.0.
* rigid-body, collider, and joint works now.
* back
* Joint: SetLinearFrequencyAndDampingRatio
* PhysicsRayCastCallback, PhysicsAABBQueryCallback
* box2d wasm debugDraw
* asm.js
* B2PolygonShape uses B2.ConvexPartition
* box2d wasm contact disabled works now.
* add unit test for physics2d.
* b2ContactListenerWrapper::registerContactFixture
* tweak
* drawPolygon transfer array data from wasm to ts
* tweak
* contact event performance opt
* revert to polygon collider 2d to original implementation. no need for libtess any more.
* PostSolve ContactImpulse use raw pointer.
* TransformVector2; debugDraw supports transform
* enable rtti
* WASM_OBJECT_PTR_2_TS_OBJECT, WASM_OBJECT_PTR_2_WASM_OBJECT
* fix PreSolve parameter oldManifold error
* B2.TransformVector2 --> b2Mul(in ts)
* tweaks: code format.
* eslint
* eslint
* remove physics-2d-box2d-wasm from render-config.json
* comment tweaks
* [opt] debug draw performance opt
* tweaks
2023-08-18 19:30:14 +08:00
Leslie Leigh (李的序)
a3ee06e374
Optimize unit test; support overriding constants in per-test-suite ( #15628 )
...
* Optimize unit test; support overriding constants in per-test-suite
2023-07-06 18:00:03 +08:00
zhakesi
8534fbbfdb
spine wasm version ( #15309 )
...
* spine wasm version -fix conflict
* fix build and ci test -fix conflict
* fix for code review
* support binary format
* update exernal lib
* revert license
* fix type any
* update api docs
* fix api docs
2023-06-09 15:50:32 +08:00
PP
0b353b6e14
feat: support general WASM module in engine ( #14974 )
...
* support pal/wasm module
pal/wasm
* support sys.Feature.WASM and WASM_SUPPORT_MODE
# Conflicts:
# pal/system-info/web/system-info.ts
# Conflicts:
# pal/system-info/web/system-info.ts
# Conflicts:
# pal/system-info/web/system-info.ts
* optimize bullet module
* update physx module
update
* revert tsconfig
* optimize WebGPU wasm import
* fix native wasm instantiate
* support wasm in EDITOR and PREVIEW
* optimize variable name
* update comment
* optimize code
* Update cocos/misc/webassembly-support.ts
* add physx wasm (#11 ) by yiwenxue
* add physx wasm
* update physx wasm instantiate.
* update, rename, etc.
* download external in CI
* fix physX wasm init
* move out external wasm type
* update external-config.json
* expand node max-old-space-size
* use console.debug
---------
Co-authored-by: Yiwen <15225434259xue@gmail.com >
2023-05-08 18:02:17 +08:00
minggo
7922834c0b
move cocos/core/animation to cocos/animation ( #12674 )
2022-09-05 14:57:37 +08:00
minggo
c5c7b987ea
move cocos/core/gfx to cocos/gfx ( #12559 )
...
* move cocos/core/gfx to cocos/gfx
2022-08-26 17:51:46 +08:00
Ling Zhan
811ed11bfa
default physics material useing internal asset : default-physics-mate… ( #11855 )
...
* default physics material useing internal asset : default-physics-material.pmtl. todo: Project Setting's physics material config need to use this asset too. (#12662 )
* support set default physics material value from project setting panel. It will effect the packaging processing, and scene loading(todo). this value will not be saved to default-physics-material.pmtl.
* fix physics-system unit test failure: physics system 's constructAndRegister() will directly init default physics material if the default physics material asset is ready
* minor modification of PhysicsSystem::_updateMaterial
2022-07-21 10:37:15 +08:00
zxx43
80697b676c
fix unit test material warning ( #11874 )
2022-07-07 10:10:15 +08:00
Santy-Wang
7bc135e1c7
adjust initialization process ( #11143 )
...
* adjust init process
* fix bugs
* restructure
* tweak
* delete useless code
* fix ci
* support more platform and fix some bugs
* mark internal
* tweak
* add docs
* add docs and little adjustment
* fix bugs
* adjust decorator execute order
fix mesh error
* fix bugs
* revert some change
* revert auto-generated code
* revert auto-generated code
2022-07-03 21:16:09 +08:00
PP
4531e180b2
publish build-engine 4.3.10 ( #11478 )
...
* publish build-engine 4.3.9 && support native API docs
update lock
update
* publish 3.4.10: fix generating comment on top level of namespace
* fix test CI
2022-06-14 22:31:51 +08:00
PP
1c737b91fd
optimize Constants in engine ( #11464 )
...
* publish build-engine 4.3.5
* update build-engine deps
* remove default-constants.ts
ds
remove de
* delete consts.d.ts
* support build-const workflow
* remove EXPORT_TO_GLOBAL
* update comment
* fix interface-check
* update comment
2022-06-14 16:14:34 +08:00
Leslie Leigh (李的序)
e7370a9c3b
Log ( #10915 )
2022-05-06 20:11:17 +08:00
ChiaNing
987569786d
fix auto-atlas test bug cause time sequence ( #10914 )
...
* fix auto-atlas test bug cause time sequence
* spell fix
2022-05-05 19:34:14 +08:00
Leslie Leigh (李的序)
93b856b98e
Make animation module optional ( #10257 )
2022-03-10 11:55:11 +08:00
Leslie Leigh (李的序)
19c121dd07
Fix skeletal animation sample() does not work as intended ( #10006 )
...
* Fix skeletal animation sample() does not work as intended
* update
* currentClipRef -> currentClip
* Rename
* Optimize
* Internal
* Optimize
* Update
2022-01-18 22:56:10 +08:00
Santy-Wang
a1b018ebc0
Headless Mode ( #9345 )
...
* Headless Mode
* refine annotation
2021-09-18 10:58:00 +08:00
Santy-Wang
cf3e10b6c4
sync some unit test from 2.4 ( #9321 )
...
* add unit test
* add more unit test
* refine
* add test
* add more unit test
* add more unit test
* more change
* add commit
* add unit test
* commit package-lock.json
* revert some
* refine code
* add more test
* fix bugs
* fix bugs
2021-09-13 19:05:39 +08:00
Leslie Leigh (李的序)
705c977fc9
Binary serialization ( #8946 )
...
* Binary serialization
* Update snapshots
* Update
* rename option ccon -> useCCON
* Missing script
* encodeCCONJson: chunks -> chunkURLs
* Update
* (de)serializeSymbol -> (de)serializeTag;
* CustomizedSerializable -> CustomSerializable
* _deserializePrimitiveObject -> _fillPlainObject
* Unify CCClass CCClassConstructor
* encodeCCONJson -> parseCCONJson
* Custom serializable
* Move (de)serializeSuper(This) from context into global
* property -> read(write)Property; (de)serializeThis(Super) -> (read)writeThis(Super)
* CI and lint
* Mock cc env
2021-07-15 10:21:25 +08:00
PP
d7067c29c8
deprecate interface in View module && support pal/screenManager ( #8836 )
...
* remove BrowserGetter
* deprecated view.adjustViewportMeta
* deprecate view.enableAutoFullScreen and view.isAutoFullScreenEnabled
* remove view._adjustSizeKeepCanvasSize
* remove view._convertMouseToLocation, view._convertTouchWidthScale and view._convertTouchesWithScale
* remove view._originalDesignResolutionSize
* deprecate cc.winSize and cc.visibleRect
update
* access local winSize
* access local visibleRect
* deprecate view.getVisibleOrigin view.getVisibleOriginInPixel
* Revert "deprecate view.getVisibleOrigin view.getVisibleOriginInPixel"
This reverts commit 1ae9e1d5c51d8c701eaa2e4a65cd4c17e5f6d971.
* Revert "deprecate cc.visibleRect"
* optimize screen module
update
* update
update
* optimize deprecation info
* rename pal/system to pal/systemInfo
* update pal/systemInfo access in engine layer
* support pal/screenManager
* update pal/screenManager access in engine layer
* fix bug
* optimize deprecation info
* fix auto fullscreen
* fix ci
* fix ci
* update change request
update
update
* fix CI
2021-07-09 18:57:03 +08:00
jiaxin.lai
b1f0802a5f
let game run in test environment ( #8906 )
2021-07-08 22:33:08 +08:00
PP
86f20da0f0
support pal/input ( #8472 )
...
* support pal/input
update
* update
* fix esLint
* support minigame
* support pal/input on minigame
* remove minigame.isSubContext
* support native
update
* deprecate static property on EventMouse
* deprecated static property in EventTouch
* remove TODO
* remove x y position in MouseWheel Event
* remove TODO
* remove temp code
* fix esLint
* update AccelerometerIntervalMode
* remove legacy code in JSB
* fix esLint
* optimize AccelerometerInputSource.setInterval
* fix esLint
* optimize code
* add more details for documentation
* update
* don't pass game.canvas to inputManager.registerSystemEvent
* optimize
* Revert "remove x y position in MouseWheel Event"
This reverts commit b521ec4948d693b420887cdeb2f5f3afc1500066.
# Conflicts:
# @types/pal/input.d.ts
* update
* fix esLint
* fix esLint
2021-04-19 16:24:42 +08:00
PP
9bb4c4f8ea
support pal/system ( #8441 )
...
* support pal/app
update
update
* remove 'QQ_PLAY' and 'FB_PLAYABLE_ADS'
* rename system
update
* rename Language
* update
* update
* bind function in Game.ts
* rename system
* support system.getBatteryLevel()
* support pal/system on native
* support pal/system on minigame
* update
* fix esLint
* fix Circular dependency
* fix esLint
* use math/Size
2021-04-15 11:00:54 +08:00
PP
cd7e644694
implement audio on pal ( #8255 )
...
* Update logo in README
* add pal/audio
* deprecate property
* support wechat game AudioPlayer
* unify minigame interface
* optimize module name
* support native audio
# Conflicts:
# @types/jsb.d.ts
* add runtime platform
* fix module
* support build native virtual module
update
update
* update module name
* remove jsb-audio.js
* revert @rollup/plugin-alias
* add quickCompiler field in cc.config.json
* fix audio can't stop when paused
* fix esLint & ci
* fix ci
update
* update ccConfigJson
* add NOTE
* readonly maxAudioChannel
* add description for interface OneShotAudio
* volume range
* range for seeking
* loadNative return Promise<unknown>
* remove quickCompile field in cc.config.json
Co-authored-by: pandamicro <lphuabin@gmail.com >
Co-authored-by: Jare Guo <jareguo@users.noreply.github.com >
2021-03-25 14:30:13 +08:00
Leslie Leigh (李的序)
a3207d6bcb
Suppress no-initializer warns if the property is declared to have object type ( #7917 )
...
* Suppress no-initializer warns if the property is declared to have object type
* Use 'default' in
* Update
* Revert
* Revert
* Update
2020-12-15 17:23:41 +08:00
Santy-Wang
3be28fb3ce
Revert "Optimize build time constants implementation ( #7882 )" ( #7927 )
...
This reverts commit 6f57c3ad8f .
2020-12-07 13:32:50 +08:00
Leslie Leigh (李的序)
6f57c3ad8f
Optimize build time constants implementation ( #7882 )
2020-12-04 15:06:54 +08:00
Yun Hsiao Wu
33c3c841d7
fix material hash calculation ( #6933 )
2020-06-28 11:55:21 +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
Lelie Leight (李的序)
d446a357ce
Warn on explicit undefined type ( #5770 )
2019-11-23 18:17:45 +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
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