XNA or C# Pop-up progress bar for the LoadContent() method
Posted
by Warlax
on Stack Overflow
See other posts from Stack Overflow
or by Warlax
Published on 2010-04-09T22:36:02Z
Indexed on
2010/04/09
22:43 UTC
Read the original article
Hit count: 279
Hey people,
We wrote a small game using Microsoft's XNA Game Studio 3.1. The LoadContent() takes a long time because, other than loading models, and config files, we're also running some one-time (per run) terrain analysis.
We are not C# or XNA programmers... we're Java programmers, and want to be able to give the user some feedback that the system is loading.
Preferably, this will be through a simple pop-up with a progress bar that will say something simple like "loading please wait". The progress bar doesn't have to be a 0 to 1 progress bar, it can instead be one of those 'back and forth' progress bars.
I was hoping for some quick copy-paste ready code to just do that - as it is not a central piece of our project, nor do we have a need to delve into too much documentation.
I appreciate you time, effort, and possible donation. Thanks.
© Stack Overflow or respective owner