ok so i noticed that almost all games here only do the On/Off thing…I personally hate that since it gets really annoying at times…
Go to ModSound and Look for
Public Const DefaultVolume As Long = 80
Change that to
Public DefaultVolume As Long
After that, go into the LoadOptions and add
DefaultVolume = GetVar(filename, "OPTIONS", "DefaultVolume")
And after that, put a scrollbar on the picOptions and set the min to 1 and Max to 100
Add a label, Name it lblVolume and the caption: "Volume: "
in the scroll bar code,
lblVolume.Caption = "Volume: " & scrlVolume.Value DefaultVolume = scrlVolume.Value
After that, in the options.ini add
and ur finished!
You can do the saveoptions thing if you want.
EDIT: i fixed a certain part of the code