Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Alternatives to SDL

by zentara (Archbishop)
on Feb 06, 2007 at 21:06 UTC ( #598638=note: print w/replies, xml ) Need Help??

in reply to Alternatives to SDL

I think you asked this before, and I mentioned Tk or Tk::Zinc will do the job. Another possibilty now is the Gtk2::DrawingArea, which is more similar to SDL than a canvas. The Gtk2::DrawingArea can use Pango and Cairo to make exotic looking drawings. You need to use a little hack with a DrawingArea however, to maintain persistence of image, but you can glean that technique from the various demos. See Drawing with Perl/Gtk2 If you go with Gtk2, you can then incorporate Gtk2::Streamer (which is the general purpose high-quality actively developed multi-purpose player for Gtk2). However, I found that SDL::Audio was easier to understand than Gtk2::Streamer.

P.S. The newest promise on the horizon is Papyrus but there is no Perl port yet.

I'm not really a human, but I play one on earth. Cogito ergo sum a bum

Replies are listed 'Best First'.
Re^2: Alternatives to SDL
by shotgunefx (Parson) on Feb 06, 2007 at 21:19 UTC
    Thanks for the pointer. I don't think I asked quite the same question (maybe wrong though), but I don't recall feeling that the situation was completely hopeless until the last few days. I considered TK briefly (I haven't played with it in some time), but I didn't think I could get the control I want, but maybe I didn't look hard enough.

    I'll check out Gtk2, hopefully I'll have better luck. Otherwise, think I'll have to brush up on my C and give QT a try.

    "To be civilized is to deny one's nature."

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://598638]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2022-01-24 18:14 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (64 votes). Check out past polls.