当前位置:网站首页>Cocoscreator plays audio and synchronizes progress
Cocoscreator plays audio and synchronizes progress
2022-06-27 20:30:00 【RemoteDev】
1. establish 2D Empty item
2. Creating a new scene main
3. Import audio file
4. Create an audio Association node , And add audio components on the node
5. Drag and drop audio files to Clip And set the auto play and cycle
6. Preview the scene and play the audio
7. Add... To the scene 3 Button , They are playing , Pause , stop it
8. Buttons are associated with scripts , And set the click event
9. Audio nodes are associated with variables
10. Add play , Pause , Stop logic and preview functions
Play now , Pause , Stop the audio
11. Show audio playback progress , Sync playback progress when sliding the slider control
Specify slider handling events
Preview function
12. Sync track progress to slider during playback
边栏推荐
- ABAP essay - get new crown data through API
- Web APls 阶段——第十四节——本地存储
- Common shell script commands (4)
- Summary of submarine cable detection technology
- What is a stack?
- Database log
- Redis cluster Series III
- Observable, reliable: the first shot of cloudops series Salon of cloud automation operation and maintenance
- CSDN 技能树使用体验与产品分析(1)
- Longitude and latitude analysis
猜你喜欢
openssl客户端编程:一个不起眼的函数导致的SSL会话失败问题
Character interception triplets of data warehouse: substrb, substr, substring
CSDN 技能樹使用體驗與產品分析(1)
数智化进入“深水区”,数据治理是关键
Graylog 新一代日志收集预警系统安装配置
CocosCreator播放音频并同步进度
muduo
本周二晚19:00战码先锋第8期直播丨如何多方位参与OpenHarmony开源贡献
主键选择选择自增还是序列?
Bit. Store: long bear market, stable stacking products may become the main theme
随机推荐
At 19:00 on Tuesday evening, the 8th live broadcast of battle code Pioneer - how to participate in openharmony's open source contribution in multiple directions
What is a stack?
Practice of combining rook CEPH and rainbow, a cloud native storage solution
数仓的字符截取三胞胎:substrb、substr、substring
Common shell script commands (4)
Bit. Store: long bear market, stable stacking products may become the main theme
muduo
[login interface]
Rust advanced ownership - memory management
NVIDIA三件套环境配置
[help] troubleshooting of JVM's high CPU resource consumption
BLE蓝牙模块NRF518/NRF281/NRF528/NRF284芯片方案对比
UE4 realizes long press function
database engine
数仓的字符截取三胞胎:substrb、substr、substring
优维HyperInsight:掘金164.94亿美元可观测市场的“金锄头”?
安全才是硬道理,沃尔沃XC40 RECHARGE
云原生存储解决方案Rook-Ceph与Rainbond结合的实践
Bit.Store:熊市漫漫,稳定Staking产品或成主旋律
一场分销裂变活动,不止是发发朋友圈这么简单