dogeFu
09e000266d
feature : add EDITOR_NOT_IN_PREVIEW marco ( #15354 )
...
* feature : add marco for editor preview and refactor code with new marco
* refactor: replace GAME_VIEW with EDITOR_PREVIEW
* Revert "refactor: replace GAME_VIEW with EDITOR_PREVIEW"
This reverts commit e28953e9e7acbb49dc5bdc650b2ff65510d4b084.
* update cc config json
* refactor code
* remove uselese parentheses
* set ccglobal to be false
* skip global variable test case
2023-06-07 17:52:51 +08:00
bofeng-song
08063379f3
support splash for taobao & refine code ( #15136 )
...
* support splash for taobao & refine code
2023-05-23 09:41:16 +08:00
qiuguohua
641a2fe2a4
Release the listener when destroyed. ( #15036 )
2023-05-14 23:08:34 +08:00
PP
3cb698c8aa
add more jsb interface info && fix some types ( #14628 )
...
* add jsb interface info
* mark TODO
workaround
* fix type
* remove some new ts-expect-error
* fix type in strict mode
2023-03-22 15:22:09 +08:00
PP
fa51b804b5
remove and ban @ts-expect-error ( #14572 )
...
* remove ts-expect-error usage in engine
* deprecate Scheduler interface
* remove JavaScriptCore
* set some engineInternal public property as getter setter
* fix build-declaration
* fix releaseManager export name conflict
* update scriptEngineType
* fix and update some comment
* remove w_mat, w_pos, w_rot, w_scale
* update renderer
* fix setRootBufferDirty not binding on native
* optimize floatToHashString
* mark NOTE
2023-03-20 13:48:26 +08:00
santy-wang
0a81bf445e
Merge branch 'develop' of github.com:cocos-creator/engine into v3.7.2
2023-03-13 16:51:47 +08:00
qiuguohua
25a3619413
Repair the problem that only one music is played when multiple music is played in the same node ( #14319 )
...
* Repair the problem that only one music is played when multiple music is played in the same node
* Modify comments
* Define callback functions to avoid removing all listeners when offrunning
2023-02-27 13:49:17 +08:00
bofeng-song
882887cb9f
support taobao mini game ( #14324 )
2023-02-22 10:34:17 +08:00
pandamicro
8eb177b53d
Merge remote-tracking branch 'cocos-for-editor/v3.7.0' into develop
...
# Conflicts:
# README.md
# pal/audio/minigame/player-minigame.ts
2022-12-30 19:30:21 +08:00
pandamicro
87fd1dac1f
Merge remote-tracking branch 'cocos-for-editor/v3.6.3' into develop
...
# Conflicts:
# native/cocos/platform/android/java/libs/game-sdk.jar
# native/external-config.json
# pal/audio/minigame/player-minigame.ts
2022-12-30 19:28:39 +08:00
bofeng-song
19ffc349b6
Make audio be independent of core module ( #13948 )
2022-12-29 15:32:08 +08:00
pandamicro
afd22296b4
MIT license update and to new year 2023 ( #13927 )
...
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
minggo
5c90582715
fix merge typo
2022-12-21 17:32:51 +08:00
minggo
bfeca12a09
Merge branch 'v3.6.3' into merge-v3.6.3
2022-12-21 17:26:22 +08:00
PP
d255936cdb
optimize audio adaption on Taobao ( #13835 )
...
* fix: onPlay
* fix: onPause
* don't call stop
* remove HACK
2022-12-16 15:16:42 +08:00
bofeng-song
4939c4d915
Fix audio bugs on the mini-game platform ( #13772 ) ( #13787 )
2022-12-12 10:13:06 +08:00
bofeng-song
3c393ae111
Fix audio bugs on the mini-game platform ( #13772 )
...
(cherry picked from commit 8ee9ad317190134a51d67045d3d36927b16f9523)
2022-12-09 14:41:50 +08:00
minggo
f78617a11d
Merge pull request #13509 from yyycggg/v3.6.3
...
Merge branch 'v3.6.1-taobao' into v3.6.3
2022-11-24 09:46:59 +08:00
timlyeee
6063a4a4c1
[Hack] Jump across the safety policy ( #13517 )
2022-11-23 17:00:24 +08:00
ycg
071ee7edb7
Merge branch 'v3.6.1-taobao' into v3.6.3
2022-11-23 14:10:14 +08:00
timlyeee
2a7648de7f
[Bug fix] Add detections for innerAudioContext. ( #13162 )
...
* [Bug fix] Add detections for innerAudioContext.
1. Pausing an innerAudioContext which is not fully initialized, the currentTime might be null.-https://github.com/cocos/3d-tasks/issues/14080
2. Pause means nothing for a stopped audio
3. InnerAudioContext.destroy behavior is insane that it might not stop the audio immediatly,
* remove log
* get once
2022-11-21 11:29:38 +08:00
ycg
d9b3c18210
Adapter Rendering, Editbox, Label and Audio. ( #13025 )
...
* Adapter System-info on Taobao
* add 'zh_CN' for iPad
* Adapter screen-adapter on Taobao
* Remove useless comments
* Adapter EditBox and Label
* Adapter Audio
* Fix: GL.getUniformLocation returns an incorrect value
* Add @typescript-eslint/no-unsafe-return
2022-10-14 15:55:06 +08:00
timlyeee
f341032746
[Optimize] Cache current time for audio player in minigame. ( #12814 )
...
* Cache current time for minigames
* Save current time as private member
* Make cache time changed in callback
* update cache time to abort middle state for seek
2022-09-22 14:20:52 +08:00
timlyeee
4381b41525
V3.6.1 fix audio stuck ( #12589 )
2022-09-01 11:48:34 +08:00
PP
4999d0c315
ensure running audio context ( #11996 )
2022-07-15 10:03:03 +08:00
PP
613addca36
play web audio after context get running ( #11708 )
...
* play web audio after context get running
update
* update
2022-07-01 14:46:44 +08:00
PP
1fccb90926
support audio PCMData and sampleRate getter ( #11470 )
...
* support audio buffer and sampleRate getter
update comment
update interface
update
update comment
update jsb.d.ts
update
* support getPCMData
update
support on native
support on miningame
update
* update comment
* add example doc
2022-06-29 13:39:05 +08:00
PP
c03e261851
remove audioTimer for minigame platform ( #11351 )
2022-06-20 10:41:50 +08:00
mmyduckx
df1594c8d8
Gameview editor macro ( #11568 )
...
* GameView related EDITOR macro modify
* remove debug code
* fix ci
* fix review
* fix review
2022-06-20 10:05:29 +08:00
PP
14cb8d60ce
optimize audiosource playing ( #11104 )
...
* remove invalid audio operation before setting clip
* skip invalid audio seeking on minigame platform
2022-05-24 10:42:56 +08:00
PP
a124dd313d
release _innerAudioContext after playOneShot ended ( #10763 )
...
* release _innerAudioContext after playOneShot ended
* fix ci
2022-04-14 17:04:20 +08:00
PP
d749bbe1c4
remove legacyPublic tag ( #10702 )
2022-04-08 19:41:20 +08:00
santy-wang
995f5b2d41
Merge branch 'v3.4.2' of https://gitlab.cocos.net/publics/engine into v3.5-merge
2022-01-24 15:56:49 +08:00
PP
1300cb8ab7
fix audio buffer memory leak on ByteDance and Web platform ( #9933 )
2022-01-06 18:27:26 +08:00
PP
fbde8d1e90
use lagacyPublic to marked deprecated public interface ( #9859 )
...
* use lagacy-public
* publish beta6
* remove jsDoc tag from constructor
* use legacyPublic
* publish beta 7
2021-12-28 11:48:10 +08:00
PP
cc01fad918
support internal interface filter ( #9797 )
...
* support interface filter
* publish build-engine@4.2.20-beta.1
* update
* fix other type of statement
* publish @cocos/build-engine 4.2.20
* update lock
* remove `@internal` from constructor documentation
* change to internal_cc tag
* support target tag in interface-filter
* publish 4.2.21-beta.1
* remove `@private_cc` tag
* remove public internal interface
* remove public internal getter setter
* remove public declare internal property
* update
* remove `__editorExtrasTag__`
* remove public internal interface on `js`
* pulish @cocos/build-engine 4.2.21-beta.2
* change tag to `@deprecated_to_user`
* support `@deprecated_to_user`
* publish 4.2.21-beta.3
* finish change request
* change to marked_as_engine_private
* publish 4.2.21-beta.5
2021-12-22 12:55:45 +08:00
PP
55299dc7fa
start audioSourceBufferNode before running audio context ( #9660 )
...
* start audioSourceBufferNode before running audio context
* remove test
2021-11-15 11:37:29 +08:00
PP
14a34d2c17
reset currentTime when stop native audio ( #9604 )
2021-11-03 16:41:34 +08:00
PP
a5a5ff9d38
fix cached currentTime on native audio ended ( #9509 )
2021-10-22 11:51:22 +08:00
PP
97b3657549
migrate input module out of platform ( #9296 )
...
* migrate input module out of platform
* revert EventKeyboard.isPressed deprecation
* fix CI
2021-09-07 15:24:43 +08:00
PP
400ef282fb
support audio buffer manager ( #9270 )
2021-09-02 11:03:20 +08:00
PP
91fab6859d
fix audio can't resume when enter foreground on ByteDance platform ( #9094 )
2021-07-30 11:27:29 +08:00
PP
b6491be095
fix audio timer seeking on pausing operation ( #9092 )
2021-07-29 17:28:59 +08:00
PP
d755243688
fix Audio can't loop on native platform ( #9085 )
2021-07-28 19:10:55 +08:00
PP
ccb50e340c
fix Audio bug on v3.3 ( #8960 )
...
* support AudioTimer in pal
update
* optimize InnerAudioContext destroy on MiniGame platform
* fix audio source on persist node paused when change scene
* compatible with audio.duration on WeChat platform
stash destroy
* fix audio can’t resume on WeChat when enter foreground
* fix audio can't pause on Android platform when enter background
* fix ci
* update null
2021-07-18 17:31:45 +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
960dc20334
compability with AudioClip method since deprecated on v3.1.0 ( #8905 )
2021-06-29 10:33:13 +08:00
PP
40789fa069
implement WebAudio on ByteDance platform ( #8802 )
...
* rename AudioPlayerMinigame
* optimize Show Hide
* support ByteDanceAPI
* support WebAudio on ByteDance
remove maxAudioChannel
* cache audio buffer
2021-06-24 18:57:42 +08:00
PP
63e2465749
fix audio on Win32 platform ( #8598 )
2021-04-29 20:35:04 +08:00
PP
2c4b747684
optimize Web Audio ( #8590 )
...
* ban audio playing in Editor
* register WebAudio error callback
* fix stop BufferSourceNode on Safari
2021-04-29 14:53:15 +08:00