Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Final Project Loading Screen
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
morris13




PostPosted: 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
Sponsor
sponsor
Zren




PostPosted: 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




PostPosted: 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




PostPosted: 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




PostPosted: 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




PostPosted: 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!
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: