Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / [SOLVED] GetMusicPlayingOGG not working

Author
Message
Parzival
3
Years of Service
User Offline
Joined: 1st May 2021
Playing: AppGameKit Studio
Posted: 9th Dec 2023 06:23
Hi, I have this short code but when I play the game the music plays many times.

I wanted to put a feature where the player could choose between several songs to play during the game, jukebox style but apparently the command to detect if a song is playing does not work.

The author of this post has marked a post as an answer.

Go to answer

hendron
8
Years of Service
User Offline
Joined: 20th Dec 2015
Location:
Posted: 9th Dec 2023 15:22
This post has been marked by the post author as the answer.
You need to move your call to LoadMusicOgg() outside of the loop, otherwise you're loading it over and over again every frame.


Login to post a reply

Server time is: 2024-05-02 21:12:33
Your offset time is: 2024-05-02 21:12:33