Commit Graph

31 Commits

Author SHA1 Message Date
Yun Hsiao Wu f5652eee61 cleaner audio types (#6037)
* cleaner audio types

* clear unused binding
2020-01-06 16:51:54 +08:00
ChiaNing 51d9286f2a add JSB_AUDIO type in audioType (#5949)
* add JSB_AUDIO type

* change audio type
2019-12-24 10:57:26 +08:00
Yun Hsiao Wu 0cd08e8441 fix web audio stop before play (#5927) 2019-12-19 15:02:28 +08:00
Yun Hsiao Wu 9be38fa229 web audio can't play twice (#5869) 2019-12-09 17:09:15 +08:00
Yun Hsiao Wu bbdce1b684 fallback to renderbuffer if depth texture not supported (#5862) 2019-12-07 15:08:24 +08:00
ChiaNing 06ea953699 cc.audioplayer change (#5839) 2019-12-04 17:21:34 +08:00
ChiaNing fce470c9c9 alipay adapter & oppo adapter (#5813)
* adapter

* adapters useless remove

* bug fix

* clip getplayer

* alipay adapter update

* redefin remove

* log remove

* deprecated redefine fix

* predefine update

* AliPay console adapter

* prefab update
2019-12-02 15:34:39 +08:00
pandamicro 2c3082d879 Merge pull request #5712 from cocos-creator/3d-v1.0.1
Merge 3d v1.0.1
2019-11-08 15:46:50 +08:00
Yun Hsiao Wu eeacefc88f fix wx one shot audio doesn't restart (#5699) 2019-11-07 18:59:54 +08:00
ftershock fc359c8a7a add tooltip (#5663)
* Add tooltip

* add tooltip

* update spriteatlas

* add changeSpriteFrameFromAtlas
2019-11-06 18:30:12 +08:00
Yun Hsiao Wu f5d5a617ab wx audio volume control workaround (#5679) 2019-11-05 17:35:43 +08:00
Yun Hsiao Wu 7b72c70f64 clear DOM audio callback after any successful play (#5638) 2019-10-29 16:17:56 +08:00
Yun Hsiao Wu cb7d3b64a5 handle dom audio play without promise (#5637) 2019-10-29 13:43:28 +08:00
Yun Hsiao Wu e337ae33d9 one material instance for all kinds of models (#5608)
* one material instance for all kinds of models

* better pass organization

* linter fix & more opt TODOs

* PSOs store their hashes from now on

* store string pass phase

* fix sampler cache

* optimize pass resource init proc

* audio context compat improv
2019-10-28 16:09:39 +08:00
Yun Hsiao Wu d7de207d8b disable VAO on iOS wechat (#5624) 2019-10-25 18:43:09 +08:00
Yun Hsiao Wu 8a98afdf08 fix audio duration clamp & profiler ratio (#5475) 2019-09-26 16:39:43 +08:00
Yun Hsiao Wu abd0779c21 max texture size check (#5442)
* texture size check

* linter fix
2019-09-23 14:18:23 +08:00
Yun Hsiao Wu e0e24d2f69 clamp input on audio setCurrentTime (#5431) 2019-09-20 14:17:22 +08:00
Yun Hsiao Wu 7d697f0b25 audio handle hide & show events (#5426)
* minor

* remove avatar model component

* audio handle hide & show events
2019-09-20 09:40:47 +08:00
Yun Hsiao Wu a20481527b audio clip should listen to canvas events (#5401)
* minor

* audio clip should listen to canvas events
2019-09-17 14:05:34 +08:00
Yun Hsiao Wu 63eb7918b2 cleaner create component menu (#5396) 2019-09-16 17:21:52 +08:00
Yun Hsiao Wu ea923922ba partial handle & Pass.getUniform (#5356)
* linter fix

* partial handle & getUniform
2019-09-10 10:35:02 +08:00
James Chen 269282f348 Fix AudioBuffer checking code (#5355) 2019-09-09 18:24:16 +08:00
Yun Hsiao Wu fcd7855a53 fix wx audio (#5311) 2019-09-02 05:25:09 -05:00
Yun Hsiao Wu 0d4bf98f61 wx audio global callbacks (#5310)
* some linter fix

* wx audio global callbacks
2019-09-02 04:30:08 -05: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
Yun Hsiao Wu 1b2edaec93 audio system (#3937)
* audio adapt

* compile shaders as early as possible
2019-02-28 18:48:07 +08:00
Yun Hsiao Wu 06eb5d8060 fix tsc errors 2019-01-08 16:38:26 +08:00
pandamicro f1d75e94d1 Merge branch 'v2.0-release' into v2-3d 2018-09-03 00:04:11 +08:00
pandamicro 6285147014 Reorganize modules 2018-08-30 23:10:27 +08:00
pandamicro 8c348f12e4 rename cocos2d folder to cocos 2018-08-30 22:29:23 +08:00