Showstopper in GLBasic/GP2X

Previous topic - Next topic

PJBonoVox

Hi all :)

I've almost finished a game I'm writing using the demo version of GLBasic and I'm going to buy it as soon as I've finished the game.

Well, I was, until I realised you can't set the volume of music?

This is a real showstopper on the GP2X since if it's too loud it means you either can't play the game or have to turn the music off which totally ruins the experience.

Is there any chance this feature could be implemented? If it is, you've got my 60 euros!

planetm

I've not tried on the gp2x, but doesn't the MUSICVOLUME command work?

I'm really glad to hear that you have come around to the value of glbasic now too PJBonoVox :)

PJBonoVox

Could you help me with the arguments?

Musicvolume isn't in the help file on the demo, nor is it recognised by the SDK. Any ideas?

And yes, I'm slowly coming round :)

planetm

MUSICVOLUME vol#$

Sets the volume of the music that's currently playing. The value vol#$ is in the range 0 (silent) to 1 (loud)

The command was added in v4.230, you may need to do an internet update (from the 'web' menu in the sdk).

Good luck :)

PJBonoVox

Got it! Thanks, I didn't realise I could update from the internet :)