xna - Completely reload a gamepage in monogame -


i trying reload gamepage in monogame - touching sprite on page. cannot find solution this.

in android, can call finish gameactivity, , recreate new one. how can in monogame?

i using wp8.0 sdk, monogame xna 4 framework.

i'm not familiar android development, or mean "gamepage", typically type of thing handled "states" in game development. can have playing state, paused state, main menu state, etc, , pass game object each state class , have override update/draw methods own information.

so, in case, in playing state of game, , if sprite touched, might want go main title, can pass game object title screen state. title screen can have call loadcontent() reload assets (effectively restarting game completely).

not sure if helps. =x


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -