X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2Fblog-0004.html-inc;h=317d824280cf826a66265ec0842be5fb27b9d59c;hb=e785862422f3e827a242fc244bd57b23443887ce;hp=bc1ede2a2121a8f61406c42ed94777a82e4b5b94;hpb=d502f71f4cb7e6073e2629cdba69f20e7001b721;p=sdlgit%2FSDL-Site.git diff --git a/pages/blog-0004.html-inc b/pages/blog-0004.html-inc index bc1ede2..317d824 100644 --- a/pages/blog-0004.html-inc +++ b/pages/blog-0004.html-inc @@ -1,6 +1,78 @@

-Migrating Sol's Tutorial of SDL to SDL_Perl +Grant Progess Reports 1-3: Sept - Nov

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

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

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 +As you know I have received a TPF grant to write a SDL Perl Manual.
+
+

+http://news.perlfoundation.org/2010/08/2010q3-grant-proposal-manual-f.html
+
+http://news.perlfoundation.org/2010/08/accepted-grants-for-2010q3.html
+
+I have been a bit busy with that and not been able to update my blog. Anyway here are some of the back dated Grant Updates. These updates where also posted on http://news.perlfoundation.org/
+
+
+
+
+
REPORT 1: Sept 2010

+Progress: 2.75 chapters / 11 chapters = approx 25%
+Kartik's work can be followed at:
+
+
+
REPORT 2: October 2010

+
Since last time:
+Chapters:
+Extra:
+Coments:
+Our work can be seen at:
+

+
REPORT 3: November 2010

+This is the progress so far:
+
+- SDL 2.523 Releases:
+        - Adds stability and better memory management for the game loop
+
+- 2 chapters have been completed
+        - Pong Chapter (Contributed by garu)
+        - Additional Modules
+- 1 extra chapter has been added
+        - Puzz(le) Chapter (Contributed by Blaizer)
+
+- 2 Chapters are in the Works
+        - Tetris Code has been mostly done (contributed by FROGGS)
+                - Needs to be fixed
+                - Needs write up
+        - Sound and Music Effects code is done
+                - Needs to be fixed
+                - Needs write up
+
+Our work can be seen at:
http://sdlperl.ath.cx/releases/SDL_Manual.pdf
http://sdlperl.ath.cx/releases/SDL_Manual.html
http://github.com/PerlGameDev/SDL_Manual

+Regards,
+YAPGH
+


+

\ No newline at end of file