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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux