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.

DarkBASIC Professional Discussion / Need help with progress bar while game loads!

Author
Message
Guruchild
23
Years of Service
User Offline
Joined: 13th May 2003
Location: United States
Posted: 7th Jul 2003 11:39 Edited at: 7th Jul 2003 12:42
I want to make a progress bar to display while the game loads- set out to solve this problem and ran into a huge problem- the game loads all the objects and stuff and then when it's finished it syncs and the game begins. So I can't update a progress bar while the game is loading without messing up the screen. Any thoughts? Help? Please!

--------------------------
Soul Defender - 60%
Valor Quest - ~5%
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 7th Jul 2003 14:54
Check out my loading system in the Code Snippets area.
In addition to that, I've got a plug-in that will display a splashscreen and progress bar whilst you can load data.

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins and other exciting things - oh my, yes!
Dave J
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 7th Jul 2003 15:31
You have something for everything

Oh, and I've been meaning to ask you something, on your site you have the LongHorn list, one of which is:
-"No more defragmentation"

What kind of solution are you expecting for that? Auto-defragmentation of files when you create/download/move them? Just interested.

(I know this should be in a different forum or something but seems a waste to ask one question lol)

"Computers are useless they can only give you answers."
Ishamael Sedai
23
Years of Service
User Offline
Joined: 1st Jul 2003
Location: France
Posted: 7th Jul 2003 22:00

But it's more graphic than useful because....it doesn't take care about the time of loading.....

I am the Betrayer of hope naebl'is by the will of
the Great Lord of the Dark. If you do not want to surrender, your soul will burn in the deepest hole of the Pit of doom.
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 7th Jul 2003 23:05
I would like something more like Linux's system (how they prevent defragmentation, I dont know, but it works).

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins and other exciting things - oh my, yes!
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 8th Jul 2003 00:43 Edited at: 8th Jul 2003 00:43
@GuruChild

Set the camera view size to 1 by 1 pixels or something (SET CAMERA VIEW 0,0,1,1), then you can place your loading screen in the middle and sync quite happily and just resize the view when the game starts.

Do you want Windows menus in your DBP apps? - Get my plugin: http://snow.prohosting.com/~clone99/downloads/tpc_menus_103.zip
Guruchild
23
Years of Service
User Offline
Joined: 13th May 2003
Location: United States
Posted: 8th Jul 2003 02:10
@ Rob K
That's pure genius, thanks

--------------------------
Soul Defender - 60%
Valor Quest - ~5%

Login to post a reply

Server time is: 2026-07-17 13:56:36
Your offset time is: 2026-07-17 13:56:36