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 / Loading screen

Author
Message
Ed222
18
Years of Service
User Offline
Joined: 3rd Nov 2007
Location: Calgary
Posted: 5th Feb 2008 23:23 Edited at: 5th Feb 2008 23:24
Just a question to make a loading screen you would use something like this right?


Windows Is better than everything
Sinani201
19
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 6th Feb 2008 01:34
I guess you could do that... but there's no loop. And you should only clear the screen when the current task has been completed. Besides that, it's good!

Seriously, how do you make the little blue text come up below your message?
LBFN
19
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 6th Feb 2008 02:36
Ed222
Unless your bitmap is mega huge, the file will be loaded before you can see the text on the screen. BTW, you'll never see it with the code you have, because you're loading it into bitmap 1. You would have to set the current bitmap back to 0 in order to see the printed text. Also, a minor point, music files are typically .mp3 or .mid files, while sound files are .wav format.

If your game is going to have a fair amount of files to load, I would suggest using some sort of graphical representation of how the loading is going overall instead of listing each file. If you do it the way you've laid out, I would suggest assigning a string variable to the file name, like a$="something.bmp" and then print "loading ";a$. This will name the actual file being loaded instead of a number.

@Sinani201
Cool sig!

LB
n008
19
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 6th Feb 2008 02:56
I always thought a loading screen was blitted until the whole game pre-stuff was setup, then it was deleted.

"I have faith, that I shall win the race, even though I have no legs, and am tied to a tree." ~Mark75
Ed222
18
Years of Service
User Offline
Joined: 3rd Nov 2007
Location: Calgary
Posted: 6th Feb 2008 03:03
Thanks

Windows Is better than everything
LBFN
19
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 6th Feb 2008 03:36
Quote: "I always thought a loading screen was blitted until the whole game pre-stuff was setup, then it was deleted."


That certainly would be typical, though I wouldn't say that it is always done. The loading screen that Ed222 is making simply prints what is currently being loaded. A simple version, so he doesn't have a screen to be deleted, otherwise, why would he contiually keep clearing the screen? I didn't get that he was using an actual bitmap for a loading screen from what he posted.

LB
TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 6th Feb 2008 17:44
@ ed222

Here`s a forum link I started, and I think it`s just what you want:
http://forum.thegamecreators.com/?m=forum_view&t=117147&b=10

TheComet

Oooooops!!! I accidentally formated drive c.
Ed222
18
Years of Service
User Offline
Joined: 3rd Nov 2007
Location: Calgary
Posted: 7th Feb 2008 01:21
@TheComet Great but one question does it work on dbp?...I just switched to dbp

Windows Is better than everything
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 7th Feb 2008 01:43
Quote: "I just switched to dbp"


Why on earth then are you asking this on the DB Classic board?

TDK_Man

Ed222
18
Years of Service
User Offline
Joined: 3rd Nov 2007
Location: Calgary
Posted: 7th Feb 2008 01:52 Edited at: 7th Feb 2008 01:52
this was before I switched

Windows Is better than everything
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 7th Feb 2008 02:11
Ah so I see - I just read in another thread a couple of minutes ago that you took the plunge today! Congrats!

Out of interest, what made you switch?

TDK_Man

Not_Maindric
18
Years of Service
User Offline
Joined: 10th Jul 2007
Location: Omaha, NE
Posted: 7th Feb 2008 02:23
I should be switching in a month or so. =D

Ed222
18
Years of Service
User Offline
Joined: 3rd Nov 2007
Location: Calgary
Posted: 7th Feb 2008 02:31
Well I herd theres alot of good commands that dbp can use that dbc can't use without the ennachment pack. It's also faster it's better looking because it uses a proper IDE it supports more resolution it's also still supported meaning all the bugs and glitches can still be fixed..but the one thing I would change is making exes I got really confused today when I first used it.

Windows Is better than everything
TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 8th Feb 2008 12:15
It should work in DBP, because there are only dot commands.

I thought DBP can do EVERYTHING DBC can and MORE, but that`s incorrect. Also, I heard that DBP is "unstable". What does that mean?

TheComet

Oooooops!!! I accidentally formated drive c.
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 8th Feb 2008 14:18
Quote: "It's also faster it's better looking because it uses a proper IDE"


What? Didn't you use a 'proper' Windows IDE for DB Classic??

Quote: "it supports more resolution"


Sorry, I don't know what you mean by that.

Quote: "it's also still supported meaning all the bugs and glitches can still be fixed"


True, but what 'bugs and glitches' did you find in DBC?

Apologies for questioning your reasons for upgrading to DBPro, but recently I've seen quite a few DBC users upgrade to DBPro when they've only recently started using DBC - as if it will magically make them better programmers.

I don't like to see anyone wasting money and if you can't program in DBC properly then that's exactly what buying DBP is.

In my opinion, the only good reason for upgrading to DBP is when you have become an expert programmer with DBC and have reached the limits of it's capabilities.

Quote: "I heard that DBP is "unstable". What does that mean?"


It has bugs and things don't work properly. But, unlike DBC it is being actively worked on and they should eventually be fixed.

TDK_Man

Ed222
18
Years of Service
User Offline
Joined: 3rd Nov 2007
Location: Calgary
Posted: 8th Feb 2008 16:44 Edited at: 8th Feb 2008 16:52
Quote: "What? Didn't you use a 'proper' Windows IDE for DB Classic?? "
no because it never supported context senstive help
Quote: "True, but what 'bugs and glitches' did you find in DBC?"
dbc is more stable but theres still a few bug glitches in there probraly one of them is the final glitch where the music won't play right but I guess I can't really complain because theres no final in dbp
Quote: "I don't like to see anyone wasting money and if you can't program in DBC properly then that's exactly what buying DBP is.

In my opinion, the only good reason for upgrading to DBP is when you have become an expert programmer with DBC and have reached the limits of it's capabilities.
"
well you don't have to be an expert to buy dbp it just some people like dbp more than dbc...people like newer stuff e.g. super nintendo vs gamecube or wii you'll find a lot more people like the wii or gamecube because it's newer faster it has more feature and not to metion saving the one fatal mistake that super nintendo never had...
Quote: "as if it will magically make them better programmers.
"
I never said that it would make me magically better programmers I just like it because its better than dbc

Windows Is better than everything
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 8th Feb 2008 19:32
Quote: "if you can't program in DBC"


Just to point out that by 'you' I didn't mean you personally - it was as a 'general' you, meaning anyone...

Quote: "the final glitch where the music won't play right"


Has that been fixed in DBP I wonder? Some bugs were carried over into DBP, though some are new. Most have now been fixed.

Quote: "well you don't have to be an expert to buy dbp"


I agree. That wasn't the point I was trying to make.

All I was trying to say was that if someone owns DB Classic then they might as well learn how to use it properly before paying more money to upgrade to DBPro. It's a good learning process as DBP is 99.9% backwardly compatible anyway.

I'm not having a go at you - you are free to buy whatever you want with your own money. It's just that I'm curious.

There are new DBC users who have upgraded to DBP who hadn't had DBC long enough to have written a fully working substantial program with it. Many couldn't use the commands in DBC properly.

It's almost as though they thought DBP would somehow make it easier. Instead, they are now in the position that they still don't know how to do the basic stuff and haven't got a clue with the advanced stuff.

At least they can say that their programs stop working a lot faster!

I don't suggest that anyone shouldn't switch from DBC to DBP, just that they do it for the right reasons - for example, when DBC isn't capable of doing what you need to do.

Anyway, the best of luck with your programming in DBP!

TDK_Man

Stig Design Stig Magne
20
Years of Service
User Offline
Joined: 23rd Mar 2006
Location: Norway
Posted: 15th Mar 2008 07:42
What i hate about the DBP is
-it must Make a .exe file before you can test it. DBC Dossent
-DBC is Mutch Funnier to youse with the Integrated interface.

Stig Design (Free Games,Sources,Textures,Photo`s)
Lisence Free at http://dashboard.filefront.com/StigDesign/

Login to post a reply

Server time is: 2026-07-06 04:31:34
Your offset time is: 2026-07-06 04:31:34