Advanced Menu Template

  • #1, by afrlmeSaturday, 15. December 2012, 01:04 12 years ago
    project file: here (25mb approx)

    Finally got around to finishing this wink

    * even chucked in a quick scene & stick character (with a cutscene) I mocked up in photoshop.

    this is a really rough base for a professional menu screen which includes ...

    º actual functioning "new game" & "resume game" buttons which use if else statements to decide if ... + they should change to scene of current character or ++ load from a quicksave +++ a (#0 for new game with all conditions, values & so on reset) +++ b (#1 for resume from last quicksave which is automatically saved every so often or whenever you press "esc" to go back to main menu)

    º save menu with ... + previous / next save arrows/buttons ++ highlight on mouse over / remove highlight on mouse out (unless current slot has been selected - uses an if !=x slot statement to check) +++ checks whenever you click a slot if you can save/load/delete etc & only enables the actions you can use ++++ enables a confirm box if a save already exists on selected slot which in turn performs an action based on action selected using an if else value

    º fully working options menu which (if available) reads & sets options based on config.ini file found in the root directory ... + includes einzelkaempfer's volume slider script (english version) ++ select language & enable/disable subtitles +++ select resolution & enable/disable fullscreen (note if fullscreen = true then resolution = Auto) ++++ select if full special fx should be enabled & choose quality - sets values which you can use in game to decide which animations / particle fx to display - consider this for people on low end machines. +++++ if you edit any of the settings it trips a condition which when you click to go back to the main menu will disable the mouse cursor & display a saving animation while it writes the new settings to the config.ini. ++++++ & so on ...

    º Bonus Screen which is only available if autosave #2 exists (for me I plan on adding at the end of my game possibly) + bonus content itself can only be accessed/viewed if certain achievements have been earned which are determined by autosave x # exists. - this is quickest method as opposed to reading/writing from/to a file with LUA Script. ++ I even included a quick mock-up bonus content thingy ...

    º also included as mentioned above is a quick scene & character I mocked up in photoshop (took me about an hour to draw & animate etc) º basic save & achievement interface which fades in & out images/animations based on which condition = true.

    -- * notes * --

    as I said this is really a rough draft base for a professional menu template so you can see how to use conditions, values & if else statements to control everything without it spewing foul errors into the the messages.txt log file.

    for my game I plan on splitting the options into sections: game settings, visual, controls, etc ... also planning on animating each of the menu sections based on what they are for. - will probably be adding some extra settings: brightness/contrast, graphic/texture quality etc.

    save & achievement animations will probably animate or slide into the screen as opposed to just fading in/out as they do now.

    all the current graphics & animations will be replaced too.

    ** background music is from a ambiental/soundscape I produced a couple years or so back called "Jähân".

    P.S: there might be a few bugs but I cleaned up/removed as much of the spare conditions/values & files as I could find.

    Safe wink

    Imperator

    7285 Posts


  • #2, by curiousbearWednesday, 18. December 2013, 19:26 11 years ago
    Hey,

    Just started using Visionaire, still learning before I jump into my project idea. Been following the GlenFX tutorials, and after two days I got this (1 scene a day) https://vimeo.com/82209279 ( Password is "test" ).

    I am now learning menus and I was trying to download that file, but I get a hosting error could you, if you still have it, re-upload it?

    Thanks in advance

    Newbie

    9 Posts

  • #3, by afrlmeWednesday, 18. December 2013, 19:35 11 years ago
    ah yeah sorry - I haven't renewed my server recently... (oops)

    but no worries, as most of my templates etc can be found on my dropbox account here: https://www.dropbox.com/sh/wgfa956ohxcfwya/pTb7QqpX9t

    it's not everything I've created mind but the advanced menu .ved & resources are all there.

    & just to clarify, this is not a drag & drop template, it's more for reverse engineer purposes for you to break it down & see how it was made.

    in regards to your video: what a fun idea you have used for testing the software! smile

    P.S: some of the scripts & methods used in the template are a bit outdated now as I've actually just rewritten my own version of the sliding volume script & I plan on typing up a neater script in the near future for obtaining & saving data to the config.ini file.

    Imperator

    7285 Posts

  • #4, by afrlmeWednesday, 18. December 2013, 19:40 11 years ago
    almost forgot... this page might interest you: http://www.visionaire-studio.net/wiki/article/sticky-topics-...!.html

    it contains a sticky list of various useful community pages, lua scripts, links & resources etc.

    Imperator

    7285 Posts

  • #5, by curiousbearWednesday, 18. December 2013, 19:45 11 years ago
    Oh yes, I wasn't looking for drag and drop. While I am following tutorials I am trying to learn the basics before going for something more serious, and doing some drag and drop wouldn't help me.

    And thanks! It's basically just a drawing come to life walking around.That way I can use pictures for background, learned quite a bit with it already! Next is going to be the drawing going inside a printer, that way I can have an NPC and dialogues!

    Also, credit goes to CGianelloni for the drawing. It's pretty cool!

    And thanks for the sticky topics, that'll help!

    edit: Just to note one thing, some links of the sticky say "The page you are looking for has moved. Please wait..." and it redirects me to the Home page of Visionaire Studio

    Newbie

    9 Posts

  • #6, by afrlmeWednesday, 18. December 2013, 19:53 11 years ago
    hmm?

    could you add the links to any pages that have seem to have moved please? (whenever you come across them) - I haven't updated the sticky topics page in a while, but still not sure why any pages would be incorrectly linked.

    Imperator

    7285 Posts

  • #7, by curiousbearWednesday, 18. December 2013, 19:55 11 years ago
    The only one I checked was "Collaborative Groups" section smile

    Newbie

    9 Posts

  • #8, by afrlmeWednesday, 18. December 2013, 21:03 11 years ago
    ahh... the groups system has been updated since I created/added the group links. they can all be found in "groups" via the main menu.

    Imperator

    7285 Posts

  • #9, by MathieuThursday, 19. December 2013, 10:46 11 years ago
    Awesome!
    Thank you for this template, I'm wondering how to delete save and create roll-over on the buttons, without crash the game (I've got this problem...).
    I'm going to use it, sure!

    Newbie

    39 Posts

  • #10, by afrlmeThursday, 19. December 2013, 13:16 11 years ago
    the game crashes on mouse over? have you checked the messages.txt log file? it should be located in the root folder of your project where the .ved is located. see if it contains any illegal polygon messages or something about polygons... it could just be that they have corrupted & that you just need to to delete & redo them.

    Imperator

    7285 Posts

  • #11, by MathieuFriday, 20. December 2013, 15:12 11 years ago
    I don't know, I've erased these rollover buttons, thinking comeback on it later.

    Newbie

    39 Posts