Music Bug Fixed


[English/Português]

Hello

First Devlog :D

Today I managed to fix a music bug that can happen in a game project (in my case, it was in Godot)

Previously, the music would restart every time a new level was loaded. This was because the AudioStreamPlayer Node was part of my "GameManager" scene, which was part of each level of the game separately, so this scene was reloaded separately in each new level. (I hope I was able to explain it well)

I managed to fix it thanks to Brackeys' tutorial (minute 1:09:20)

I still need and want to learn more about Godot and game development, so I'm open to advice if you want to leave any in the comments. I also wanted to know, did this post help you in any way? Have a good day

--------------------------------------------

Olá 

primeiro Devlog :D

Hoje consegui consertar um bug de música que pode acontecer em um projeto de jogo (no meu caso, foi na Godot)

Anteriormente, a música reiniciava sempre que se carregava uma nova fase. Isso se dava por causa que o Nó AudioStreamPlayer fazia parte da minha cena "GameManager" o qual fazia parte isoladamente em cada fase do jogo, então essa cena era recarregada separadamente em cada fase a cada nova fase.(espero ter conseguido explicar bem)

Consegui consertar graças ao tutorial do Brackeys (minuto 1:09:20)

Ainda preciso e quero aprender mais sobre Godot e desenvolvimento de jogos, então estou aberto a conselhos caso você queira deixar algum nos comentários. Também queria saber, esse post te ajudou de alguma forma? Tenha um bom dia

Files

index.zip Play in browser
2 days ago

Leave a comment

Log in with itch.io to leave a comment.