Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / How Do i create Loading Bars ( the one at the beginning of games) ? ...

Author
Message
Mr Pham
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: TOOOROONTOO!
Posted: 28th Nov 2003 03:15
Im a total noobie at this, but i really want to create a loading bar for my game, i searced the forums and found some posts, but it was too complicated for me :/, can some1 explain to me how to create a loading bar? Thx a MILLION

If you can't amuse people with your intelligence, confuse them with your stupidity
Newbie Brogo
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: In a Pool of Cats
Posted: 28th Nov 2003 05:41
.. how bout.. lets use boxes... this is a very rough and just put together code, so its just a base to build on.
lets say you need to load 10 files before your game, so that means 10% for each file. this will be a bar that increases when every file is loaded.


i'm not even sure if this code is the best way, just what first came to my mine, hope i could help...

You did what? For who?! For how many jellybeans?!?

MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 28th Nov 2003 06:36
Register here

http://www.gamedevnetwork.com/modules/news/

They've got a tutorial on loading bars, along with other important tutorials.



A book? I hate book. Book is stupid.
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 28th Nov 2003 07:40
The loading bar on that site just shows a fancy way to say "loading". Doesn't have an actual progress meter. I'm the one who wrote it.
Mr Pham
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: TOOOROONTOO!
Posted: 28th Nov 2003 23:52
Nice idea newbie brogo, thx a lot man, it worked

If you can't amuse people with your intelligence, confuse them with your stupidity
Newbie Brogo
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: In a Pool of Cats
Posted: 29th Nov 2003 00:18
cool, my idea actually worked! yay

You did what? For who?! For how many jellybeans?!?

Mr Pham
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: TOOOROONTOO!
Posted: 29th Nov 2003 00:20
i have 1 problem though, the objects load IN the screen with the bar lol, any idea how to change that

If you can't amuse people with your intelligence, confuse them with your stupidity
genius
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: Utah, USA
Posted: 29th Nov 2003 08:37
Here is a funtion to draw a loading bar, and print the percent done.


hope it works for you

Be happy, tomorrow is another day
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 29th Nov 2003 11:38
AUTOCAM OFF

That prevents the camera from repositioning itself to a new object creation.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 29th Nov 2003 14:39
Immediately after loading the object, hide it, then update your progress bar

Login to post a reply

Server time is: 2024-11-25 18:55:15
Your offset time is: 2024-11-25 18:55:15