llsansun
2157fd176d
Multithreading ( #322 )
...
* worker pool
* opt
* backup
* worker and worker backend
* worker fallback
* opt
* opt
* remove meta
* opt
* worker export
* testcase fix
* worker js template
* worker pal
* worker opt
* test
* Replace error messages with error codes
* Package size reduction
* Package size reduction
* revert
* Restore editor asset .meta files to the base branch state
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_014HAtWwr4dy5azfpccweh1g
* bugfix
* Split into two features: Worker and Worker Pool
* worker option
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-29 16:35:14 +08:00
hyde zhou
db5462603e
Move pal directory to private repository ( #191 ) ( #254 )
...
Co-authored-by: qiuguohua <qiuguohua111@126.com >
2026-08-08 16:20:49 +08:00
tangkai
b08a406d07
Support box2d JS binding which improves the performance of 2D physical system for native platforms . ( #18152 )
2025-02-24 19:22:06 +08:00
qiuguohua
deba073213
Integrate the Google Play Billing Library into engine ( #17918 )
2024-11-29 11:18:48 +08:00
hyde zhou
b0889f0873
effect add versioning ( #17502 )
2024-08-07 11:26:27 +08:00
GengineJS
cf85e35f13
support webgpu ( #17096 )
2024-06-12 09:24:10 +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
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
Leslie Leigh (李的序)
84edc214e2
Enable forceConsistentCasingInFileNames in tsconfig ( #13788 )
2022-12-12 13:36:06 +08:00
Zeqiang Li
f5c4dee6db
Wgpu 3.6.2 WGPU_CI_ON ( #12731 )
2022-09-16 10:20:52 +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
Leslie Leigh (李的序)
466d4cf1f9
API documentation: category ( #10435 )
...
* Typdoc: category
* Add categories
* workflow
2022-03-22 13:57:00 +08:00
jiaxin.lai
5c6567f59e
bullet physics optimization ( #9311 )
...
* stash
* stash
* stash
* use @cocos/bullet
* rename
* stash
* update constraint
* naming
* naming
* naming
* naming
* fix
* use compound by default
* stash
* fix
* rename and raycast
* refactor
* add state optimazation
* tweaks
* tweaks
* stash
* rename
* wechat wasm file path
* using promise
* remove @cocos/ammo
* i18n bullet(ammo.js) -> bullet
* tweaks
* update @cocos/build-engine to 4.2.11
* fix sync
* fix autosleep mechanism
* fix stability test
* fix destroy bullet world
* tweaks
* update @cocos/bullet to 1.0.0
* fix
* delete
2021-09-10 16:35:56 +08:00
Yun Hsiao Wu
4cf1350fe0
gfx: swapchain refactor ( #9030 )
...
* update effect.hideInEditor
* swapchain refactor
* webgl multi draw
* implicit depth/stencil format
* native adapt
* explicit resizable texture
* DrawInfo in InputAssembler
* device cached states
* sync defines
* gfx: empty backend
* update playground
* remove profiler camera
* update effect types
* fix pass.resetUniform
2021-08-31 19:40:50 +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
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
jiaxin.lai
0dc393b884
3d physx ( #8005 )
...
* support physx physics engine
* tweaks
* stash contact event
* update @cocos/physx
* basic event impl
* stash
* support BYTEDANCE
* stash
* stash
* fix inertia
* PhysX mesh collider
* PhysX static trimesh geometry
* PhysX terrain collider
* add kinematic
* bytedance plane collider
* bytedance v2
* support trigger
* bytedance triangle mesh support
* raycast filter
* raycast support
* stash all
* stash
* center of mass
* stash
* stash fixed joint
* stash
* stash
* physx hinge joint
* physx distance joint
* tweaks
* tweaks
* bytedance raycast
* tweaks
* update mass
* tweaks
* tweaks
* joint
* stash
* bytedance adapters
* tweaks
* stash
* apply force/impulse
* add updateEventListener
* Fixed some loose usage
* add getShapeFlags/getShapeMaterials
* tweaks
* optimize bytedance adapter
* fix isStaticsOrKinematic
* support cylinder & cone
* contact normal
* update @cocos/physx to 1.0.0-beta.5
* rigid body tweaks
* add syncAfterEvents
* hinge constraint
* filter static - static
* ammo refactor
* cannon refactor
* ammo p2p constraint refactor
* update @cocos/ammo to 1.0.8
* lint ammo
* more lint
* docs
* tweaks
* avoid direct use globalThis
2020-12-24 13:45:03 +08:00
Leslie Leigh (李的序)
e96001082b
Fix unwanted import specifier ( #7952 )
2020-12-12 13:03:40 +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
Jare Guo
b7c56393d5
Merge remote-tracking branch 'fireball/3d' into 3d-v1.2
...
# Conflicts:
# EngineErrorMap.md
# cocos/core/assets/image-asset.ts
# cocos/core/data/class.ts
# cocos/core/data/deserialize.ts
# package.json
2020-10-28 18:37:39 +08:00
Leslie Leigh (李的序)
1b31da202f
Expose build-time-constants interfaces ( #7545 )
2020-10-21 11:14:52 +08:00
Jare Guo
c6fa350e62
should not disable strictFunctionTypes, sync changes from jareguo/engine#4
2020-10-19 17:45:33 +08:00
Jare Guo
17e327bf28
support new serialization at runtime
2020-09-27 19:25:00 +08:00
pandamicro
1d2a82d957
Merge branch '3d-v1.2' into merge1.2
...
# Conflicts:
# cocos/core/3d/framework/mesh-renderer.ts
# cocos/core/components/ui-base/ui-renderable.ts
# cocos/core/pipeline/forward/forward-pipeline.ts
# cocos/core/pipeline/forward/scene-culling.ts
# cocos/core/pipeline/render-additive-light-queue.ts
# cocos/core/pipeline/render-stage.ts
# cocos/core/pipeline/shadow/shadow-flow.ts
# cocos/core/renderer/core/memory-pools.ts
# cocos/core/renderer/scene/camera.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/renderer/scene/render-scene.ts
# cocos/core/root.ts
# cocos/particle/billboard.ts
# cocos/terrain/terrain.ts
# cocos/ui/components/button.ts
# package-lock.json
# package.json
# tests/general/sealed-global-variables.json
2020-09-02 18:39:09 +08:00
Leslie Leigh (李的序)
bc5b531191
Add decorator @editable @serializable ( #7178 )
2020-09-02 11:44:12 +08:00
minggo
4f21401492
import pipeline instead ( #7218 )
...
* import pipeline instead
* simplify codes
* add jsb index.ts
* simplify codes
* fix circular dependency
* change build engine version
* change build-engine version
* jsb -> nr
2020-08-31 09:56:40 +08:00
Leslie Leigh (李的序)
59c46c66af
Add platform macro for ByteDance ( #6982 )
2020-07-15 11:37:47 +08:00
PP
aaf542be76
remove browserType for minigame ( #6970 )
...
* remove browserType for wechatgame
* optimize booting in subContext
update
2020-07-12 22:42:52 +08:00
JoneLau
cc722a6ae0
fix warning about super.xxx = xxx ( #6701 ) ( #6718 )
...
cherry pick branch 3d, link #6701
2020-05-20 10:52:14 +08:00
Leslie Leigh (李的序)
35c86df584
Turns on isolatedModules ( #6368 )
2020-03-19 15:58:52 +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
jiaxin.lai
87c6b9bda4
Ammo-Wrapper ( #5954 )
...
* basic physics abstract spec
* spec tweaks
* stash
* cannon refactor
* builtin refactor
* cannon wrapper & framework tweaks
* hiding, wait for 1.0.3
* delete unneed code
* export CANNON
* rebase
* rename stash
* rename I-rigid-body to i-rigid-body
* stash
* stash
* cannon refactor
* cannon wrapper & framework tweaks
* remve unneeded code
* wrap,....hack
* demo impl
* stash
* stash, complete dynamics update
* dynamic update center
* stash, size + center
* tweaks, fix share trigger shape
* tweaks
* stash
* ammo events stash
* tweaks
* stash
* complete ammo events
* tweaks
* stash
* body property, stash
* body , stash...
* tweaks
* tweaks
* tweaks
* ammo tweaks
* stash
* stash
* tweaks
* tweaks
* stash,complete tirgger,body、 ghost etc.
* tweaks
* remove unneeded code
* fix api of angluar velocity
* physic material for single body for now
* ray test stash
* stash
* update ammo version
* impl raycast
* impl group mask
* update ammo version
* update ammo package
* add onDestroy to ammo rigid body
* add protected for temporary
* fix allow sleep
* remove unneed code
* shape tweaks
* stash
* rename spahe to shape
* tweaks
* fix damping
* adapt
* reset state after disable & enable
* export ammo.js
* Revert "cannon wrapper & framework tweaks"
This reverts commit e59ea98c0bd8c23b23e9ee428ddce45d0271f1eb.
* update @cocos/ammo version
* fix applyLocalTorque
* tweaks
* beta version
* fix import i-rigid-body
* delete unused file
* Specification function name
2019-12-25 17:34:12 +08:00
jiaxin.lai
1d14c0bc93
refactor_tween ( #5794 ) ( #5943 )
...
* refactor_tween (#5794 )
* copy from master branch cocos2d actions
* tweaks & stash
* tweaks
* stash
* stash
* tweaks
* fix repeatForever init
* fix repeat、repeatForever、reverseTime
* add elastic out in to easing
* add typing
* add adapter & checker;
add api doc;
* tweaks
* fix tween number
* tweaks
* tweaks
* remove tween.js
* rename actions to tween
* export Tween
* allow mutiple remove action
* using new api
* remove deprecated from tween
* add deprecated to tweenUtil
* fix ci test
2019-12-23 16:22:48 +08:00
Leslie Leigh (李的序)
86636442cf
Kill INode & IBaseNode ( #5893 )
...
* Remove INode, IBaseNode
* Fix
* Fix types error
* Update
2019-12-19 14:17:14 +08:00
Leslie Leigh (李的序)
3e40d68a1f
Add type check to test stage ( #5849 )
2019-12-12 19:08:42 +08:00
jiaxin.lai
44e6915279
update cannon.js source to @cocos/cannon ( #5573 )
2019-10-21 16:37:00 +08:00
Lelie Leight (李的序)
a722483d2d
fix typing errors ( #5538 )
...
* fix typing errors
* disable eslint rule: prefer-readonly
2019-10-14 22:58:15 +08:00
Lelie Leight (李的序)
b878fbeb50
toggle allowJs in tsconfig ( #5357 )
2019-09-12 15:48:24 +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
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
jiaxin.lai
fc178a2fdd
Add cc tween ( #4847 )
...
* add tween.js
* add CCTween
2019-07-10 09:52:38 +08:00
Leslie Leigh
af95f05f31
support all ValueType lerp; fix errors ( #4565 )
2019-06-10 12:57:06 +08:00
Leslie Leigh
13748f235a
add docs for animation ( #4545 )
...
* add docs for animation
* update tsconfig.json
* fix bug
2019-06-03 18:42:14 +08:00
Leslie Leigh
41c57d1710
typing ( #4321 )
2019-04-26 18:39:52 +08:00