Memuat
Memuat
Want to go deeper?
Join one of our courses or ask us directly on WhatsApp.
Picked from the software, topic, and level of “Godot 4 Space Shooter Class #12: Sound Effects and Background Music”.
Other ways we can help with Godot.
Learn with a mentor
Scheduled Game Development courses with live guidance and a certificate.

Course/Training Unreal Engine — Procedural Animation for Humans in Unreal Engine 5
★ 5.0 (60)

Course/Training Unity — Learn to Code by Making a 2D Platformer in Unity & C#
★ 5.0 (10)

Course/Training Construct 2 — Creating a Top-Down Shooter Game in HTML5
★ 5.0 (10)
Have it built for you
No time to learn Godot? Our team can do the project for you.

Development Service: Unity — Building a Battle Royale RPG Game Using Unity and Blender Ultimate Class
★ 5.0 (26)

Unity Development Services — Become a Unity Game Developer Learning Paths
★ 5.0 (12)

Development Service: Unreal Engine — Unreal Engine 4 – Build Your First Game with UE4!!
★ 5.0 (12)
Get notified about new Godot classes
At most one email a week. Unfollow anytime with one click.
The full narration of this video. The current sentence is highlighted while the video plays; click any sentence to jump there.
In this episode's result, each shot makes a sound, explosions are heard loudly, the crashed aircraft makes a sound, and electronic background music plays while playing, then switches to a sad tone when the game over. Hello, let's continue, Galaxy Warrior. Sound makes the game much more alive. In episode 12, we set up sound effects and background music using the Audio Stream Player node.
Open player.tsn Add an audio stream player named 'suara laser' with the stream 'laser.web' and volume minus 8dB, as well as 'suara kena' with the stream 'kena.web'. In player.gd, call the laser sound play in the shoot function, and the hit sound play when hit by an enemy. Open explosion.tsn Add an audio stream player named 'suara' with the stream 'ledakan.web', then play it on the '_ready' function in 'ledakan.gd'
Open main.tsn
Add an audio stream player for the music with music.web, volume minus 10, and autoplay active. To make the music loop, select music.web in the file system. Open the import tab, change the loop mode to forward, then re-import. Add the game over sound with stream game over.web. In main.gd, when game over, stop the music and play the game over sound. Save all and press F5 to listen to the new atmosphere. Want to be able to make your own game?
Cerdas Inovasi Digital opens a game development course with Godot, Construct 3, and Unreal Engine,
Game development services for educational games and promotional games for schools and businesses
as well as selling the complete tutorial project file along with its assets.
Want to master the entire series? From a blank project to the game being exported as a Windows application?
All 14 episodes, complete with step-by-step PDF guides, Available for premium tutorial subscribers.
Subscribe starting at Rp69.000 per month,
Save 28% with the 12-month package,
or pay once Rp999.000 for lifetime access.
Want a single class only? Buy single class with lifetime access.
Subscribe now on the premium page cerdasinovasidigital.com Contact us via WhatsApp,
or visit cerdasinovasidigital.com
Thank you for watching,
See you in the next episode.
Type a question or keyword; we find the part of this episode that explains it and jump the video there.
Notes are saved with the current video time and are only visible to you.
Stuck on a step? Ask here; the instructor and other learners can answer.
No questions yet.

Cerdas Inovasi Digital Team
Software developers, BIM & 3D engineers, and AI practitioners
We build software, BIM models, games and AI automations for clients every day, and turn that hands-on work into step-by-step classes: every step is shown on screen and comes with a PDF guide you can keep.
See our clients →