X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2Fblog-0001.html-inc;h=bc1ede2a2121a8f61406c42ed94777a82e4b5b94;hb=769d193e7a4b5eeebd1f248a084ae4f2495df071;hp=fb146c1a6145221d3352f5a6cfd230b9d1fdad94;hpb=332a7f00734b974330639d5fd4bf491c9e5a376a;p=sdlgit%2FSDL-Site.git diff --git a/pages/blog-0001.html-inc b/pages/blog-0001.html-inc index fb146c1..bc1ede2 100644 --- a/pages/blog-0001.html-inc +++ b/pages/blog-0001.html-inc @@ -3,4 +3,4 @@ Migrating Sol's Tutorial of SDL to SDL_Perl
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
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\ No newline at end of file