[SDL] Logo contest
michael at sal.nb.surfnetcity.com.au
Thu Sep 17 17:28:05 PDT 1998
On Thu, Sep 17, 1998 at 09:08:48AM -0700, Sam Lantinga wrote:
> > I think I used all of my creative thinking up on my upcoming SDLtet...
> > (Which, I might add, I'm writing with vim in one window, and the SDL docs in
> > another ;)
> Cool. :) When can we see it?
Well, I'm still trying to get a program that will write a BMP file under
Linux, so I can test my code so-far. Currently, it draws a playing field,
loads up a couple of buttons (eg. Quit and New Game), the quit button was
working, but that was before it was actually something apart from a blank
screen. (Yes, I know SDL can write a BMP, but I'm not going to write a paint
Also, I didn't see any sample code for moving objects... I want to move a
block (eg. not animate, as that would kill the tetris semantics) down, but does
that mean that I have to blank out where it used to be, draw where it will be
and then do a SDL_UpdateRects(), or am I missing something?
I'm still trying to get the hang of how graphics APIs work in general, and the
SDL docs are great, if you want to draw an individual pixel or a BMP at the
place where the mouse clicks or something silly like that, but it doesn't
explain things well enough that you can actually understand what each function
is doing. (or explain what a "blit" is, for that matter)
</Constructive> (I've gotta go to work soon, so no more constructiveness today)
BTW, in the design, my program will be the first Tetris clone (that I've heard
of) with themes support...
-- Michael Samuel <michael at surfnetcity.com.au>
More information about the SDL