Final Project Loading Screen
Author |
Message |
morris13
|
Posted: Thu Jun 11, 2009 8:20 am Post subject: Final Project Loading Screen |
|
|
I'm Doing my cummulating assignment in my programming class, and I want to have a loading screen on my game.
Can someone please tell me how to make a simple box type loading screen where when the box fills up the game starts.
Ive asked my teacher, hes not a very bright guy. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Zren
|
Posted: Thu Jun 11, 2009 8:40 am Post subject: Re: Final Project Loading Screen |
|
|
Does your project even NEED a loading screen?
Unless your project is massive and takes up tons of resources it needs to load at the beginning. You don't need it. Sure you could fake it by having a box stetched across the screen over a certain amount of time. However it's time wasted on the users behalf.
However, real loading bars are done by checking the total memory needed to load, files to unpack, surfaces/models/etc to be generated.
Formula:
Percentage loaded = (Total Memory To Be Loaded) / (Current memory loaded) * 100
This then would affect a Box floating, or stretching across the screen. |
|
|
|
|
|
DemonWasp
|
Posted: Thu Jun 11, 2009 12:46 pm Post subject: RE:Final Project Loading Screen |
|
|
Zren is almost right, but needs to flip his numerator and denominator:
Percent loaded = (Amount Loaded so Far) / (Amount To Load) * 100%
Most Turing programs will not need a progress bar, as you'll be hard-pressed to be loading so much that a progress bar is really necessary. If it takes more than a few seconds, just put "Loading, please wait" at the top of the screen and then load (most people have an attention span of 5 seconds, so if it's below that you'll be fine). |
|
|
|
|
|
Zren
|
Posted: Thu Jun 11, 2009 2:11 pm Post subject: Re: Final Project Loading Screen |
|
|
Woooops that was clumbsy of me. For some reason I flipped the two, it's just how my brain works. So I though I had to flip them again and again and I went into this flipping spiral of doom. |
|
|
|
|
|
morris13
|
Posted: Fri Jun 12, 2009 12:26 pm Post subject: RE:Final Project Loading Screen |
|
|
Its not the point of loading the program. Its for show and we get extra marks for it. |
|
|
|
|
|
Dan
|
Posted: Fri Jun 12, 2009 12:52 pm Post subject: Re: RE:Final Project Loading Screen |
|
|
morris13 @ 12th June 2009, 12:26 pm wrote: Its not the point of loading the program. Its for show and we get extra marks for it.
In that case i recomend making a title screen and not a loading screen. |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
|
|
|