Page 1 of 1

Game Menu

Posted: 06 Aug 2014, 02:17
by sfernandez
This demo demonstrates how to make use of NoesisGUI to create a cool menu for a game.

Sample Source Code

After opening the Unity project, you would need to import NoesisGUI 1.2 (available from our forums: viewtopic.php?f=3&t=91) to make it work.



Older version compatible with NoesisGUI 1.1 can be downloaded here.

Re: Game Menu

Posted: 06 Aug 2014, 15:32
by movra
Beautiful! I give it a 10 on a scale form 1 to 10! ;)

If you want to edit and see the XAML in Blend:
  • Load MenuDemo.sln with Blend
  • Remove the reference to Text.cs from the project
  • Build Project
  • Search for "Opacity=" and replace value 0 with 1.

Re: Game Menu

Posted: 06 Sep 2014, 14:42
by jaejae
Hi Sergio,

Sorry, got your PM, but can't reply, error:
"We are sorry, but you are not authorised to use this feature. You may have just registered here and may need to participate more to be able to use this feature."

Anyhow, the example is working now and I've deployed to Android and iOS successfully, thanks.

Just something that has happened in the last few minutes, I'm getting this error to do with fonts:
[DX9] Assets/MenuDemo/Fonts/WeblySleek UI Semibold.font
[Assets/Content/MenuDemo/Fonts/weblysleekuisb.ttf][0] Unexpected family WeblySleek UI
UnityEngine.Debug:LogWarning(Object)
Noesis.BuildToolKernel:OnLog(Int32, String) (at Assets/Editor/NoesisGUI/NoesisBuildToolKernel.cs:200)
System.Object:wrapper_native_1E8E6780()
Noesis.BuildToolKernel:Build() (at Assets/Editor/NoesisGUI/NoesisBuildToolKernel.cs:140)
NoesisSettings:Build(String) (at Assets/Editor/NoesisGUI/NoesisSettings.cs:309)
NoesisSettings:OnGUI() (at Assets/Editor/NoesisGUI/NoesisSettings.cs:256)
UnityEditor.DockArea:OnGUI()

Any ideas? I've tried embedding the font, but that doesn't work either.

Re: Game Menu

Posted: 06 Sep 2014, 16:10
by jsantos
It is a warning. You can safely ignore it. Will be fixed.

Re: Game Menu

Posted: 26 Apr 2015, 21:04
by flownthecoop
This does not work with version 1.2.2. Is there and update?

Re: Game Menu

Posted: 30 Apr 2015, 16:14
by sfernandez
This does not work with version 1.2.2. Is there and update?
This sample is now updated to 1.2 version in our Tutorials github

I also updated the links in the first post.

Re: Game Menu

Posted: 25 Aug 2015, 08:39
by picpic2006
Hello,

i just try to load and open game menu sample from git and i have this error on the load

[dx11] Assets/MenuDemo/OptionSelector.xaml
Parsing UserControl (@1,1).
System.Exception: DependencyProperty fields cannot be readonly
at Noesis.Extend.RegisterDependencyProperties (System.Type type) [0x0004a] in C:\Users\Anthony\Documents\New Unity Project\Assets\Plugins\NoesisGUI\Scripts\Core\
UnityEngine.Debug:LogError(Object)
Noesis.BuildToolKernel:OnLog(Int32, String) (at Assets/Editor/NoesisGUI/NoesisBuildToolKernel.cs:260)
System.Object:wrapper_native_52002880(String)
Noesis.BuildToolKernel:BuildIncremental() (at Assets/Editor/NoesisGUI/NoesisBuildToolKernel.cs:116)
NoesisPostProcessor:Build(String) (at Assets/Editor/NoesisGUI/NoesisPostProcessor.cs:251)
NoesisPostProcessor:Build() (at Assets/Editor/NoesisGUI/NoesisPostProcessor.cs:237)
NoesisPostProcessor:.cctor() (at Assets/Editor/NoesisGUI/NoesisPostProcessor.cs:34)
UnityEditor.EditorAssemblies:SetLoadedEditorAssemblies(Assembly[])

Thanks

Re: Game Menu

Posted: 26 Aug 2015, 15:52
by sfernandez
Thanks for pointing this out ;)
I just updated the scripts (removed the readonly keyword) in the repository.

Re: Game Menu

Posted: 26 Aug 2015, 16:07
by picpic2006
No problem !

Thanks