- Godot Engine Game Development Projects
- Chris Bradfield
- 137字
- 2021-06-18 18:51:32
Sound
Sound is one of the most important but often neglected pieces of game design. Good sound design can add a huge amount of juice to your game for a very small amount of effort. Sounds can give the player feedback, connect them emotionally to the characters, or even be a part of the gameplay.
For this game, you're going to add three sound effects. In the Main scene, add three AudioStreamPlayer nodes and name them CoinSound, LevelSound, and EndSound. Drag each sound from the audio folder (you can find it under assets in the FileSystem dock) into the corresponding Stream property of each node.
To play a sound, you call the play() function on it. Add $CoinSound.play() to the _on_Player_pickup() function, $EndSound.play() to the game_over() function, and $LevelSound.play() to the spawn_coins() function.
- Big Data Analytics with Hadoop 3
- TIBCO Spotfire:A Comprehensive Primer(Second Edition)
- Google App Inventor
- 城市道路交通主動(dòng)控制技術(shù)
- Ceph:Designing and Implementing Scalable Storage Systems
- JavaScript典型應(yīng)用與最佳實(shí)踐
- 新編計(jì)算機(jī)組裝與維修
- TensorFlow Reinforcement Learning Quick Start Guide
- MATLAB-Simulink系統(tǒng)仿真超級(jí)學(xué)習(xí)手冊(cè)
- Microsoft System Center Data Protection Manager Cookbook
- 工業(yè)機(jī)器人應(yīng)用系統(tǒng)三維建模
- Hands-On Artificial Intelligence for Beginners
- 數(shù)據(jù)庫(kù)技術(shù)及應(yīng)用
- 大數(shù)據(jù)挖掘與統(tǒng)計(jì)機(jī)器學(xué)習(xí)
- 網(wǎng)絡(luò)攻防工具