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 Discussion / making a preloader?

Author
Message
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 7th May 2005 17:57
how would you make a preloader for your game that actually waits for it to load? not juist says "loading"

"Well, if he dies, it'll teach him not to do it again." - Me
Link102
20
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 7th May 2005 20:36
You mean a barr that fills up during the loading? There aren't many (none?) around becouse dark basic doesn't load that much.

I gues you need to put a code in between the loading commands that signals to the barr to fill up a bit. You could also put in some fancy panced animation into it.

I wouldn't know how to make the barr increase during one loading command

please reply
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 7th May 2005 21:21
well, it does load on big programmes, like sometimes you have the backdrop and just a wireframe matrix there, and it looks pugly

"Well, if he dies, it'll teach him not to do it again." - Me
Jack
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 7th May 2005 23:54
I know it
load bitmap "thepic.jeg/bmp/png etc.."

then create a sprite (sprite 1,300,300,1)
then put this after each loaded object
stretch sprite 1, 5, 10
then after the next object
stretch sprite 1, 5, 20
then after the next object
stretch sprite 1, 5, 30

etc...

Download Desert Dead DBCFPS at http:\\www.onlineartsgames.de
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 8th May 2005 00:36
ahhh, good one jack, this should help!



"Well, if he dies, it'll teach him not to do it again." - Me

Login to post a reply

Server time is: 2025-05-23 02:01:17
Your offset time is: 2025-05-23 02:01:17