Commit Graph

36 Commits

Author SHA1 Message Date
pandamicro
ed3723b000 Fix native module override (#10709) 2022-04-09 09:44:48 +08:00
Leslie Leigh (李的序)
93b856b98e Make animation module optional (#10257) 2022-03-10 11:55:11 +08:00
Leslie Leigh (李的序)
6583b7c780 Hide animation graph asset creation API in runtime (#9491) 2021-10-15 15:23:23 +08:00
ChiaNing
9e4bafcbdd fix custom material bug (#9482)
* fix custom material bug

* change material default value
2021-10-14 10:30:09 +08:00
Leslie Leigh (李的序)
f34ffcbfbc Support module overrides without compiliation in dev mode (#9480)
* Support module overrides without compiliation in dev mode

* Update render-config.json
2021-10-14 10:30:08 +08:00
媛媛
9353275f72 [3.4.0] Add UI_GPU_DRIVEN flag in cc.config (#9367)
* update flags

* update flags
2021-09-29 22:26:44 +08:00
GengineJS
434249da19 Modify the math library (#9163)
* Modify the math library

* fix ci
2021-08-12 10:59:09 +08:00
jiaxin.lai
9e7f40d4cb let pack physx libs optional (#9046) 2021-07-23 13:45:08 +08:00
Leslie Leigh (李的序)
4cb8eeeffd Support CCONB asset loading (#8996)
* Support CCONB asset loading

* Lint

* Optimize
2021-07-18 22:54:16 +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
santy-wang
e58499bb3f Merge branch 'v3.2.0' of https://gitlab.cocos.net/publics/engine into v3.3-merge 2021-06-22 16:59:04 +08:00
GengineJS
2315b4d2dd Pipeline memory pool removed (#8738) 2021-06-02 17:23:02 +08:00
jiaxin.lai
f58bcd2536 enable physx in preview (#8717)
* enable physx in preview

* remove source map to avoid oom
2021-05-26 17:40:05 +08:00
jiaxin.lai
f01c3b3053 override physx instantiate in jsb (#8709)
* fix set damping

* override physx instantiate in jsb
2021-05-25 18:41:41 +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 b521ec4948.

# 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
6728263167 update physics group during runtime (#8148)
* update physics group during runtime

* change default to ammo

* add physx module

* add physics_physx i18n
2021-01-16 11:36:28 +08:00
Leslie Leigh (李的序)
df6e37dc4e Add physics framework/physics 2d framework feature (#8086) 2021-01-06 16:36:46 +08:00
Santy-Wang
45b452d392 refine 3.0 dragon-bones native sdk (#8035) 2020-12-28 16:19:07 +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
owen
f811378b7f 3.0 spine native sdk adapter (#7999) 2020-12-24 10:25:34 +08:00
江战
1bff13636c [3.0] rename dragonbones to dragon-bones (#7984)
* rename dragonbones -> dragon-bones

* add files
2020-12-18 18:29:03 +08:00
Leslie Leigh (李的序)
6e547e22fb Revert spine's export; optimize StatsQuery (#7982)
* Revert spine's export; optimize StatsQuery

* Update version
2020-12-18 11:48:21 +08:00
Leslie Leigh (李的序)
8c70de3843 Uncommitted cc.config.json (#7976) 2020-12-16 16:44:22 +08:00
Leslie Leigh (李的序)
ee894076d5 build-engine API changes from "entry" to "feature"-based (#7957)
* build-engine API changes from "entry" to "feature"-based

* Bump version
2020-12-16 11:17:35 +08:00
coulsonwang
bb0ef38f4b reduce native getPhase jsb calls (#7737) 2020-11-09 15:35:49 +08:00
minggo
588025afe3 Reduce jsb (#7700)
* use JS version of GFXRect/GFXViewport/GFXColor/GFXOffset/GFXExtent/GFXTextureSubres/GFXTextureCopy/GFXBufferTexrureCopy
* use BufferPool for BlendState/BlendTarget/DepthStencilState/ResterizerState
2020-11-05 18:17:18 +08:00
coulsonwang
f51b754dab reject pass phase for native (#7602) 2020-10-27 11:39:59 +08:00
Leslie Leigh (李的序)
1b31da202f Expose build-time-constants interfaces (#7545) 2020-10-21 11:14:52 +08:00
Yun Hsiao Wu
9bba200429 array pool refactor (#7496)
* refactor array pool

* ModelView.INSTANCED_BUFFER

* MRT feature flag

* minor
2020-10-12 14:25:36 +08:00
minggo
c9bbcf905f GFXInputState GFXPipelineStateInfo use jsb binded class (#7473) 2020-09-30 17:25:20 +08:00
minggo
00f1b65311 do not adapt PipelineState (#7448) 2020-09-27 11:23:06 +08:00
minggo
1c4898f181 enable native pipeline (#7400) 2020-09-17 13:46:43 +08:00
minggo
d2a8714c66 Override some classes in jsb (#7319) 2020-09-07 10:56:11 +08:00
minggo
e4bd687cc1 update build engine to ignore wedding out engine codes (#7309) 2020-09-04 16:10:42 +08:00