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

-Migrating Sol's Tutorial of SDL to SDL_Perl +Developer Release of SDL 2.3_1

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

+The city of Rome was built,
+with the first brick.
+


-

-

-

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

Alpha Release of new API

After a considerable amount of hacking and rewriting we have release the first development release of SDL perl on CPAN.

-Extract it and cd into the folder run
-
$ cpan . 
** The dot is needed
-** in Linux you may need to do sudo
+

Overview of 2.3_1

In this version our goal was to tackle the proper allocations and destruction of SDL resources. We have accomplished this for all SDL Core structures. Moreover we have also improved the test suite and documentation considerably. Please read the CHANGELOG for a more detailed look.

-Then you can run this script by doing

-
$ perl examples/sols/ch02.pl 
-


-

\ No newline at end of file +

Next steps


+--yapgh
+


+

\ No newline at end of file