Project Description
SilverMenu brings some of the menu functionality of Silverlight for Windows Phone 7 to the XNA world.

It is always painful to do a pretty GUI menu for our game or 3d application in XNA and this library helps with that by reading the menu from a XML file and with only a few lines of code we have a pretty Silverlight alike menu working in our XNA application.

This library resulted after the fastidious work I had when working on the menus of the Puzzle Jumble game (http://puzzlejumble.zpx.pt) by ZPX (http://www.zpx.pt).

Update
I found out about a new library Xnaml https://msmvps.com/blogs/valentin/pages/xnaml-component.aspx which, at first sight, renders the SilverMenu useless. This made me question the purpose in continuing this project.
I just made an update for SilverMenu (11-05-22) since I was still using it for a game I was working on (Think Fast! for WP7) but with the eminent arrival of Silverlight in XNA it will definitely render SilverMenu useless. Check the comments for this new commit in the Source Code section.


Better than trying to describe what it does, check this video http://www.youtube.com/watch?v=HKOPc4Qut8Q.
In the future, the goal is to try to achieve a richer experience like this one http://www.youtube.com/watch?v=NWRDrZUQxzo.

sm01.jpgsm02.jpg

First release coming soon but you can still download the current work in progress source code which has a working sample.


Known limitations / Things to add in future:
  • gesture support in silver menu (priority! coming in the next update.) - Completed.
  • buttons (priority! coming in the next update.) - partially implemented, work in progress.
  • doesn't allow different transition times for different page transitions.
  • doesn't support changes between portrait and landscape.
  • doesn't allow complex effects (like mirroring an image.)
  • menu transitions with fade outs.


It would be nice to have an editor where we could build the menu and export it as a SilverMenu XML.

Last edited May 22, 2011 at 12:02 AM by RikSabino, version 20