Commit Graph

13 Commits

Author SHA1 Message Date
timlyeee
f5a6a64372 Jsb-event-handler for event dispatch (#9879) 2022-01-04 13:37:44 +08:00
timlyeee
1c437eb87e js invoke JAVA and OSX function without reflection (#9344)
Co-authored-by: LX <[email protected]>
2021-09-29 14:18:35 +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
江战
3eee6dfd4b 3.3 js message queue (#8991) 2021-07-16 15:20:31 +08:00
PP
420c9f59d4 support system.getSafeAreaEdge() (#8654)
* support system.getSafeAreaEdge()

* remove legacy adapter

* remove code

* update
2021-05-17 18:12:13 +08:00
jiaxin.lai
9fd927c2f1 fix jsb-physics require canditions (#8637) 2021-05-06 20:29:13 +08:00
jiaxin.lai
28d62c8393 native physx (#8455)
* Stash

* add plane/capsule shape

* add syncTo/FromNativeTransform

* support trigger/collision events

* set rigid body property on enable

* group distinguish between serialized  and lowlevel

* support trimesh-shape/mass-center

* fix cone/cylinder direction

* support cylinder/cone shape

* tweaks of pmtl

* fix setMesh

* support terrain

* support raycast

* support revolute joint

* support distance joint

* tweaks

* add some API docs

* tweaks

* optimize book and unBook

* tweaks

* tweaks
2021-04-19 20:21:29 +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 <[email protected]>
Co-authored-by: Jare Guo <[email protected]>
2021-03-25 14:30:13 +08:00
cary
f1ab9a7ecb Extracts the shared content of the pipeline. (#8187)
* Extracts the shared content of the pipeline.

* add createDefaultPipeline export
2021-01-25 17:41:00 +08:00
Santy-Wang
45b452d392 refine 3.0 dragon-bones native sdk (#8035) 2020-12-28 16:19:07 +08:00
owen
f811378b7f 3.0 spine native sdk adapter (#7999) 2020-12-24 10:25:34 +08:00
PP
e3e1db619f move port/native into platforms/native (#7963)
* Revert "move in port/native to platforms/native (#7962)"

This reverts commit 96871ba26b.

* move port/native into platforms/native
2020-12-15 12:43:16 +08:00