Commit Graph

9268 Commits

Author SHA1 Message Date
Yun Hsiao Wu 941e44e826 fix node transform update during deactivated period (#7047) 2020-07-31 08:42:47 +08:00
ChiaNing 8085684e9f CC_BYTEDANCE add (#7033) 2020-07-30 00:41:27 +08:00
cary 7a553576ef Fix the particle build error when culling checked. (#7031) 2020-07-27 22:26:20 +08:00
jiaxin.lai 7d13f6c321 reset gfx texture unit cache when splash destroy (#7021) 2020-07-23 19:56:08 +08:00
Yun Hsiao Wu e00b8df7af fix iOS 10 rendering issue (#7017) 2020-07-23 19:46:25 +08:00
pandamicro 0538b9644e Update engine version (#7015) 2020-07-22 22:56:58 +08:00
Leslie Leigh (李的序) 7120e7cfb7 Reduce the usage of Object.getOwnPropertyDescriptors (#7005)
* Reduce Object.getOwnPropertyDescriptors

* Optimize
2020-07-22 13:35:45 +08:00
Leslie Leigh (李的序) a8771d443b Fix AnimationState.prototype.sample can not sample if animation is motionless (#6989) 2020-07-20 14:06:54 +08:00
ChiaNing 5db9e62aa3 game.restart fix (#6980)
* game.restart fix

* update

* remove pause on restart
2020-07-20 13:31:34 +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
Yun Hsiao Wu 2bc580976f fix material hash calculation (#6965) 2020-07-09 18:32:22 +08:00
cary cb3adae9e1 Fix a gl error of particle trail. (#6964)
* Fix a gl error of particle trail.

* modify for of

* refine code
2020-07-09 16:28:50 +08:00
jiaxin.lai 87594e94c6 adapt splash screen for alipay ide (#6955) 2020-07-08 10:33:24 +08:00
Yun Hsiao Wu 6e9185aa70 update effect (#6927) 2020-06-29 20:39:15 +08:00
ChiaNing 372a0b5733 mat4 translate bug fix (#6932) 2020-06-28 10:39:39 +08:00
jiaxin.lai c03ee7a4b9 fix cannon memory leak (#6928) 2020-06-24 18:05:43 +08:00
ChiaNing 78add057d7 game resume bug fix (#6925)
* game  resume bug fix

* update
2020-06-24 14:07:06 +08:00
Leslie Leigh (李的序) 4e208bb970 Handle the case of zero delta time on iOS (#6926) 2020-06-24 12:57:58 +08:00
jiaxin.lai 4c9067b394 adapt splash screen time if it is undefined (#6924) 2020-06-24 11:30:17 +08:00
JoneLau 7fa501ffcb fixed the problem of graphics component scene error when the script is changed (#6922) 2020-06-23 17:19:06 +08:00
pandamicro e9ef6426f6 Animation document (#6921)
* Doc

* Merge branch 'DocAnimation' of https://github.com/shrinktofit/engine into 3d-v1.1.1

# Conflicts:
#	cocos/core/animation/animation-component.ts

# Conflicts:
#	cocos/core/animation/animation-clip.ts
#	cocos/core/animation/animation-component.ts

Co-authored-by: Unknown <leslieleigh@outlook.com>
2020-06-23 14:40:59 +08:00
jiaxin.lai 9293903ceb splash screen adapt for alipay&cocos play (#6903)
* fix alipay android splash screen

* adapt for cocos play new version

* do not stash ccSettings

* add cocosplay verision branch

* tweaks

* remove unnecessary frame adapt
2020-06-23 11:53:13 +08:00
Yun Hsiao Wu 8e19a4332d fix node.setWorldScale (#6917) 2020-06-22 15:46:56 +08:00
pandamicro 95813e2a92 API translation for core/pipeline (#6753)
* API translation for core/pipeline

* Complete

* Improve
2020-06-18 23:05:55 +08:00
jiaxin.lai 9629e65a4c fix fixedRotation of ammo (#6904) 2020-06-18 17:39:47 +08:00
ChiaNing 95217395ab RichText font bug fix (#6893)
* RichText font bug fix

* todo add
2020-06-17 22:36:47 +08:00
jiaxin.lai 15db2ff71e ray-model return distance in world space (#6892)
* optimize & return distance in world space

* tweaks
2020-06-17 17:48:50 +08:00
Leslie Leigh (李的序) 3b31edae67 Fix once bug (#6889) 2020-06-17 12:01:11 +08:00
jiaxin.lai 41c1191117 update @cocos/cannon to 1.1.1 (#6885) 2020-06-16 18:59:57 +08:00
cary ee07c5e741 Add fallback of particle system. (#6884) 2020-06-16 15:45:34 +08:00
Leslie Leigh (李的序) 83f553034e Treat node:eulerAngle curve as skeletal curve; skeletal blending for common targets (#6850)
* Treat node:eulerAngle curve as skeletal curve; skeletal blending for common targets

* Fix

* add test

* Fix

* Fix
2020-06-16 13:39:02 +08:00
Yun Hsiao Wu 3dc17bd634 D16S8 fallback to D24S8 on WebGL backend (#6879) 2020-06-16 13:06:41 +08:00
jiaxin.lai ccf457a594 emit some event before event processor destroy (#6878)
* emit some event before event processor destroy

* fix typing

* tweaks
2020-06-15 14:21:18 +08:00
pandamicro 65dd5d2405 model component support lighting map (#6868)
* model component support lighting map (#6796)

* 模型支持lighting map渲染

* change static lighting settings
# Conflicts:
#	cocos/core/3d/builtin/effects.ts
#	cocos/core/3d/framework/model-component.ts
#	cocos/core/renderer/scene/model.ts

# Conflicts:
#	cocos/core/3d/builtin/effects.ts

* Update effects

Co-authored-by: Myway <MSoft1115@hotmail.com>
2020-06-14 19:41:18 +08:00
pandamicro a655f8189a Update effects 2020-06-14 19:38:02 +08:00
pandamicro 6b0a37d84a Fix typo 2020-06-14 19:36:41 +08:00
pandamicro afa9418ba2 Update effects 2020-06-14 19:36:41 +08:00
Myway 878707fea6 model component support lighting map (#6796)
* 模型支持lighting map渲染

* change static lighting settings
# Conflicts:
#	cocos/core/3d/builtin/effects.ts
#	cocos/core/3d/framework/model-component.ts
#	cocos/core/renderer/scene/model.ts

# Conflicts:
#	cocos/core/3d/builtin/effects.ts
2020-06-14 19:36:41 +08:00
JoneLau ccb9bdadd8 use highp in builtin-sprite (#6873) 2020-06-12 19:31:48 +08:00
pandamicro 1349990fb8 Fix Color.set API (#6865)
* AudioClip & AudioPlayer playOneShot volume default value

* revert changes

* revert changes

* Color 类型定义错误

* Fix ci

Co-authored-by: k8w <me@k8w.io>
2020-06-12 12:18:14 +08:00
Myway f6b7abe845 check detailMap valid (#6861) 2020-06-11 17:56:16 +08:00
ChiaNing 282df6a9c1 fix acceleration event acc type error (#6862) 2020-06-11 17:52:17 +08:00
Yun Hsiao Wu a9e5ed552c fix node.setWorldScale (#6854) 2020-06-11 16:06:46 +08:00
ChiaNing 95deee57a2 update package.json for api doc (#6856) 2020-06-11 15:38:43 +08:00
Yun Hsiao Wu 896fcf3e37 fix node.setRTS (#6849) 2020-06-10 15:06:29 +08:00
ChiaNing 780a3fce31 components help docs bug fix (#6848) 2020-06-10 14:21:21 +08:00
pandamicro 845fc81fce Improve CallbacksInvoker to remove __eventTargets mechanism (#6837)
* Improve CallbacksInvoker to remove __eventTargets mechanism

* Fix return value in Eventify.once

* Use isValid to check callback target validity

* Ensure event processor destroy during node destroy

* Fix node once can't remove touch/mouse listeners issue

* Strict check to include TO_DESTROY and DESTROYED state

* Remove execute and invoke directly in emit

* Fix ci
2020-06-09 11:23:20 +08:00
jiaxin.lai c31294342a awake if change collisionFilterGroup&Mask (#6839) 2020-06-08 21:07:01 +08:00
jiaxin.lai dac83d5f24 adapt for alipay (#6838) 2020-06-08 17:35:09 +08:00