GLBasic forum

Main forum => GLBasic - en => Topic started by: PJBonoVox on 2007-Aug-18

Title: Showstopper in GLBasic/GP2X
Post by: PJBonoVox on 2007-Aug-18
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!
Title: Showstopper in GLBasic/GP2X
Post by: planetm on 2007-Aug-18
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 :)
Title: Showstopper in GLBasic/GP2X
Post by: PJBonoVox on 2007-Aug-18
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 :)
Title: Showstopper in GLBasic/GP2X
Post by: planetm on 2007-Aug-19
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 :)
Title: Showstopper in GLBasic/GP2X
Post by: PJBonoVox on 2007-Aug-19
Got it! Thanks, I didn't realise I could update from the internet :)