Game Development Reference
In-Depth Information
Initializing Nifty and managing an options
menu
To start things off, let's begin with a simple recipe that will provide us with the basics of
setting up the application to use Nifty GUI and tell us how to manage the options menu. An
options menu is usually found in games; it acts as a link between different screens. For this
reason, it's suitable to create it using the control pattern so it can be easily handled across
screens.
We'll initialize Nifty GUI inside AppState to offset it from the main application code and
then access the application from Nifty and control Nifty through code.
Search WWH ::




Custom Search