X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2Fblog-0023.html-inc;h=ab2aa111a72fbea192ce8bcf232e511d6569aa57;hb=a05e5d4499fb58198e463162d0385e8a156e1f03;hp=84a740ff4f425ede40b97567d59b2b37c0970fbf;hpb=6b580206fb43261fb235c1071cee5fea29fdac79;p=sdlgit%2FSDL-Site.git diff --git a/pages/blog-0023.html-inc b/pages/blog-0023.html-inc index 84a740f..ab2aa11 100644 --- a/pages/blog-0023.html-inc +++ b/pages/blog-0023.html-inc @@ -1,35 +1,17 @@
When I was struggling with SDL C a while ago, someone recommended Sol's Tutorial to me. It had not only help me understand video in SDL, but I believe my code has improved using Sol's code style. I would like to pass these along to fellow SDL_Perl users too. So here is the Ch 02 code of Sol's Tutorial in SDL_Perl. It will be getting more and more Perly as our team hacks on it. There is more to come!
-
To use this code you need the new Redesigned SDL_Perl Library
$ sudo apt-get install libsdl-net1.2-dev libsdl-mixer1.2-dev libsmpeg-dev libsdl1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev
$ cpan Alien::SDL** Add sudo to this for Linux
$ cpan .** The dot is needed
$ perl examples/sols/ch02.pl-
In an effort to learn from past versions of SDL Perl and improve. We have been writing lots of documentation for our users. Of course since this is the first time we have been providing documentation we need your help. Please review our docs, at sdl.perl.org and give us some feed back. Send us the feeback at sdl-devel@mail.org or join us at #sdl irc.perl.org