Forum rules - please read before posting.

Menu Sliders

Hello there,

I've had a few attempts at adding gamma settings to the options menu.

I looked over the resolution one but I'm not sure it will work like that?

Anyway, I looked at the other sliders that control the sound/music etc, and they have a drop down option in the menu for the slider to control.

So i dug deep into AC code and copied the sound volume but for gamma.

I pretty much got it to where the gamma is now listed in the dropdown, but the slider wont effect the brightness yet im pretty sure I have code that does it.

I maybe doing this all wrong. So any advice would be great.
If you need me to send any files, let me know.

Many thanks

K

Comments

  • Changing AC's code is unnecessary.  The principles in the resolution tutorial can be used to add a gamma option - it just takes a Slider with a Float variable instead.  You can set an ActionList to run when a Slider element's value is changed - and use this to run your custom Action that changes the gamma/
  • I dont understand. Not a fan of these menus personsally.

    I couldn't get the resolution thing to work either. I'll have another look round.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.