Re: how to start with simple SDL programming?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 16, 2009 at 5:27 AM, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
>  having never done any SDL programming before (so be gentle), what
> would i need to do to get started in terms of loading framebuffer
> support for my first program?

SDL is pretty easy stuff, really. Someone with relatively little
programming experience can get basic blitting and sound to work with
just a few lines of code, mostly copy/pasted from examples.

I got started years ago with the book Programming Linux Games by John
R. Hall. This book was easy to follow with clear, incremental
examples. Later I picked up Focus On SDL by Earnest Pazera at the fire
sale when CompUSA closed shop. I'm not sure that I ever got around to
reading it.

But I don't even think you need to buy a book. Online tutorials and
code examples abound. Just google "sdl programming tutorial" and dive
in.

If what you mean by "loading frambuffer support" is actually using
hardware acceleration then that's a bit more complicated. I
half-heartedly attempted to use hardware a few years ago with no
success on my machine. But I've written several windowed and
full-screen programs that didn't suffer noticeably from the lack of
hardware acceleration.

-Alan

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux