Settings Template

  • #1, by marvelMonday, 13. March 2017, 10:32 7 years ago
    Hey guys,
    does anyone has a template for the game settings including all nescessary sliders and options? smile What do you think should be in the settings menu of an adventure game?

    Key Killer

    598 Posts


  • #2, by sebastianMonday, 13. March 2017, 11:36 7 years ago
    right now im doing exactly this for my game (again) grin

    neccessary sfuff:
    video : fullscreen or window mode (selectable window size optional) 
    brightness slider

    audio :
    music slider
    sounds slider
    speech slider
    movies slider (optional) 
    global slider (optional) 

    general:
    language selection : english /... 
    output selection : text / voice / text + voice
    game related (optional) settings (skippable mini games, interface options)
    hotspot indicator (if used) 

    controls overview


    Thread Captain

    2346 Posts

  • #3, by ke4Monday, 13. March 2017, 11:39 7 years ago
    No template, sorry. You shouldn't miss a tick for hiding subtitles if game also has a voice-overs. Maybe some list of all available game controls? In case the player is not sure what does what.

    brightness slider


    How would you do that? With the shader? Will that look good?

    Key Killer

    810 Posts

  • #4, by sebastianMonday, 13. March 2017, 11:51 7 years ago
    No template, sorry. You shouldn't miss a tick for hiding subtitles if game also has a voice-overs. Maybe some list of all available game controls? In case the player is not sure what does what.

    brightness slider


    How would you do that? With the shader? Will that look good?

    its an internal player lua command which controls the gamma:

    SetWindowBrightness(int) 

    int = 0-100


    Thread Captain

    2346 Posts

  • #5, by ke4Monday, 13. March 2017, 11:57 7 years ago
    Ah okay, thanks for the info smile

    Key Killer

    810 Posts

  • #6, by afrlmeMonday, 13. March 2017, 12:08 7 years ago
    No template, sorry. You shouldn't miss a tick for hiding subtitles if game also has a voice-overs. Maybe some list of all available game controls? In case the player is not sure what does what.

    brightness slider


    How would you do that? With the shader? Will that look good?

    its an internal player lua command which controls the gamma:

    SetWindowBrightness(int) 

    int = 0-100


    I encountered a strange bug with setWindowBrightness() / getWindowBrightness() when I tried to use it for creating a brightness/contrast option for Midnight at the Celestial Palace. I ended up having to use the shaderLightness() function instead, but I think the brightness option ended up getting scrapped altogether for some reason or other (I think it was because it needed to be checked & declared at begin of each scene in case a save file was loaded as it reset back to default brightness) - was something along those lines anyway.

    In regards to setWindowBrightness() for some reason the slider wouldn't go all the way to the left, it would glitch out around 20%. As for why, I couldn't find a reason as the conversion calculations were correct as I'd used them for volume settings.

    @ Thomas: there's always my advanced menu template available, but it's a little old now (at least 2 years), so it contains out of date scripts & methods I no longer use. Since then Simon introduced Lua shorthand & multiple instances of mainLoop & so on.

    https://www.dropbox.com/sh/594t03agkg18e06/AAC6L2GOFjn_hrLl4...

    P.S: I also provide freelance development/scripting if you are interested. Menu & config.ini seem to be the thing I am mostly asked to sort out, so I guess you could say it's kind of a speciality of mine. wink

    Imperator

    7278 Posts

  • #7, by MachtnixTuesday, 14. March 2017, 03:22 7 years ago
    I used this old slider thing. It works fine. Thx.
    I used some other menues for brightness or mute. But switch between fullscreen and windowed doesnt' work... Only with changing a line in a ini-file...

    Thread Captain

    1097 Posts

  • #8, by afrlmeTuesday, 14. March 2017, 03:40 7 years ago
    I used this old slider thing. It works fine. Thx.
    I used some other menues for brightness or mute. But switch between fullscreen and windowed doesnt' work... Only with changing a line in a ini-file...
    You can actually switch between window mode & fullscreen with either alt + enter or with a Lua function, but I don't recommend it because for some reason the aspect ratio ends up messed up if the window size is changed either with Lua script or dragged from side/corners if resizeable is enabled in the config.ini.

    Imperator

    7278 Posts