global volume,. and therefor muting.

If there is something important you think is missing in the current version of ZGameEditor then you can post a feature request here!

Moderator: Moderators

Post Reply
User avatar
jph_wacheski
Posts: 1005
Joined: Sat Feb 16, 2008 8:10 pm
Location: Canada
Contact:

global volume,. and therefor muting.

Post by jph_wacheski »

Just thought it may be nice to have a globle volume on the mixer. Some times I am listening to music ( just got the full cataloge of Dead Can Dance! amazing.., ) but play a game with low or no volume,. having a simgle global volume will make it very easy to add volume and muting to our games,. . ppl may like that.
iterationGAMES.com
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

Good idea, I'm adding a master volume property for next release.
You can already disable sound in your zge-games by starting your exe with the "-s" (silent) option.
It's been a long time since I heard anyone talk about Dead Can Dance :) , but I remember that I used to enjoy listening to their music.
User avatar
jph_wacheski
Posts: 1005
Joined: Sat Feb 16, 2008 8:10 pm
Location: Canada
Contact:

Post by jph_wacheski »

humm, . there may be a problem with implementing globalVolume on the mixer! I have found that animating/changing any mixer values from expressions or animators crashes engine.., changing sounds themselves if fine however,.
Attachments
mixerCrash.zgeproj
see here
(575 Bytes) Downloaded 653 times
iterationGAMES.com
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

Strange it seems to only crash at runtime and not in preview. But I remember there being some magic happening about mixer-properties so I will take a look at that.
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

Found the problem. Fixed in next release!
User avatar
jph_wacheski
Posts: 1005
Joined: Sat Feb 16, 2008 8:10 pm
Location: Canada
Contact:

Post by jph_wacheski »

you roc Ville!
iterationGAMES.com
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

Thanks! No more fixes tonight, I'm going out for a beer now ;)
Post Reply