XNA Creators Club Online
Page 1 of 1 (1 items)
Sort Posts: Previous Next

XNA without a game loop

Last post 09.06.2009 06:28 by sking500. 0 replies.
  • 09.06.2009 06:28

    XNA without a game loop

    Is there any way to develop XNA games and disable the inherent game loop?

    I am working on a Windows-only 2D game that is "event" driven (like Windows).  The game will only need to re-draw and/or update when actual user interaction occurs (mostly key press and mouse click events).  I would only need to animate/move the sprites in the game after a valid action was performed.

    For network play, the game would only need to update when a client successfully performed an activity and the server notified everyone that the activity occurred (i.e. a "Player Did X" Event).

    EDIT:

    Never mind...I found what I was looking for here:

    http://creators.xna.com/en-us/sample/winforms_series1

    Thanks!
Page 1 of 1 (1 items) Previous Next