X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2Fblog-0014.html-inc;h=2bd84fc7f40913acd9708e68ac8f58773c028455;hb=1d5d4d44a3acf89f7820195b5016f4ebc4489250;hp=84a740ff4f425ede40b97567d59b2b37c0970fbf;hpb=c59d9ab1a32a69fcdb54ab78e21e31ee26d88e7a;p=sdlgit%2FSDL-Site.git diff --git a/pages/blog-0014.html-inc b/pages/blog-0014.html-inc index 84a740f..2bd84fc 100644 --- a/pages/blog-0014.html-inc +++ b/pages/blog-0014.html-inc @@ -1,35 +1,40 @@

-Migrating Sol's Tutorial of SDL to SDL_Perl +Getting people to use SDL Perl: Docs, API, and Distribution

-
If I have seen further it is only by standing on the shoulders of giants. --Newton
-

-

-

-

Sol's Tutorials


-

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


-

Getting SDL Dependencies


-Only If you are on Linux (debian/ubuntu) you need the following dependencies:
+

The road so far


+Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. Alien::SDL 1.405 is behaving well. This foundational stability will start to show results in SDL too I believe. Most excitingly the main developer of frozen-bubble is reviewing our Games::FrozenBubble port to CPAN. All good and well, but to keep this project going we need to improve.

-
$ 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 

-On Windows we recommend using Strawberry Perl. It comes with SDL-1.2.13 header files and libs included.
+

Getting people to use SDL Perl


+After a long chat with a new SDL user on #sdl today, I realize we still have some way to go. Currently it seems we are lacking in a few areas. We can definitely use some feedback and help in these areas.

-Both Windows and Linux needs to install Alien::SDL
-
-
$ cpan Alien::SDL
** Add sudo to this for Linux
-
-

Getting Bleeding SDL


-The bleeding SDL is on github. Click download on this site .
-
-Extract it and cd into the folder run
-
$ cpan . 
** The dot is needed
-** in Linux you may need to do sudo
-
-Then you can run this script by doing
-
-
$ perl examples/sols/ch02.pl 
-


-

\ No newline at end of file +
If anyone wants to help in these areas please talk to us on sdl-devel@perl.org. 
+


+

\ No newline at end of file