Random sdl thoughts - splash screen

I was pondering the other day, like i do most days, when i pondered on the
though of a splash screen thingy for SDL, most os’s support a splash screen of
somekind when it loads ( you know what i mean the graphic that comes up saying
what the program is and that you didnt pay for it yet ) and was wondering if
this would be a viable component of SDL, not sure… probaly a silly idea and
beyond the scope of sdl and more down to the program creator to make os
specific bits? dunno. i’ll shut up now.

I was pondering the other day, like i do most days, when i pondered on the
though of a splash screen thingy for SDL, most os’s support a splash screen of
somekind when it loads ( you know what i mean the graphic that comes up saying
what the program is and that you didnt pay for it yet ) and was wondering if
this would be a viable component of SDL, not sure… probaly a silly idea and
beyond the scope of sdl and more down to the program creator to make os
specific bits? dunno. i’ll shut up now.

You can easily make your own splash screen using SDL. SDL is low-level,
it’s meant to facilitate access to what you need to do make your own
things like splash screens, not provide them for you.

Plus, in my opinion, you should be working on making your games and apps
load faster so there isn’t any time for a splash screen to display. :pOn Sun, 2007-07-08 at 14:59 +0100, neil at cloudsprinter.com wrote:


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Sean Middleditch <@Sean_Middleditch>

“Plus, in my opinion, you should be working on making your games and apps
load faster so there isn’t any time for a splash screen to display. :p”

If you have ever played a game made in game maker, you would know why I
would want to avoid adding a splash screen.

Quoting Adam Stevenson :

“Plus, in my opinion, you should be working on making your games and apps
load faster so there isn’t any time for a splash screen to display. :p”

If you have ever played a game made in game maker, you would know why I
would want to avoid adding a splash screen.

yea ok maybee i should stay off the sauce… even tho i havnt had any (yet) but
still, dunno how id make an sdl splash screen, dont all sdl windows have
furniture?

like i say… random…

oh i said i’d shut up as well, :wink:

but…

no… ok i’ll shut up.

yea ok maybee i should stay off the sauce… even tho i havnt had any (yet) but
still, dunno how id make an sdl splash screen, dont all sdl windows have
furniture?

For UT2004, I did this:

SDL_SetVideoMode(w, h, 0, SDL_NOFRAME);

Then blit a splash screen graphic to it, that was loaded with SDL_LoadBMP().

Extra credit if you can pump the SDL event queue occasionally during
your loading (so the splash will redraw if someone drags another window
over it).

It’s really that simple.

–ryan.

1 Like