X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2Fblog-0021.html-inc;h=84a740ff4f425ede40b97567d59b2b37c0970fbf;hb=c8ad4fe9f211e727310a1ce6d23ffb1d7822d71f;hp=e9ae7e4d415ac10318836c8eb98d66c6fb8789eb;hpb=ca0a3441dd72000cbbbb4be484b18d0d305fdb29;p=sdlgit%2FSDL-Site.git diff --git a/pages/blog-0021.html-inc b/pages/blog-0021.html-inc index e9ae7e4..84a740f 100644 --- a/pages/blog-0021.html-inc +++ b/pages/blog-0021.html-inc @@ -1,29 +1,35 @@

-Development Update +Migrating Sol's Tutorial of SDL to SDL_Perl

-

-A stoic stone will sit idle,
-but will some effort,
-A rolling rock will run!
-

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

-In the past week the SDL Perl team has been busy! This is what we have accomplished
-
-
-

Commitment to Testing!

In an effort to focus on continuing our focus on testing we have setup a Smolder site for the SDL redesign process. Currently we have two platforms (linux, windows32) regularly tested on here. If there are more people following the redesign process and would like to share their test results; contact us at sdl-devel@perl.org and we will provide access to you.
-
-

SDL::Video

For the core development most of the focus has been on redesigning around the Video category of the SDL perl API. As of now we are 50% done. 19 functions out of 38 functions have been implemented and tested.
+

+

+

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:

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

-

Site Redesign + Migration

On the end of the spectrum, Froggs has been hard at work on the graphical design of the site. More over with mst's help we will soon be migrating to http://sdl.perl.org.
+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 .

-

Documentation

Moreover this week we have seen an increase effort from magnet on the SDL docs. Kudos!
+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

-

SWIG Experimentation

Finally Katrina has begun looking into SWIG as alternative for SDL in the future. -


-

\ No newline at end of file +
$ perl examples/sols/ch02.pl 
+


+

\ No newline at end of file