How to play an mp3 file from a database

2011-11-28 Thread Alexander Becker
Dear all! I just tried the example code of the SDL Manual where you play some music. By the SDL manual, I refer to the one that is hidden at the bottom of the sdl.perl.org page, so that you really have to search for it in order to find it - and even then you have to get along with an ugly github i

AW: How to play an mp3 file from a database

2011-11-30 Thread Alexander Becker
;password'; my $dbh = DBI->connect($dsn, $username, $password) or die('Cannot connect to DB: ' . DBI->errstr()); my $sth = $dbh->prepare( $stmt ); $sth->execute( @bind ); my ($buffer) = $sth->fetchrow_array(); return $buffer; } # /get_audio_

AW: How to play an mp3 file from a database

2011-12-01 Thread Alexander Becker
ersion->minor, $version->patch); # prints "1.2.11" for me [/code] -Ursprüngliche Nachricht- Von: Tobias Leich [mailto:em...@froggs.de] Gesendet: Mittwoch, 30. November 2011 13:18 An: Alexander Becker Cc: 'breno'; sdl-devel@perl.org Betreff: Re: How to play an mp3 f

AW: How to play an mp3 file from a database

2011-12-03 Thread Alexander Becker
535_01' C:\zwischen\cpan\PerlGameDev-SDL-44c341f> [/snip] Will this be in an official release of SDL? Because this would be a really nice feature, that could be advertised, e.g. via blogs entries etc.. I could write a german one. Best regards & thanks a lot, Alex Von: To

odd behavior when resizing a window

2012-01-06 Thread Alexander Becker
Dear all! I'm working on a Windows machine with Win 7 x64 and strawberry perl 5.12.2. I wrote a script to change the current app's screen resolution (see below). When the resolution is changed via the resize command from SDLx::App, then I cannot close the window by the tiny red cross in the uppe

Re: Revamping SDL_Manual

2012-01-09 Thread Alexander Becker
Hi Kartik, I recently started working with the SDL Manual, but I don't have a game in mind. Regardless of that, I find it very useful to see the things you can do with SDL demonstrated with games. What I'm missing so far, and what is part of every game, too, is UI stuff. How do buttons work wit

Problem viewing bug list via CPAN RT

2012-04-30 Thread Alexander Becker
Hi there! If you go to this page on CPAN: http://search.cpan.org/~froggs/Alien-SDL-1.430/, you cannot access the "View/Report Bugs" link. The target (http://search.cpan.org/~froggs/Alien-SDL-1.430/) returns an error (cannot connect to server). This should probably redirect to the github page, sh

Writing Games with SDL Perl

2014-06-09 Thread Alexander Becker
Hi all!   I just wondered why the article "Writing Games with SDL Perl" isn't part of the SDLPerl website. There is a web site called sdl.perl.org and his has a lot of (outdated) stuff on SDL and Perl. But when it comes to content interesting for beginners, all we get is a link to a repo on g