Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

From what Zefir said, you're a beginner, and what your progress is right now is great. It's just that when I transition between scenes, since you're using the same audio track, the music restarts every time, and I find that a little irritatng. If you want, I could help you show how you can play the same audio track throughout the entire game, as I learned from Brackeys' Godot tutorial.

Thank you for writing that you are not like in my game. It is very important for me. I will try to fix it in the future, but I would not mind if you showed how to use one music track for the entire game without turning it on every level!

Now, this is only for GODOT 4, so if you were using Unity for your entry, my deep apologies, but this won't be really much help for you, but if you switch to Godot, you can keep this in mind. I copied these notes down from Brackeys' Godot tutorial: "How to Make a Video Game - Godot Beginner Tutorial", and seriously, you should check him out.

Now, here are the notes I copied down: 

1. Import mp3. files into Godot

2. Create a new AudioStreamPlayer2D node, and rename it into "[type music name here]"

3. Drag your desired music over to the Stream slot, and turn on "Autoplay".

4. Double-click on your desired music, which will open up your Audio Importer, enable Loop, and hit Reimport.

5. Go to the bottom and click on Audio, where you will see a bus. Add two more buses by clicking on "Add Bus" and rename each one "Music" and "SFX".

6. Choose the "Music" bus, and now you can lower down the volume by dragging the white slider downwards.

7. Drag your desired music over to your Scenes folder and save the scene. 

8. Remove your desired music from The Biscuit Tower.

9. Go to Project, go to Project Settings, go to Autoload, click the little folder, navigate over to your Scenes folder, click on your desired music, and hit Add.

10. You're done. You should be able to have a single track loop throughout your game constantly.