AppState Question

If you want to see how I personally use app states then there are many places to look.

You can look at the code for Monkey Trap which was a partial game I wrote using Zay-ES and Lemur.

You can also look at SimArboreal:
https://code.google.com/p/simsilica-tools/source/browse/#svn%2Ftrunk%2FSimArboreal-Editor

Or the IsoSurface demo:
https://code.google.com/p/simsilica-tools/source/browse/#svn%2Ftrunk%2FIsoSurfaceDemo

All of which use app states heavily… though I don’t know if any of them specifically have loading screens. (Monkey Trap might.)

None of my stuff uses nifty so you’ll be on your own for that… or whatever help others might provide. But those apps might give you an idea of how to break apart things into app states and have them easily refer to each other.

1 Like