Added new article
Kartik Thakore [Sat, 31 Jul 2010 20:16:46 +0000 (20:16 +0000)]
50 files changed:
pages/blog-0000.html-inc
pages/blog-0001.html-inc
pages/blog-0002.html-inc
pages/blog-0003.html-inc
pages/blog-0004.html-inc
pages/blog-0005.html-inc
pages/blog-0006.html-inc
pages/blog-0007.html-inc
pages/blog-0008.html-inc
pages/blog-0009.html-inc
pages/blog-0010.html-inc
pages/blog-0011.html-inc
pages/blog-0012.html-inc
pages/blog-0013.html-inc
pages/blog-0014.html-inc
pages/blog-0015.html-inc
pages/blog-0016.html-inc
pages/blog-0017.html-inc
pages/blog-0018.html-inc
pages/blog-0019.html-inc
pages/blog-0020.html-inc
pages/blog-0021.html-inc
pages/blog-0022.html-inc
pages/blog-0023.html-inc
pages/blog-0024.html-inc
pages/blog-0025.html-inc
pages/tags-API.html-inc
pages/tags-Building.html-inc
pages/tags-Design.html-inc
pages/tags-Docs.html-inc
pages/tags-Example.html-inc
pages/tags-EyeCandy.html-inc
pages/tags-Frozen-Bubble.html-inc
pages/tags-GSOC.html-inc
pages/tags-Game.html-inc
pages/tags-PDL.html-inc
pages/tags-Pack.html-inc
pages/tags-Packaging.html-inc
pages/tags-Perl.html-inc
pages/tags-Releases.html-inc
pages/tags-SDL-Perl-EyeCandy.html-inc
pages/tags-SDL-Perl.html-inc
pages/tags-SDL.html-inc
pages/tags-Showcase.html-inc
pages/tags-Sneak-Preview.html-inc
pages/tags-Surface.html-inc
pages/tags-TPM.html-inc
pages/tags-Updates.html-inc
pages/tags-XS.html-inc
pages/tags-index

index 8d9a9ee..409866d 100644 (file)
@@ -1,2 +1,2 @@
 <div class="blog"><h1>Articles</h1>
-<div><a href="blog-0001.html">The Build Process of SDL Perl</a><br /><span style="font-size: 10px">Wednesday, 07 July 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Building.html" style="font-size: 10px">[Building]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> A while ago I had a long chat with mst on why SDL uses Module::Build rather then Make. I told him it is a simple matter of code inertia.  The existing Module::Build system has worked well for us so far. Never the less, he convinced me that switching to Make will improve debugging the Build system. But to be able to switch we will need to completely replace the Build system. I am not prepared to do that so I will just present the requirements so mst or someone else can at least attempt to switch. <br /> The Build Process  <br />  Alien::SDL  <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0002.html">SDL RC 2.5 decides to play with PDL</a><br /><span style="font-size: 10px">Tuesday, 29 June 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-PDL.html" style="font-size: 10px">[PDL]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.<br />You can use PDL and SDL together to create real-time,<br />responsive animations and simulations.<br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0003.html">Providing direct memory access to SDL_Surface's pixels</a><br /><span style="font-size: 10px">Wednesday, 23 June 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Pack.html" style="font-size: 10px">[Pack]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Surface.html" style="font-size: 10px">[Surface]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a><br /> In an attempt to make pixel access easier on SDL_Surface pixels. I have started work on  SDLx::Surface . So far I have only start on the 32 bpp surfaces. <br /> The general idea is to make Pointer Values (PV) of each pixel in the surface and place them into a 2D matrix. First I make pointer values like this:  <br /> SV  *  get_pixel32  ( SDL_Surface  * surface ,   int  x ,   int  y ) <br /><a href="blog-0003.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0004.html">SDLpp.pl: Packaging SDL Scripts Alpha</a><br /><span style="font-size: 10px">Friday, 14 May 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Packaging.html" style="font-size: 10px">[Packaging]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />After a lot of patches and head scratching I have an alpha version of  SDLpp.pl . The purpose of SDLpp.pl is to allow SDL perl developers to package their game for end users. <br />Here is the  shooter.pl  packaged up:<br />  <br /><a href="blog-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0005.html">Getting people to use SDL Perl: Docs, API, and Distribution</a><br /><span style="font-size: 10px">Friday, 07 May 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-API.html" style="font-size: 10px">[API]</a> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />  The road so far  <br />Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. <a href="http://matrix.cpantesters.org/?dist=Alien-SDL+1.403">Alien::SDL 1.405  is behaving well. This foundational stability will start to show results in <a href="http://matrix.cpantesters.org/?dist=SDL+2.405">SDL  too I believe. Most excitingly the main developer of frozen-bubble is reviewing our <a href="http://search.cpan.org/~kthakore/Games-FrozenBubble-2.202/lib/Games/FrozenBubble.pm">Games::FrozenBubble  port to CPAN. All good and well, but to keep this project going we need to improve.<br />  Getting people to use SDL Perl  <br />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. <br />  Tutorials/Documentation<br /> <br />  We have more docs now on http://sdl.perl.org but they suck <br /> What type of tutorials do you think will be good for beginners? <br />  A project start to finish? <br /> Individual tutorials for various topics? <br /> What needs to go in SDL::CookBook? <br />  <br /> API sweetness <br />  SDL Perl depends on distinct C libraries <br />  This makes naming conventions, data formats different the SDL:: namespaces <br /> How do people design this stuff? <br />  We are hackers and we just go do stuff but I think this needs some prior thought <br /> Any takers? <br />   <br /> Distribution <br />  If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus <br />  One way is a Wx::Perl::Packer clone <br /> Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games?&nbsp; <br />    If anyone wants to help in these areas please talk to us on sdl-devel@perl.org.&nbsp;    <br /> <a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/EXlozhjfhdo" height="1" width="1"/><br /><a href="blog-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0006.html">Games::FrozenBubble: It is a start!</a><br /><span style="font-size: 10px">Monday, 12 April 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />We released a playable (client) frozen bubble on  CPAN . There is more work to be done but it is a great start! It currently works on Windows and Linux.<br />        <br /> <a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/gHnHwFtAvFE" height="1" width="1"/><br /><a href="blog-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.html">Release SDL 2.4: Frozen-Bubble begins to go to CPAN</a><br /><span style="font-size: 10px">Tuesday, 06 April 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> <br />SDL 2.4 is released! <br />After 8 months of work this picture begins to sum it up:<br /><a href="blog-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0008.html">A summer of possibilities (SDL_perl and GSOC 2010 )</a><br /><span style="font-size: 10px">Tuesday, 30 March 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-GSOC.html" style="font-size: 10px">[GSOC]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> GSOC 2010  <br /> As many of the readers must know The Perl Foundation has been accepted for the GSOC 2010 program. There are several SDL_perl mentors involved in it too. Right now we are accepting student applications.  <br /> Process to Apply <br /><a href="blog-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0009.html">SDL Perl Showcase</a><br /><span style="font-size: 10px">Friday, 12 March 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-EyeCandy.html" style="font-size: 10px">[EyeCandy]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL-Perl.html" style="font-size: 10px">[SDL Perl]</a> <a href="tags-Showcase.html" style="font-size: 10px">[Showcase]</a><br /> <br />SDL_Mixer and Effects <br />     <br /><a href="blog-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0010.html">Eye Candy</a><br /><span style="font-size: 10px">Wednesday, 24 February 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-SDL-Perl-EyeCandy.html" style="font-size: 10px">[SDL Perl EyeCandy]</a><br /> <br /> clang  <br />With each imperfect hit <br /><a href="blog-0010.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0011.html">New build system! Needs testing!</a><br /><span style="font-size: 10px">Thursday, 18 February 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Building.html" style="font-size: 10px">[Building]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />  <br />  <br />  <br /><a href="blog-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0012.html">Quick Game for Toronto Perl Mongers</a><br /><span style="font-size: 10px">Thursday, 11 February 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Game.html" style="font-size: 10px">[Game]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-TPM.html" style="font-size: 10px">[TPM]</a><br /> <br /> Beep ... Boop<br />  <br /><a href="blog-0012.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0013.html">SDL_perl 2.3_5 is out!</a><br /><span style="font-size: 10px">Monday, 01 February 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />  We keep on rolling,<br />rolling,<br />waiting on the world to turn. <br /><a href="blog-0013.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.html">Threaded XS callback finally gets solved.</a><br /><span style="font-size: 10px">Wednesday, 06 January 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a><br />  <br />Dragged down from the lofty isles,<br />into the guts and gore of the monster,<br /><a href="blog-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.html">SDL Alpha 2: A sneak preview</a><br /><span style="font-size: 10px">Sunday, 06 December 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />  Pretty or Ugly, <br />   Code is Code <br />   New or Old, <br /><a href="blog-0015.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.html">Developer Release of SDL 2.3_1</a><br /><span style="font-size: 10px">Monday, 30 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />  <br />The city of Rome was built,<br />with the first brick.<br /><a href="blog-0016.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.html">SDL Perl Documentation: Reviewers need</a><br /><span style="font-size: 10px">Thursday, 26 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />  <br />The written word, <br />survives; <br /><a href="blog-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.html">Migrating Sol's Tutorial of SDL to SDL_Perl</a><br /><span style="font-size: 10px">Sunday, 15 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />  If I have seen further it is only by standing on the shoulders of giants. --Newton <br /> <br />    <br /><a href="blog-0018.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.html">Once in a while .... (set_event_filter)</a><br /><span style="font-size: 10px">Friday, 13 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a><br />   <br />Once in a while <br />Things just work! <br /><a href="blog-0019.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.html">Hello Mouse? An Example of the New Event Code</a><br /><span style="font-size: 10px">Wednesday, 11 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Sneak-Preview.html" style="font-size: 10px">[Sneak Preview]</a><br />  Any code that is not marketed is dead code <br />--mst <br /> <br /><a href="blog-0020.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.html">Development Update</a><br /><span style="font-size: 10px">Monday, 09 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a><br />  Short and Sweet <br /> <br />Had an exam on the weekend so I am a bit late. Here is the progress so far. <br /><a href="blog-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.html">Development Update</a><br /><span style="font-size: 10px">Monday, 02 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a><br />  <br />A stoic stone will sit idle, <br />but will some effort,<br /><a href="blog-0022.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.html">The Future and Beyond!</a><br /><span style="font-size: 10px">Saturday, 24 October 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a><br />  I do not think about awesomeness...<br />I just am awesomeness<br />n.n<br /><a href="blog-0023.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.html">The beginnings of modular design for SDL Perl</a><br /><span style="font-size: 10px">Sunday, 11 October 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a><br />  “Do or do not... there is no try.” <br />   --yoda  <br />  The design before <br /><a href="blog-0024.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.html">Why and How Frozen Bubble is going to CPAN</a><br /><span style="font-size: 10px">Friday, 02 October 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />  A single drop, <br />   causes the ocean to swell <br />  <br /><a href="blog-0025.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /></div>
+<div><a href="blog-0001.html">Perl+SDL 3D Rendering</a><br /><span style="font-size: 10px">Saturday, 31 July 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Showcase.html" style="font-size: 10px">[Showcase]</a><br /> Recently we have done a lot of work on the next release of SDL Perl. But it all pays off when I see users do cool things as one of the users has done below. Talon^++! This project is a great example for people wanting to learn 3D from scratch.  <br /> --yapgh <br /> This was a project to test how well Perl+SDL performs and does not use OpenGL at all. This is all perl and SDL, with the help of libsdl_gfx for SDL::GFX::Primitives. Texture mapping doesn't use SDL::GFX::Primitives because textured_polygon just takes a surface, tiles it, and clips out the polygon, which doesn't look 3D at all.<br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0002.html">SDL 2.503 Released!</a><br /><span style="font-size: 10px">Thursday, 22 July 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> SDL 2.503 has been released on to CPAN. The changes are mostly in the new features added to SDLx::* layer. However as our continuing attempt to improve cross platform support we have some low level fixes. <br /> Most interstingly we have begun work on SDLx::Sprite::Animated. Although, volatile, this addition will be highly anticipated. We look forward for more work on it soon. Additionally are the changes in SDLx::Surface. SDLx::Surface is an attempt to provide gfx, pixels, video and low level surface functions in a combined and simpler interface.  <br /> Since SDLx::Sprite and SDLx::App depends on SDLx::Surface, new features will be propagated and the magic amplified! These are exciting times for SDL in Perl. So come join us for great justice on #sdl  irc.perl.org  or  sdl-devel@perl.org .  <br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0003.html">Huge World Maps in less then 100 lines</a><br /><span style="font-size: 10px">Friday, 16 July 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Syntax.html" style="font-size: 10px">[Syntax]</a><br />     <br />Hello folks,<br />Recently we have been  working  on making the Perl&nbsp;syntax&nbsp;sugar for SDL in the form of SDLx. So far we have got the SDLx::Surface and SDLx::Sprite (garu++) done. So the first thing we did was throw together a quick Zelda map walker. As you can see above. &nbsp;The code is at&nbsp; http://gist.github.com/478440 . The SDL code that this depends on will be SDL 2.503 soonish . We are in the process of cleaning up some more SDLx and Alien::SDL bugs. After that SDLx::App will be overhauled to make this sort of thing even easier. Finally living up to our goal of &nbsp;'<span class="Apple-style-span" style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; font-size: 13px;">Simple Games Easy. Complex Games Possible.'&nbsp; <br /><span class="Apple-style-span" style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; font-size: 13px;">  UPDATE: with some help, and newcomer jtpalmer'<span style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif;">s help we have added Link    <br /><span class="Apple-style-span" style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; font-size: 13px;">  <span style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif;">&nbsp;     <br />       <br />--caio&nbsp;yapgh   <br /> <a href="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/0/da"><img src="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/1/da"><img src="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/ONip91qsKjQ" height="1" width="1"/><br /><a href="blog-0003.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0004.html">The Build Process of SDL Perl</a><br /><span style="font-size: 10px">Wednesday, 07 July 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Building.html" style="font-size: 10px">[Building]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> A while ago I had a long chat with mst on why SDL uses Module::Build rather then Make. I told him it is a simple matter of code inertia.  The existing Module::Build system has worked well for us so far. Never the less, he convinced me that switching to Make will improve debugging the Build system. But to be able to switch we will need to completely replace the Build system. I am not prepared to do that so I will just present the requirements so mst or someone else can at least attempt to switch. <br /> The Build Process  <br />  Alien::SDL  <br /><a href="blog-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0005.html">SDL RC 2.5 decides to play with PDL</a><br /><span style="font-size: 10px">Tuesday, 29 June 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-PDL.html" style="font-size: 10px">[PDL]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.<br />You can use PDL and SDL together to create real-time,<br />responsive animations and simulations.<br /><a href="blog-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0006.html">Providing direct memory access to SDL_Surface's pixels</a><br /><span style="font-size: 10px">Wednesday, 23 June 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Pack.html" style="font-size: 10px">[Pack]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Surface.html" style="font-size: 10px">[Surface]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a><br /> In an attempt to make pixel access easier on SDL_Surface pixels. I have started work on  SDLx::Surface . So far I have only start on the 32 bpp surfaces. <br /> The general idea is to make Pointer Values (PV) of each pixel in the surface and place them into a 2D matrix. First I make pointer values like this:  <br /> SV  *  get_pixel32  ( SDL_Surface  * surface ,   int  x ,   int  y ) <br /><a href="blog-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.html">SDLpp.pl: Packaging SDL Scripts Alpha</a><br /><span style="font-size: 10px">Friday, 14 May 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Packaging.html" style="font-size: 10px">[Packaging]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />After a lot of patches and head scratching I have an alpha version of  SDLpp.pl . The purpose of SDLpp.pl is to allow SDL perl developers to package their game for end users. <br />Here is the  shooter.pl  packaged up:<br />  <br /><a href="blog-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0008.html">Getting people to use SDL Perl: Docs, API, and Distribution</a><br /><span style="font-size: 10px">Friday, 07 May 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-API.html" style="font-size: 10px">[API]</a> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />  The road so far  <br />Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. <a href="http://matrix.cpantesters.org/?dist=Alien-SDL+1.403">Alien::SDL 1.405  is behaving well. This foundational stability will start to show results in <a href="http://matrix.cpantesters.org/?dist=SDL+2.405">SDL  too I believe. Most excitingly the main developer of frozen-bubble is reviewing our <a href="http://search.cpan.org/~kthakore/Games-FrozenBubble-2.202/lib/Games/FrozenBubble.pm">Games::FrozenBubble  port to CPAN. All good and well, but to keep this project going we need to improve.<br />  Getting people to use SDL Perl  <br />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. <br />  Tutorials/Documentation<br /> <br />  We have more docs now on http://sdl.perl.org but they suck <br /> What type of tutorials do you think will be good for beginners? <br />  A project start to finish? <br /> Individual tutorials for various topics? <br /> What needs to go in SDL::CookBook? <br />  <br /> API sweetness <br />  SDL Perl depends on distinct C libraries <br />  This makes naming conventions, data formats different the SDL:: namespaces <br /> How do people design this stuff? <br />  We are hackers and we just go do stuff but I think this needs some prior thought <br /> Any takers? <br />   <br /> Distribution <br />  If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus <br />  One way is a Wx::Perl::Packer clone <br /> Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games?&nbsp; <br />    If anyone wants to help in these areas please talk to us on sdl-devel@perl.org.&nbsp;    <br /> <a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/EXlozhjfhdo" height="1" width="1"/><br /><a href="blog-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0009.html">Games::FrozenBubble: It is a start!</a><br /><span style="font-size: 10px">Monday, 12 April 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />We released a playable (client) frozen bubble on  CPAN . There is more work to be done but it is a great start! It currently works on Windows and Linux.<br />        <br /> <a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/gHnHwFtAvFE" height="1" width="1"/><br /><a href="blog-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0010.html">Release SDL 2.4: Frozen-Bubble begins to go to CPAN</a><br /><span style="font-size: 10px">Tuesday, 06 April 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> <br />SDL 2.4 is released! <br />After 8 months of work this picture begins to sum it up:<br /><a href="blog-0010.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0011.html">A summer of possibilities (SDL_perl and GSOC 2010 )</a><br /><span style="font-size: 10px">Tuesday, 30 March 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-GSOC.html" style="font-size: 10px">[GSOC]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> GSOC 2010  <br /> As many of the readers must know The Perl Foundation has been accepted for the GSOC 2010 program. There are several SDL_perl mentors involved in it too. Right now we are accepting student applications.  <br /> Process to Apply <br /><a href="blog-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0012.html">SDL Perl Showcase</a><br /><span style="font-size: 10px">Friday, 12 March 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-EyeCandy.html" style="font-size: 10px">[EyeCandy]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL-Perl.html" style="font-size: 10px">[SDL Perl]</a> <a href="tags-Showcase.html" style="font-size: 10px">[Showcase]</a><br /> <br />SDL_Mixer and Effects <br />     <br /><a href="blog-0012.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0013.html">Eye Candy</a><br /><span style="font-size: 10px">Wednesday, 24 February 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-SDL-Perl-EyeCandy.html" style="font-size: 10px">[SDL Perl EyeCandy]</a><br /> <br /> clang  <br />With each imperfect hit <br /><a href="blog-0013.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.html">New build system! Needs testing!</a><br /><span style="font-size: 10px">Thursday, 18 February 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Building.html" style="font-size: 10px">[Building]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />  <br />  <br />  <br /><a href="blog-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.html">Quick Game for Toronto Perl Mongers</a><br /><span style="font-size: 10px">Thursday, 11 February 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Game.html" style="font-size: 10px">[Game]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-TPM.html" style="font-size: 10px">[TPM]</a><br /> <br /> Beep ... Boop<br />  <br /><a href="blog-0015.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.html">SDL_perl 2.3_5 is out!</a><br /><span style="font-size: 10px">Monday, 01 February 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />  We keep on rolling,<br />rolling,<br />waiting on the world to turn. <br /><a href="blog-0016.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.html">Threaded XS callback finally gets solved.</a><br /><span style="font-size: 10px">Wednesday, 06 January 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a><br />  <br />Dragged down from the lofty isles,<br />into the guts and gore of the monster,<br /><a href="blog-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.html">SDL Alpha 2: A sneak preview</a><br /><span style="font-size: 10px">Sunday, 06 December 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />  Pretty or Ugly, <br />   Code is Code <br />   New or Old, <br /><a href="blog-0018.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.html">Developer Release of SDL 2.3_1</a><br /><span style="font-size: 10px">Monday, 30 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />  <br />The city of Rome was built,<br />with the first brick.<br /><a href="blog-0019.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.html">SDL Perl Documentation: Reviewers need</a><br /><span style="font-size: 10px">Thursday, 26 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />  <br />The written word, <br />survives; <br /><a href="blog-0020.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.html">Migrating Sol's Tutorial of SDL to SDL_Perl</a><br /><span style="font-size: 10px">Sunday, 15 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />  If I have seen further it is only by standing on the shoulders of giants. --Newton <br /> <br />    <br /><a href="blog-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.html">Once in a while .... (set_event_filter)</a><br /><span style="font-size: 10px">Friday, 13 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a><br />   <br />Once in a while <br />Things just work! <br /><a href="blog-0022.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.html">Hello Mouse? An Example of the New Event Code</a><br /><span style="font-size: 10px">Wednesday, 11 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Sneak-Preview.html" style="font-size: 10px">[Sneak Preview]</a><br />  Any code that is not marketed is dead code <br />--mst <br /> <br /><a href="blog-0023.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.html">Development Update</a><br /><span style="font-size: 10px">Monday, 09 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a><br />  Short and Sweet <br /> <br />Had an exam on the weekend so I am a bit late. Here is the progress so far. <br /><a href="blog-0024.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.html">Development Update</a><br /><span style="font-size: 10px">Monday, 02 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a><br />  <br />A stoic stone will sit idle, <br />but will some effort,<br /><a href="blog-0025.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /></div>
index 4c366da..3debb31 100644 (file)
@@ -1,26 +1,39 @@
 <div class="blog">
 <h1 id="NAME">
-The Build Process of SDL Perl
+Perl+SDL 3D Rendering
 </h1>
 <div class="CONTENT">
-<p>A while ago I had a long chat with mst on why SDL uses Module::Build rather then Make. I told him it is a simple matter of code inertia.  The existing Module::Build system has worked well for us so far. Never the less, he convinced me that switching to Make will improve debugging the Build system. But to be able to switch we will need to completely replace the Build system. I am not prepared to do that so I will just present the requirements so mst or someone else can at least attempt to switch.</p><br />
+<i>Recently we have done a lot of work on the next release of SDL Perl. But it all pays off when I see users do cool things as one of the users has done below. Talon^++! This project is a great example for people wanting to learn 3D from scratch. </i><br />
 <br />
-<h3>The Build Process </h3><br />
-<b> Alien::SDL </b><br />
+<i>--yapgh</i><br />
 <br />
-<p>SDL Perl depends on a few C libraries for a complete install. This is handled by Alien::SDL. First we look for existing SDL libraries and dependencies by doing a <a href="http://github.com/kthakore/Alien_SDL/blob/master/inc/My/Utility.pm#L581">File::Find</a> for headers. If these headers are found we  present and option for the user to use those. We then store these locations in Alien::SDL->config options 'cflags', 'prefix' and 'libs'. If we do not have libraries available even for a minimum SDL installed ( SDL.h is not found). We provide several platform specific options. </p><br />
-<p>For windows we have a simpler process. We download<a href="http://github.com/kthakore/Alien_SDL/blob/master/inc/My/Utility.pm#L7"> prebuilt </a>binaries ( and checksum ) based on the user's selection and just copy them in to the right location. Again the 'prefix', 'cflags', and 'libs' is saved in Alien::SDL->config. </p><br />
-<p>For *nix/MacOSX we download sources and attempt to compile them. To be able to do this we download several other dependencies like libpng, jpeg and pango. You can see how we do this using hashes <a href="http://github.com/kthakore/Alien_SDL/blob/master/inc/My/Utility.pm#L404">here</a>. During the compile process we also apply patches as needed for the <a href="http://github.com/kthakore/Alien_SDL/blob/master/inc/My/Utility.pm#L430">sources</a>. Once this is done we can head to SDL Build.PL </p><br />
-<b> SDL Perl dependency resolution </b><br />
+<hr />This was a project to test how well Perl+SDL performs and does not use OpenGL at all. This is all perl and SDL, with the help of libsdl_gfx for SDL::GFX::Primitives. Texture mapping doesn't use SDL::GFX::Primitives because textured_polygon just takes a surface, tiles it, and clips out the polygon, which doesn't look 3D at all.<br />
 <br />
-SDL's Build is responsible for linking the right libraries to the correct XS. If libraries are missing it will disable the component (not put it in SDL->config). <br />
+Below are some screen shots of this little toy in action. If you'd like to try it yourself, you can download the entire project <a href="http://sdlperl.ath.cx/releases/texmap.tgz">here</a>. You can rotate the objects with the mouse, or keyboard arrows. Also press shift to toggle shading and space to switch objects.<br />
 <br />
-<p>For example to build <a href="http://github.com/kthakore/SDL_perl/blob/master/Build.PL#L342">Image.xs</a> we require libsdl, libsdl_image and lib[jpg|png|tiff]. So we would check for these headers in the prefix provided by Alien::SDL->config. If they are not provided we will disable the SDL::Image module. </p><br />
-<p>More over the availability of each library is specified as a -DMACRO to the gcc compiler. This way we can prevent XS failures due to missing libraries using #DEFINES. Here the SDL_image macro is <a href="http://github.com/kthakore/SDL_perl/blob/master/Build.PL#L422">defined</a> and <a href="http://github.com/kthakore/SDL_perl/blob/master/src/Image.xs#L13">used</a>. The availability of the module is then available from <a href="http://github.com/kthakore/SDL_perl/blob/master/t/image.t#L20">SDL::Config->has()</a> <br />
+NOTE: the project is compressed in the .tgz format, if you are a windows user, you may need<br />
+a tool like 7zip to extract the contents.<br />
 <br />
+<hr /><div>Standard Cube:<br />
+<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/_NnqjAQEn1Xo/TFSAt5QUmgI/AAAAAAAAALQ/Yf9XBOYhA7w/s1600/cube.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_NnqjAQEn1Xo/TFSAt5QUmgI/AAAAAAAAALQ/Yf9XBOYhA7w/s320/cube.png" /></a></div><br />
+</div><hr /><div>Standard Cube with Pseudo Shading:<br />
 <br />
-<b> Conclusion </b> <br />
-<p>This is a high level overview of our Build process, because frankly I hate traumatizing my brain with this again. Credits have to go to FROGGS and kmx for helping with this Build scheme. Hopefully my post have helped people at the very least appreciate the problem scope of this Build system. That said I believe a fresh written build system, with these requirements in mind, will be more then welcome.<br />
-</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4514794130108689562?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/SHI8waMCUMOT4LmhUSkV3-Y1cK8/0/da"><img src="http://feedads.g.doubleclick.net/~a/SHI8waMCUMOT4LmhUSkV3-Y1cK8/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/SHI8waMCUMOT4LmhUSkV3-Y1cK8/1/da"><img src="http://feedads.g.doubleclick.net/~a/SHI8waMCUMOT4LmhUSkV3-Y1cK8/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/fTwVmM222rA" height="1" width="1"/></div></div>
\ No newline at end of file
+<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/_NnqjAQEn1Xo/TFSAxNHzBEI/AAAAAAAAALY/TMc-Dwzvz7k/s1600/cubeshade.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_NnqjAQEn1Xo/TFSAxNHzBEI/AAAAAAAAALY/TMc-Dwzvz7k/s320/cubeshade.png" /></a></div><br />
+</div><hr /><div>Standard Diamond:<br />
+<br />
+<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/_NnqjAQEn1Xo/TFSA0YnNSYI/AAAAAAAAALg/Ym6OD5JVjrs/s1600/diamond.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/_NnqjAQEn1Xo/TFSA0YnNSYI/AAAAAAAAALg/Ym6OD5JVjrs/s320/diamond.png" /></a></div><br />
+</div><hr /><div>Standard Diamond with Pseudo Shading:<br />
+<br />
+<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/_NnqjAQEn1Xo/TFSA39MwDSI/AAAAAAAAALo/WV5wzDtCyo8/s1600/diamondshade.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_NnqjAQEn1Xo/TFSA39MwDSI/AAAAAAAAALo/WV5wzDtCyo8/s320/diamondshade.png" /></a></div><br />
+</div><hr /><div>Textured Cube:<br />
+<br />
+<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/_NnqjAQEn1Xo/TFSA_RVjHtI/AAAAAAAAALw/nwEjFLv8XvE/s1600/texturedcube.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_NnqjAQEn1Xo/TFSA_RVjHtI/AAAAAAAAALw/nwEjFLv8XvE/s320/texturedcube.png" /></a></div><br />
+</div><hr /><div>Perspectively Correct Textured Cube:<br />
+<br />
+<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/_NnqjAQEn1Xo/TFSBCIUu4iI/AAAAAAAAAL4/_lgY1_mE4ow/s1600/texturedcorrectcube.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/_NnqjAQEn1Xo/TFSBCIUu4iI/AAAAAAAAAL4/_lgY1_mE4ow/s320/texturedcorrectcube.png" /></a></div><br />
+</div><hr /><div>Perspectively Correct Textured Cube with shading:<br />
+<br />
+<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/_NnqjAQEn1Xo/TFSBEFUB9HI/AAAAAAAAAMA/uLPUugpgspg/s1600/texturedcubeshade.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/_NnqjAQEn1Xo/TFSBEFUB9HI/AAAAAAAAAMA/uLPUugpgspg/s320/texturedcubeshade.png" /></a></div><br />
+</div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-6534662499260158364?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/kPia0N5Yur3ce5NX96m1E-EB9KU/0/da"><img src="http://feedads.g.doubleclick.net/~a/kPia0N5Yur3ce5NX96m1E-EB9KU/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/kPia0N5Yur3ce5NX96m1E-EB9KU/1/da"><img src="http://feedads.g.doubleclick.net/~a/kPia0N5Yur3ce5NX96m1E-EB9KU/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/nBAuxy51chg" height="1" width="1"/></div></div>
\ No newline at end of file
index 706ea53..b877a58 100644 (file)
@@ -1,77 +1,13 @@
 <div class="blog">
 <h1 id="NAME">
-SDL RC 2.5 decides to play with PDL
+SDL 2.503 Released!
 </h1>
 <div class="CONTENT">
-<i>PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.<br />
-You can use PDL and SDL together to create real-time,<br />
-responsive animations and simulations.<br />
-In this section we will go through the pleasures and pitfalls of working with both powerhouse libraries.</i> <b>-- David Mertnes</b><br />
-<br />
-<br />
-<h1>Creating a SDL Surface piddle</h1><br />
-PDL's core type is a piddle.<br />
-Once a piddle is provided to PDL it can go do a numerous amounts of things.<br />
-Please see the example in '<a href="http://github.com/kthakore/SDL_perl/blob/master/examples/cookbook/pdl.pl">examples/cookbook/pdl.pl</a>' in github.<br />
-<br />
-<h3>Creating a simple piddle</h3><br />
-First lets get the right modules.<br />
-<br />
-<pre style='color:#d1d1d1;background:#000000;'>  <span style='color:#e66170; font-weight:bold; '>use</span> <span style='color:#b060b0; '>PDL;</span>
-  <span style='color:#e66170; font-weight:bold; '>use</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Rect</span><span style='color:#b060b0; '>;</span>
-  <span style='color:#e66170; font-weight:bold; '>use</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Video</span><span style='color:#b060b0; '>;</span>
-  <span style='color:#e66170; font-weight:bold; '>use</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Surface</span><span style='color:#b060b0; '>;</span>
-  <span style='color:#e66170; font-weight:bold; '>use</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>PixelFormat</span><span style='color:#b060b0; '>;</span>
-</pre><br />
-Suppose you want a surface of size (200,400) and 32 bit (RGBA).<br />
-<br />
-<pre style='color:#d1d1d1;background:#000000;'><span style='color:#e66170; font-weight:bold; '>my</span> <span style='color:#d2cd86; '>(</span> $bytes_per_pixel<span style='color:#d2cd86; '>,</span> $width<span style='color:#d2cd86; '>,</span> $height <span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>=</span> <span style='color:#d2cd86; '>(</span> <span style='color:#00a800; '>4</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>200</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>400</span> <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
-</pre><br />
-Define the <b>$width</b>, <b>$height</b> and <b>$bytes_per_pixel</b>. Your <b>$bytes_per_pixel</b> is the number of bits (in this case 32) divided by 8 bits per byte. Therefore for our 32 bpp we have 4 Bpp;<br />
-<br />
-<pre style='color:#d1d1d1;background:#000000;'><span style='color:#e66170; font-weight:bold; '>my</span> $piddle  <span style='color:#d2cd86; '>=</span> zeros<span style='color:#d2cd86; '>(</span> byte<span style='color:#d2cd86; '>,</span> $bytes_per_pixel<span style='color:#d2cd86; '>,</span> $width<span style='color:#d2cd86; '>,</span> $height <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
-</pre><br />
-Create a normal $piddle with zeros, byte format and the Bpp x width x height dimensions.<br />
-<br />
-<pre style='color:#d1d1d1;background:#000000;'><span style='color:#e66170; font-weight:bold; '>my</span> $pointer <span style='color:#d2cd86; '>=</span> $piddle<span style='color:#d2cd86; '>-></span>get_dataref<span style='color:#d2cd86; '>(</span><span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
-</pre><br />
-Here is where we get the acutal data the piddle is pointing to. We will have SDL create a new surface from this function.<br />
-<br />
-<pre style='color:#d1d1d1;background:#000000;'><span style='color:#e66170; font-weight:bold; '>my</span> $surface <span style='color:#d2cd86; '>=</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Surface</span><span style='color:#d2cd86; '>-></span>new_from<span style='color:#d2cd86; '>(</span> $pointer<span style='color:#d2cd86; '>,</span> $width<span style='color:#d2cd86; '>,</span> $height<span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>32</span><span style='color:#d2cd86; '>,</span>
-        $width <span style='color:#d2cd86; '>*</span> $bytes_per_pixel <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
-</pre><br />
-Using the same dimensions we create the surface using <b>SDL::Surface->new_form()</b>. The <b>$width * $Bpp</b> is the scanline (pitch) of the surface in bytes.<br />
-<br />
-<pre style='color:#d1d1d1;background:#000000;'><span style='color:#e66170; font-weight:bold; '>warn</span> <span style='color:#00c4c4; '>"Made surface of </span><span style='color:#00c4c4; '>$width</span><span style='color:#00c4c4; '>, </span><span style='color:#00c4c4; '>$height</span><span style='color:#00c4c4; '> and "</span><span style='color:#d2cd86; '>.</span> $surface<span style='color:#d2cd86; '>-></span>format<span style='color:#d2cd86; '>-></span>BytesPerPixel<span style='color:#b060b0; '>;</span>
-   <span style='color:#e66170; font-weight:bold; '>return</span> <span style='color:#d2cd86; '>(</span> $piddle<span style='color:#d2cd86; '>,</span> $surface <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
-</pre><br />
-Finally make sure that the surface acutally has the correct dimensions we gave.<br />
-<br />
-<b>NOTE:</b> <b>$surface->format->BytesPerPixel</b> must return 1,2,3,4. !!<br />
-<br />
-Now you can blit and use the surface as needed; and do PDL operations as required.<br />
-<br />
-<h3>Operating on the Surface safely</h3><br />
-To make sure SDL is in sync with the data. You must call SDL::Video::lock <b>before</b> doing PDL operations on the piddle.<br />
-<br />
-<pre><pre style='color:#d1d1d1;background:#000000;'><span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Video</span><span style='color:#d2cd86; '>:</span><span style='color:#d2cd86; '>:</span>lock_surface<span style='color:#d2cd86; '>(</span>$surface<span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
-    $piddle <span style='color:#d2cd86; '>(</span> <span style='color:#d2cd86; '>:</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>0</span> <span style='color:#d2cd86; '>:</span> <span style='color:#e66170; font-weight:bold; '>rand</span><span style='color:#d2cd86; '>(</span><span style='color:#00a800; '>400</span><span style='color:#d2cd86; '>)</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>0</span> <span style='color:#d2cd86; '>:</span> <span style='color:#e66170; font-weight:bold; '>rand</span><span style='color:#d2cd86; '>(</span><span style='color:#00a800; '>200</span><span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>.</span><span style='color:#d2cd86; '>=</span>   pdl<span style='color:#d2cd86; '>(</span> <span style='color:#e66170; font-weight:bold; '>rand</span><span style='color:#d2cd86; '>(</span><span style='color:#00a800; '>225</span><span style='color:#d2cd86; '>)</span><span style='color:#d2cd86; '>,</span> <span style='color:#e66170; font-weight:bold; '>rand</span><span style='color:#d2cd86; '>(</span><span style='color:#00a800; '>225</span><span style='color:#d2cd86; '>)</span><span style='color:#d2cd86; '>,</span> <span style='color:#e66170; font-weight:bold; '>rand</span><span style='color:#d2cd86; '>(</span><span style='color:#00a800; '>255</span><span style='color:#d2cd86; '>)</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>255</span> <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
-</pre></pre><br />
-After that you can unlock the surface to blit.<br />
-<br />
-<pre style='color:#d1d1d1;background:#000000;'><span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Video</span><span style='color:#d2cd86; '>:</span><span style='color:#d2cd86; '>:</span>unlock_surface<span style='color:#d2cd86; '>(</span>$surface<span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
-</pre><br />
-<h3>Errors due to BPP at blitting</h3><br />
-When blitting the new surface check for the return value to see if there has been a problem.<br />
-<br />
-<pre style='color:#d1d1d1;background:#000000;'><span style='color:#e66170; font-weight:bold; '>my</span> $b <span style='color:#d2cd86; '>=</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Video</span><span style='color:#d2cd86; '>:</span><span style='color:#d2cd86; '>:</span>blit_surface<span style='color:#d2cd86; '>(</span>
-        $surface<span style='color:#d2cd86; '>,</span>  <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Rect</span><span style='color:#d2cd86; '>-></span>new<span style='color:#d2cd86; '>(</span> <span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>,</span> $surface<span style='color:#d2cd86; '>-></span>w<span style='color:#d2cd86; '>,</span> $surface<span style='color:#d2cd86; '>-></span>h <span style='color:#d2cd86; '>)</span><span style='color:#d2cd86; '>,</span>
-        $app<span style='color:#d2cd86; '>,</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Rect</span><span style='color:#d2cd86; '>-></span>new<span style='color:#d2cd86; '>(</span>  <span style='color:#d2cd86; '>(</span> $app<span style='color:#d2cd86; '>-></span>w <span style='color:#d2cd86; '>-</span> $surface<span style='color:#d2cd86; '>-></span>w <span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>/</span> <span style='color:#00a800; '>2</span><span style='color:#d2cd86; '>,</span> <span style='color:#d2cd86; '>(</span> $app<span style='color:#d2cd86; '>-></span>h <span style='color:#d2cd86; '>-</span> $surface<span style='color:#d2cd86; '>-></span>h <span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>/</span> <span style='color:#00a800; '>2</span><span style='color:#d2cd86; '>,</span> $app<span style='color:#d2cd86; '>-></span>w<span style='color:#d2cd86; '>,</span> $app<span style='color:#d2cd86; '>-></span>h <span style='color:#d2cd86; '>)</span>
-       <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
-    <span style='color:#e66170; font-weight:bold; '>die</span> <span style='color:#00c4c4; '>"Could not blit: "</span> <span style='color:#d2cd86; '>.</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>get_error</span><span style='color:#d2cd86; '>(</span><span style='color:#d2cd86; '>)</span> <span style='color:#e66170; font-weight:bold; '>if</span> <span style='color:#d2cd86; '>(</span> $b <span style='color:#d2cd86; '>=</span><span style='color:#d2cd86; '>=</span> <span style='color:#d2cd86; '>-</span><span style='color:#00a800; '>1</span> <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
-</pre><br />
-If the error message is 'Blit combination not supported' that means that the BPP is incorrect or incosistent with the dimensions. After that a simple update_rect will so your new surface on the screen.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-3580429408870545769?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/HRpCokqdJ-wzrP1ZXUvgwcUNL_s/0/da"><img src="http://feedads.g.doubleclick.net/~a/HRpCokqdJ-wzrP1ZXUvgwcUNL_s/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/HRpCokqdJ-wzrP1ZXUvgwcUNL_s/1/da"><img src="http://feedads.g.doubleclick.net/~a/HRpCokqdJ-wzrP1ZXUvgwcUNL_s/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/KBG0kvzZCFo" height="1" width="1"/></div></div>
\ No newline at end of file
+<p>SDL 2.503 has been released on to CPAN. The changes are mostly in the new features added to SDLx::* layer. However as our continuing attempt to improve cross platform support we have some low level fixes.</p><br />
+<p>Most interstingly we have begun work on SDLx::Sprite::Animated. Although, volatile, this addition will be highly anticipated. We look forward for more work on it soon. Additionally are the changes in SDLx::Surface. SDLx::Surface is an attempt to provide gfx, pixels, video and low level surface functions in a combined and simpler interface. </p><br />
+<p>Since SDLx::Sprite and SDLx::App depends on SDLx::Surface, new features will be propagated and the magic amplified! These are exciting times for SDL in Perl. So come join us for great justice on #sdl <a href="http://irc.perl.org">irc.perl.org</a> or <a href="mailto:sdl-devel@perl.org">sdl-devel@perl.org</a>. </p><br />
+The detailed <a href="http://cpansearch.perl.org/src/KTHAKORE/SDL-2.503/CHANGELOG">changelog</a> are provided at <a href="http://search.cpan.org/~kthakore/SDL-2.503/">CPAN</a>.<br />
+<br />
+Kartik Thakore<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1568145111710985964?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/9AdAL018Ayt8_wTqSzfAgLJJIWo/0/da"><img src="http://feedads.g.doubleclick.net/~a/9AdAL018Ayt8_wTqSzfAgLJJIWo/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/9AdAL018Ayt8_wTqSzfAgLJJIWo/1/da"><img src="http://feedads.g.doubleclick.net/~a/9AdAL018Ayt8_wTqSzfAgLJJIWo/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/5YUqXD0sgZs" height="1" width="1"/></div></div>
\ No newline at end of file
index 2e202e7..b1abc1d 100644 (file)
@@ -1,81 +1,23 @@
 <div class="blog">
 <h1 id="NAME">
-Providing direct memory access to SDL_Surface's pixels
+Huge World Maps in less then 100 lines
 </h1>
 <div class="CONTENT">
-<p>In an attempt to make pixel access easier on SDL_Surface pixels. I have started work on <a href="http://github.com/kthakore/SDL_perl/commit/7ee1a1a7f162080a6fa5274e95b80961486e21e5">SDLx::Surface</a>. So far I have only start on the 32 bpp surfaces.</p><br />
-<p>The general idea is to make Pointer Values (PV) of each pixel in the surface and place them into a 2D matrix. First I make pointer values like this: </p><br />
-<pre style='color:#d1d1d1;background:#000000;'>SV <span style='color:#d2cd86; '>*</span> get_pixel32 <span style='color:#d2cd86; '>(</span>SDL_Surface <span style='color:#d2cd86; '>*</span>surface<span style='color:#d2cd86; '>,</span> <span style='color:#e66170; font-weight:bold; '>int</span> x<span style='color:#d2cd86; '>,</span> <span style='color:#e66170; font-weight:bold; '>int</span> y<span style='color:#d2cd86; '>)</span>
-<span style='color:#b060b0; '>{</span>
- <span style='color:#9999a9; '>//Convert the pixels to 32 bit </span>
- Uint32 <span style='color:#d2cd86; '>*</span>pixels <span style='color:#d2cd86; '>=</span> <span style='color:#d2cd86; '>(</span>Uint32 <span style='color:#d2cd86; '>*</span><span style='color:#d2cd86; '>)</span>surface<span style='color:#d2cd86; '>-</span><span style='color:#d2cd86; '>></span>pixels<span style='color:#b060b0; '>;</span> 
-
- <span style='color:#9999a9; '>//Get the requested pixel  </span>
- Uint32<span style='color:#d2cd86; '>*</span> u_ptr <span style='color:#d2cd86; '>=</span>  pixels <span style='color:#d2cd86; '>+</span> <span style='color:#d2cd86; '>(</span> y <span style='color:#d2cd86; '>*</span> surface<span style='color:#d2cd86; '>-</span><span style='color:#d2cd86; '>></span>w <span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>+</span> x <span style='color:#b060b0; '>;</span> 
-
-        SV<span style='color:#d2cd86; '>*</span> sv <span style='color:#d2cd86; '>=</span> newSVpv<span style='color:#d2cd86; '>(</span><span style='color:#02d045; '>"</span><span style='color:#00c4c4; '>a</span><span style='color:#02d045; '>"</span><span style='color:#d2cd86; '>,</span><span style='color:#008c00; '>1</span><span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '>//Make a temp SV* value on the go</span>
-        SvCUR_set<span style='color:#d2cd86; '>(</span>sv<span style='color:#d2cd86; '>,</span> <span style='color:#e66170; font-weight:bold; '>sizeof</span><span style='color:#d2cd86; '>(</span>Uint32<span style='color:#d2cd86; '>)</span><span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '>//Specify the new CUR length</span>
- SvLEN_set<span style='color:#d2cd86; '>(</span>sv<span style='color:#d2cd86; '>,</span> <span style='color:#e66170; font-weight:bold; '>sizeof</span><span style='color:#d2cd86; '>(</span>Uint32<span style='color:#d2cd86; '>)</span><span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '>//Specify the LEN length</span>
-        SvPV_set<span style='color:#d2cd86; '>(</span>sv<span style='color:#d2cd86; '>,</span><span style='color:#d2cd86; '>(</span><span style='color:#e66170; font-weight:bold; '>char</span><span style='color:#d2cd86; '>*</span><span style='color:#d2cd86; '>)</span>u_ptr<span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '>// set the actual pixel's pointer as the memory space to use</span>
-
- <span style='color:#e66170; font-weight:bold; '>return</span> sv<span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '>//make a modifiable reference using u_ptr's place as the memory :)</span>
-
-<span style='color:#b060b0; '>}</span>
-</pre><br />
-<p>Next I loop through all the pixels and put them in a 2D array format, shown below: </p><pre style='color:#d1d1d1;background:#000000;'>AV <span style='color:#d2cd86; '>*</span> construct_p_matrix <span style='color:#d2cd86; '>(</span> SDL_Surface <span style='color:#d2cd86; '>*</span>surface <span style='color:#d2cd86; '>)</span>
-<span style='color:#b060b0; '>{</span>
-    AV <span style='color:#d2cd86; '>*</span> matrix <span style='color:#d2cd86; '>=</span> newAV<span style='color:#d2cd86; '>(</span><span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
-     <span style='color:#e66170; font-weight:bold; '>int</span> i<span style='color:#d2cd86; '>,</span> j<span style='color:#b060b0; '>;</span>
-     <span style='color:#e66170; font-weight:bold; '>for</span><span style='color:#d2cd86; '>(</span>  i <span style='color:#d2cd86; '>=</span><span style='color:#008c00; '>0</span> <span style='color:#b060b0; '>;</span> i <span style='color:#d2cd86; '>&lt;</span> surface<span style='color:#d2cd86; '>-</span><span style='color:#d2cd86; '>></span>w<span style='color:#b060b0; '>;</span> i<span style='color:#d2cd86; '>+</span><span style='color:#d2cd86; '>+</span><span style='color:#d2cd86; '>)</span>
-      <span style='color:#b060b0; '>{</span>
-        AV <span style='color:#d2cd86; '>*</span> matrix_row <span style='color:#d2cd86; '>=</span> newAV<span style='color:#d2cd86; '>(</span><span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
-        <span style='color:#e66170; font-weight:bold; '>for</span><span style='color:#d2cd86; '>(</span> j <span style='color:#d2cd86; '>=</span><span style='color:#008c00; '>0</span> <span style='color:#b060b0; '>;</span> j <span style='color:#d2cd86; '>&lt;</span> surface<span style='color:#d2cd86; '>-</span><span style='color:#d2cd86; '>></span>h<span style='color:#b060b0; '>;</span> j<span style='color:#d2cd86; '>+</span><span style='color:#d2cd86; '>+</span><span style='color:#d2cd86; '>)</span>
-        <span style='color:#b060b0; '>{</span>
-           av_push<span style='color:#d2cd86; '>(</span>matrix_row<span style='color:#d2cd86; '>,</span> get_pixel32<span style='color:#d2cd86; '>(</span>surface<span style='color:#d2cd86; '>,</span> i<span style='color:#d2cd86; '>,</span>j<span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
-        <span style='color:#b060b0; '>}</span>
-        av_push<span style='color:#d2cd86; '>(</span>matrix<span style='color:#d2cd86; '>,</span> newRV_noinc<span style='color:#d2cd86; '>(</span><span style='color:#d2cd86; '>(</span>SV<span style='color:#d2cd86; '>*</span><span style='color:#d2cd86; '>)</span> matrix_row<span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
-      <span style='color:#b060b0; '>}</span>
-
- <span style='color:#e66170; font-weight:bold; '>return</span> matrix<span style='color:#b060b0; '>;</span>
-<span style='color:#b060b0; '>}</span>
-</pre><br />
-<p>You can see the complete <a href="http://github.com/kthakore/SDL_perl/blob/7ee1a1a7f162080a6fa5274e95b80961486e21e5/src/SDLx/Surface.xs">here</a>.</p><br />
-<p>In Perl I can do a get access on this pixel using: </p><br />
+<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/_NnqjAQEn1Xo/TEBxQGLPevI/AAAAAAAAALI/3k4lruLMbZ0/s1600/foo.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_NnqjAQEn1Xo/TEBxQGLPevI/AAAAAAAAALI/3k4lruLMbZ0/s320/foo.bmp" /></a></div><br />
+Hello folks,<br />
 <br />
-<pre style='color:#d1d1d1;background:#000000;'><span style='color:#e66170; font-weight:bold; '>my</span> $surf32_matrix <span style='color:#d2cd86; '>=</span> <span style='color:#904050; '>SDLx</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Surface</span><span style='color:#d2cd86; '>:</span><span style='color:#d2cd86; '>:</span>pixel_array<span style='color:#d2cd86; '>(</span>$screen_surface<span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
-   <span style='color:#e66170; font-weight:bold; '>print</span> <span style='color:#e66170; font-weight:bold; '>unpack</span> <span style='color:#00c4c4; '>'b*'</span><span style='color:#d2cd86; '>,</span> $surf32_matrix<span style='color:#d2cd86; '>-></span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span><span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '># pixel value at x = 0 and y =0</span>
-<span style='color:#9999a9; '>#OUTPUT:</span>
-<span style='color:#9999a9; '># 11111111000000000000000000000000</span>
-</pre><br />
-<p>The structure of the PV is using Devel::Peek is : </p><br />
-<pre style='color:#d1d1d1;background:#000000;'><span style='color:#e66170; font-weight:bold; '>print</span> Dump $surf32_matrix<span style='color:#d2cd86; '>-></span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span><span style='color:#b060b0; '>;</span>
-<span style='color:#9999a9; '>#OUTPUT:</span>
-<span style='color:#9999a9; '>#SV = PV(0xed0dbc) at 0xeb5344</span>
-<span style='color:#9999a9; '>#  REFCNT = 1</span>
-<span style='color:#9999a9; '>#  FLAGS = (POK,pPOK)</span>
-<span style='color:#9999a9; '>#  PV = 0x9e04ac "\0\0\377\0"</span>
-<span style='color:#9999a9; '>#  CUR = 4</span>
-<span style='color:#9999a9; '>#  LEN = 4</span>
-</pre><br />
-<p>The problem is in setting the value of this pointer value. I have tried the following things with no success:</p><br />
-<pre style='color:#d1d1d1;background:#000000;'><span style='color:#e66170; font-weight:bold; '>if</span> <span style='color:#d2cd86; '>(</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Video</span><span style='color:#d2cd86; '>:</span><span style='color:#d2cd86; '>:</span>MUSTLOCK<span style='color:#d2cd86; '>(</span>$screen_surface<span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>)</span> <span style='color:#b060b0; '>{</span>
-    <span style='color:#e66170; font-weight:bold; '>return</span> <span style='color:#e66170; font-weight:bold; '>if</span> <span style='color:#d2cd86; '>(</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Video</span><span style='color:#d2cd86; '>:</span><span style='color:#d2cd86; '>:</span>lock_surface<span style='color:#d2cd86; '>(</span>$screen_surface<span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>&lt;</span> <span style='color:#00a800; '>0</span> <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '>#required for pixel operations</span>
-<span style='color:#b060b0; '>}</span>
-
-<span style='color:#9999a9; '>#USING pack</span>
-
-<span style='color:#e66170; font-weight:bold; '>my</span> $green <span style='color:#d2cd86; '>=</span> <span style='color:#e66170; font-weight:bold; '>pack</span> <span style='color:#00c4c4; '>'b*'</span><span style='color:#d2cd86; '>,</span> <span style='color:#00c4c4; '>'11111111000000000000000000000000'</span><span style='color:#b060b0; '>;</span>
-<span style='color:#e66170; font-weight:bold; '>substr</span><span style='color:#d2cd86; '>(</span> $surf32_matrix<span style='color:#d2cd86; '>-></span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>8</span> <span style='color:#d2cd86; '>*</span> <span style='color:#00a800; '>4</span><span style='color:#d2cd86; '>,</span> $green<span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '>#no change</span>
-<span style='color:#9999a9; '>#substr( $surf32_matrix->[0][0], 0, 8 * 4, 0xFF000000); segfault</span>
-<span style='color:#e66170; font-weight:bold; '>substr</span><span style='color:#d2cd86; '>(</span> ${$surf32_matrix<span style='color:#d2cd86; '>-></span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span>}<span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>8</span> <span style='color:#d2cd86; '>*</span> <span style='color:#00a800; '>4</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>0xFF000000</span><span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '>#no change</span>
-<span style='color:#9999a9; '>#$surf32_matrix->[0][0] = $green; SEGFAULT's cannot write to memory</span>
-${$surf32_matrix<span style='color:#d2cd86; '>-></span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span>} <span style='color:#d2cd86; '>=</span> $green<span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '>#no change</span>
-
-
-<span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Video</span><span style='color:#d2cd86; '>:</span><span style='color:#d2cd86; '>:</span>unlock_surface<span style='color:#d2cd86; '>(</span>$screen_surface<span style='color:#d2cd86; '>)</span>
-  <span style='color:#e66170; font-weight:bold; '>if</span> <span style='color:#d2cd86; '>(</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Video</span><span style='color:#d2cd86; '>:</span><span style='color:#d2cd86; '>:</span>MUSTLOCK<span style='color:#d2cd86; '>(</span>$screen_surface<span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
-</pre><br />
-<p>You can see an example <a href="http://paste.scsys.co.uk/45111">here</a>.</p><br />
-<p>Any help will be greatly appreciated. </p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1929043568015240773?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/1Rx7lBLzyC2ksXyZwl9Q_nlI6iE/0/da"><img src="http://feedads.g.doubleclick.net/~a/1Rx7lBLzyC2ksXyZwl9Q_nlI6iE/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/1Rx7lBLzyC2ksXyZwl9Q_nlI6iE/1/da"><img src="http://feedads.g.doubleclick.net/~a/1Rx7lBLzyC2ksXyZwl9Q_nlI6iE/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/q5F5dgfg5Fg" height="1" width="1"/></div></div>
\ No newline at end of file
+Recently we have been <a href="http://github.com/kthakore/SDL_perl/commits/master">working</a> on making the Perl&nbsp;syntax&nbsp;sugar for SDL in the form of SDLx. So far we have got the SDLx::Surface and SDLx::Sprite (garu++) done. So the first thing we did was throw together a quick Zelda map walker. As you can see above. &nbsp;The code is at&nbsp;<a href="http://gist.github.com/478440">http://gist.github.com/478440</a>. The SDL code that this depends on will be SDL 2.503 soonish . We are in the process of cleaning up some more SDLx and Alien::SDL bugs. After that SDLx::App will be overhauled to make this sort of thing even easier. Finally living up to our goal of &nbsp;'<span class="Apple-style-span" style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; font-size: 13px;">Simple Games Easy. Complex Games Possible.'&nbsp;</span><br />
+<br />
+<br />
+<span class="Apple-style-span" style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; font-size: 13px;"><span style="font-family: inherit;"><b>UPDATE: with some help, and newcomer jtpalmer'<span style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif;">s help we have added Link</span></b></span></span><br />
+<span class="Apple-style-span" style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; font-size: 13px;"><span style="font-family: inherit;"><b><span style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif;">&nbsp; </span></b></span></span><br />
+<br />
+<br /><br />
+<br />
+<object width="267" height="220"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=13423319&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=59a5d1&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=13423319&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=59a5d1&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="267" height="220"></embed></object><br />
+<br />
+<br /><br />
+<br />
+--caio&nbsp;yapgh<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4587488240162102295?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/0/da"><img src="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/1/da"><img src="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/ONip91qsKjQ" height="1" width="1"/></div></div>
\ No newline at end of file
index 5cffcd0..4c366da 100644 (file)
@@ -1,18 +1,26 @@
 <div class="blog">
 <h1 id="NAME">
-SDLpp.pl: Packaging SDL Scripts Alpha
+The Build Process of SDL Perl
 </h1>
 <div class="CONTENT">
-After a lot of patches and head scratching I have an alpha version of <a href="http://github.com/kthakore/SDL_perl/blob/eabffdcf5635fa1f78a9c87d7953a11215609630/scripts/SDLpp.pl">SDLpp.pl</a>. The purpose of SDLpp.pl is to allow SDL perl developers to package their game for end users. <br />
+<p>A while ago I had a long chat with mst on why SDL uses Module::Build rather then Make. I told him it is a simple matter of code inertia.  The existing Module::Build system has worked well for us so far. Never the less, he convinced me that switching to Make will improve debugging the Build system. But to be able to switch we will need to completely replace the Build system. I am not prepared to do that so I will just present the requirements so mst or someone else can at least attempt to switch.</p><br />
 <br />
-Here is the <a href="http://gist.github.com/301949">shooter.pl</a> packaged up:<br />
-<a href="http://www.megaupload.com/?d=R6XKW0E0"></a><br />
-<ol><li><a href="http://www.megaupload.com/?d=R6XKW0E0"> win32/64</a></li>
-<li><a href="http://froggs.de/shooter">Linux 5.88</a></li>
-<li><a href="http://sdlperl.ath.cx/releases/shooter.run">Linux 5.10 </a></li>
-</ol><br />
-We are looking into testing this on a Mac Build server.<br />
+<h3>The Build Process </h3><br />
+<b> Alien::SDL </b><br />
 <br />
-Caio<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-9080175881992996183?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/7PgtzoGFjbc4fTJmAi1gqhRiY2M/0/da"><img src="http://feedads.g.doubleclick.net/~a/7PgtzoGFjbc4fTJmAi1gqhRiY2M/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/7PgtzoGFjbc4fTJmAi1gqhRiY2M/1/da"><img src="http://feedads.g.doubleclick.net/~a/7PgtzoGFjbc4fTJmAi1gqhRiY2M/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/PqOR4e2XhaE" height="1" width="1"/></div></div>
\ No newline at end of file
+<p>SDL Perl depends on a few C libraries for a complete install. This is handled by Alien::SDL. First we look for existing SDL libraries and dependencies by doing a <a href="http://github.com/kthakore/Alien_SDL/blob/master/inc/My/Utility.pm#L581">File::Find</a> for headers. If these headers are found we  present and option for the user to use those. We then store these locations in Alien::SDL->config options 'cflags', 'prefix' and 'libs'. If we do not have libraries available even for a minimum SDL installed ( SDL.h is not found). We provide several platform specific options. </p><br />
+<p>For windows we have a simpler process. We download<a href="http://github.com/kthakore/Alien_SDL/blob/master/inc/My/Utility.pm#L7"> prebuilt </a>binaries ( and checksum ) based on the user's selection and just copy them in to the right location. Again the 'prefix', 'cflags', and 'libs' is saved in Alien::SDL->config. </p><br />
+<p>For *nix/MacOSX we download sources and attempt to compile them. To be able to do this we download several other dependencies like libpng, jpeg and pango. You can see how we do this using hashes <a href="http://github.com/kthakore/Alien_SDL/blob/master/inc/My/Utility.pm#L404">here</a>. During the compile process we also apply patches as needed for the <a href="http://github.com/kthakore/Alien_SDL/blob/master/inc/My/Utility.pm#L430">sources</a>. Once this is done we can head to SDL Build.PL </p><br />
+<b> SDL Perl dependency resolution </b><br />
+<br />
+SDL's Build is responsible for linking the right libraries to the correct XS. If libraries are missing it will disable the component (not put it in SDL->config). <br />
+<br />
+<p>For example to build <a href="http://github.com/kthakore/SDL_perl/blob/master/Build.PL#L342">Image.xs</a> we require libsdl, libsdl_image and lib[jpg|png|tiff]. So we would check for these headers in the prefix provided by Alien::SDL->config. If they are not provided we will disable the SDL::Image module. </p><br />
+<p>More over the availability of each library is specified as a -DMACRO to the gcc compiler. This way we can prevent XS failures due to missing libraries using #DEFINES. Here the SDL_image macro is <a href="http://github.com/kthakore/SDL_perl/blob/master/Build.PL#L422">defined</a> and <a href="http://github.com/kthakore/SDL_perl/blob/master/src/Image.xs#L13">used</a>. The availability of the module is then available from <a href="http://github.com/kthakore/SDL_perl/blob/master/t/image.t#L20">SDL::Config->has()</a> <br />
+<br />
+<br />
+<b> Conclusion </b> <br />
+<p>This is a high level overview of our Build process, because frankly I hate traumatizing my brain with this again. Credits have to go to FROGGS and kmx for helping with this Build scheme. Hopefully my post have helped people at the very least appreciate the problem scope of this Build system. That said I believe a fresh written build system, with these requirements in mind, will be more then welcome.<br />
+</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4514794130108689562?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/SHI8waMCUMOT4LmhUSkV3-Y1cK8/0/da"><img src="http://feedads.g.doubleclick.net/~a/SHI8waMCUMOT4LmhUSkV3-Y1cK8/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/SHI8waMCUMOT4LmhUSkV3-Y1cK8/1/da"><img src="http://feedads.g.doubleclick.net/~a/SHI8waMCUMOT4LmhUSkV3-Y1cK8/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/fTwVmM222rA" height="1" width="1"/></div></div>
\ No newline at end of file
index 2bd84fc..706ea53 100644 (file)
@@ -1,40 +1,77 @@
 <div class="blog">
 <h1 id="NAME">
-Getting people to use SDL Perl: Docs, API, and Distribution
+SDL RC 2.5 decides to play with PDL
 </h1>
 <div class="CONTENT">
-<h4><i>The road so far</i></h4><br />
-Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. <a href="http://matrix.cpantesters.org/?dist=Alien-SDL+1.403">Alien::SDL 1.405</a> is behaving well. This foundational stability will start to show results in <a href="http://matrix.cpantesters.org/?dist=SDL+2.405">SDL</a> too I believe. Most excitingly the main developer of frozen-bubble is reviewing our <a href="http://search.cpan.org/~kthakore/Games-FrozenBubble-2.202/lib/Games/FrozenBubble.pm">Games::FrozenBubble</a> port to CPAN. All good and well, but to keep this project going we need to improve.<br />
-<br />
-<h4><i>Getting people to use SDL Perl</i></h4><br />
-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. <br />
-<br />
-<ul><li>Tutorials/Documentation<br />
-</li>
-
-<ul><li>We have more docs now on http://sdl.perl.org but they suck</li>
-<li>What type of tutorials do you think will be good for beginners?</li>
-
-<ul><li>A project start to finish?</li>
-<li>Individual tutorials for various topics?</li>
-<li>What needs to go in SDL::CookBook?</li>
-</ul></ul>
-<li>API sweetness</li>
-
-<ul><li>SDL Perl depends on distinct C libraries</li>
-
-<ul><li>This makes naming conventions, data formats different the SDL:: namespaces</li>
-<li>How do people design this stuff?</li>
-
-<ul><li>We are hackers and we just go do stuff but I think this needs some prior thought</li>
-<li>Any takers?</li>
-</ul></ul></ul>
-<li>Distribution</li>
-
-<ul><li>If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus</li>
-
-<ul><li>One way is a Wx::Perl::Packer clone</li>
-<li>Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games?&nbsp;</li>
-</ul></ul></ul><div>If anyone wants to help in these areas please talk to us on sdl-devel@perl.org.&nbsp;</div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-7164362190686365958?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/EXlozhjfhdo" height="1" width="1"/></div></div>
\ No newline at end of file
+<i>PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.<br />
+You can use PDL and SDL together to create real-time,<br />
+responsive animations and simulations.<br />
+In this section we will go through the pleasures and pitfalls of working with both powerhouse libraries.</i> <b>-- David Mertnes</b><br />
+<br />
+<br />
+<h1>Creating a SDL Surface piddle</h1><br />
+PDL's core type is a piddle.<br />
+Once a piddle is provided to PDL it can go do a numerous amounts of things.<br />
+Please see the example in '<a href="http://github.com/kthakore/SDL_perl/blob/master/examples/cookbook/pdl.pl">examples/cookbook/pdl.pl</a>' in github.<br />
+<br />
+<h3>Creating a simple piddle</h3><br />
+First lets get the right modules.<br />
+<br />
+<pre style='color:#d1d1d1;background:#000000;'>  <span style='color:#e66170; font-weight:bold; '>use</span> <span style='color:#b060b0; '>PDL;</span>
+  <span style='color:#e66170; font-weight:bold; '>use</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Rect</span><span style='color:#b060b0; '>;</span>
+  <span style='color:#e66170; font-weight:bold; '>use</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Video</span><span style='color:#b060b0; '>;</span>
+  <span style='color:#e66170; font-weight:bold; '>use</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Surface</span><span style='color:#b060b0; '>;</span>
+  <span style='color:#e66170; font-weight:bold; '>use</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>PixelFormat</span><span style='color:#b060b0; '>;</span>
+</pre><br />
+Suppose you want a surface of size (200,400) and 32 bit (RGBA).<br />
+<br />
+<pre style='color:#d1d1d1;background:#000000;'><span style='color:#e66170; font-weight:bold; '>my</span> <span style='color:#d2cd86; '>(</span> $bytes_per_pixel<span style='color:#d2cd86; '>,</span> $width<span style='color:#d2cd86; '>,</span> $height <span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>=</span> <span style='color:#d2cd86; '>(</span> <span style='color:#00a800; '>4</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>200</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>400</span> <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
+</pre><br />
+Define the <b>$width</b>, <b>$height</b> and <b>$bytes_per_pixel</b>. Your <b>$bytes_per_pixel</b> is the number of bits (in this case 32) divided by 8 bits per byte. Therefore for our 32 bpp we have 4 Bpp;<br />
+<br />
+<pre style='color:#d1d1d1;background:#000000;'><span style='color:#e66170; font-weight:bold; '>my</span> $piddle  <span style='color:#d2cd86; '>=</span> zeros<span style='color:#d2cd86; '>(</span> byte<span style='color:#d2cd86; '>,</span> $bytes_per_pixel<span style='color:#d2cd86; '>,</span> $width<span style='color:#d2cd86; '>,</span> $height <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
+</pre><br />
+Create a normal $piddle with zeros, byte format and the Bpp x width x height dimensions.<br />
+<br />
+<pre style='color:#d1d1d1;background:#000000;'><span style='color:#e66170; font-weight:bold; '>my</span> $pointer <span style='color:#d2cd86; '>=</span> $piddle<span style='color:#d2cd86; '>-></span>get_dataref<span style='color:#d2cd86; '>(</span><span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
+</pre><br />
+Here is where we get the acutal data the piddle is pointing to. We will have SDL create a new surface from this function.<br />
+<br />
+<pre style='color:#d1d1d1;background:#000000;'><span style='color:#e66170; font-weight:bold; '>my</span> $surface <span style='color:#d2cd86; '>=</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Surface</span><span style='color:#d2cd86; '>-></span>new_from<span style='color:#d2cd86; '>(</span> $pointer<span style='color:#d2cd86; '>,</span> $width<span style='color:#d2cd86; '>,</span> $height<span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>32</span><span style='color:#d2cd86; '>,</span>
+        $width <span style='color:#d2cd86; '>*</span> $bytes_per_pixel <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
+</pre><br />
+Using the same dimensions we create the surface using <b>SDL::Surface->new_form()</b>. The <b>$width * $Bpp</b> is the scanline (pitch) of the surface in bytes.<br />
+<br />
+<pre style='color:#d1d1d1;background:#000000;'><span style='color:#e66170; font-weight:bold; '>warn</span> <span style='color:#00c4c4; '>"Made surface of </span><span style='color:#00c4c4; '>$width</span><span style='color:#00c4c4; '>, </span><span style='color:#00c4c4; '>$height</span><span style='color:#00c4c4; '> and "</span><span style='color:#d2cd86; '>.</span> $surface<span style='color:#d2cd86; '>-></span>format<span style='color:#d2cd86; '>-></span>BytesPerPixel<span style='color:#b060b0; '>;</span>
+   <span style='color:#e66170; font-weight:bold; '>return</span> <span style='color:#d2cd86; '>(</span> $piddle<span style='color:#d2cd86; '>,</span> $surface <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
+</pre><br />
+Finally make sure that the surface acutally has the correct dimensions we gave.<br />
+<br />
+<b>NOTE:</b> <b>$surface->format->BytesPerPixel</b> must return 1,2,3,4. !!<br />
+<br />
+Now you can blit and use the surface as needed; and do PDL operations as required.<br />
+<br />
+<h3>Operating on the Surface safely</h3><br />
+To make sure SDL is in sync with the data. You must call SDL::Video::lock <b>before</b> doing PDL operations on the piddle.<br />
+<br />
+<pre><pre style='color:#d1d1d1;background:#000000;'><span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Video</span><span style='color:#d2cd86; '>:</span><span style='color:#d2cd86; '>:</span>lock_surface<span style='color:#d2cd86; '>(</span>$surface<span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
+    $piddle <span style='color:#d2cd86; '>(</span> <span style='color:#d2cd86; '>:</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>0</span> <span style='color:#d2cd86; '>:</span> <span style='color:#e66170; font-weight:bold; '>rand</span><span style='color:#d2cd86; '>(</span><span style='color:#00a800; '>400</span><span style='color:#d2cd86; '>)</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>0</span> <span style='color:#d2cd86; '>:</span> <span style='color:#e66170; font-weight:bold; '>rand</span><span style='color:#d2cd86; '>(</span><span style='color:#00a800; '>200</span><span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>.</span><span style='color:#d2cd86; '>=</span>   pdl<span style='color:#d2cd86; '>(</span> <span style='color:#e66170; font-weight:bold; '>rand</span><span style='color:#d2cd86; '>(</span><span style='color:#00a800; '>225</span><span style='color:#d2cd86; '>)</span><span style='color:#d2cd86; '>,</span> <span style='color:#e66170; font-weight:bold; '>rand</span><span style='color:#d2cd86; '>(</span><span style='color:#00a800; '>225</span><span style='color:#d2cd86; '>)</span><span style='color:#d2cd86; '>,</span> <span style='color:#e66170; font-weight:bold; '>rand</span><span style='color:#d2cd86; '>(</span><span style='color:#00a800; '>255</span><span style='color:#d2cd86; '>)</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>255</span> <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
+</pre></pre><br />
+After that you can unlock the surface to blit.<br />
+<br />
+<pre style='color:#d1d1d1;background:#000000;'><span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Video</span><span style='color:#d2cd86; '>:</span><span style='color:#d2cd86; '>:</span>unlock_surface<span style='color:#d2cd86; '>(</span>$surface<span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
+</pre><br />
+<h3>Errors due to BPP at blitting</h3><br />
+When blitting the new surface check for the return value to see if there has been a problem.<br />
+<br />
+<pre style='color:#d1d1d1;background:#000000;'><span style='color:#e66170; font-weight:bold; '>my</span> $b <span style='color:#d2cd86; '>=</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Video</span><span style='color:#d2cd86; '>:</span><span style='color:#d2cd86; '>:</span>blit_surface<span style='color:#d2cd86; '>(</span>
+        $surface<span style='color:#d2cd86; '>,</span>  <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Rect</span><span style='color:#d2cd86; '>-></span>new<span style='color:#d2cd86; '>(</span> <span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>,</span> $surface<span style='color:#d2cd86; '>-></span>w<span style='color:#d2cd86; '>,</span> $surface<span style='color:#d2cd86; '>-></span>h <span style='color:#d2cd86; '>)</span><span style='color:#d2cd86; '>,</span>
+        $app<span style='color:#d2cd86; '>,</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Rect</span><span style='color:#d2cd86; '>-></span>new<span style='color:#d2cd86; '>(</span>  <span style='color:#d2cd86; '>(</span> $app<span style='color:#d2cd86; '>-></span>w <span style='color:#d2cd86; '>-</span> $surface<span style='color:#d2cd86; '>-></span>w <span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>/</span> <span style='color:#00a800; '>2</span><span style='color:#d2cd86; '>,</span> <span style='color:#d2cd86; '>(</span> $app<span style='color:#d2cd86; '>-></span>h <span style='color:#d2cd86; '>-</span> $surface<span style='color:#d2cd86; '>-></span>h <span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>/</span> <span style='color:#00a800; '>2</span><span style='color:#d2cd86; '>,</span> $app<span style='color:#d2cd86; '>-></span>w<span style='color:#d2cd86; '>,</span> $app<span style='color:#d2cd86; '>-></span>h <span style='color:#d2cd86; '>)</span>
+       <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
+    <span style='color:#e66170; font-weight:bold; '>die</span> <span style='color:#00c4c4; '>"Could not blit: "</span> <span style='color:#d2cd86; '>.</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>get_error</span><span style='color:#d2cd86; '>(</span><span style='color:#d2cd86; '>)</span> <span style='color:#e66170; font-weight:bold; '>if</span> <span style='color:#d2cd86; '>(</span> $b <span style='color:#d2cd86; '>=</span><span style='color:#d2cd86; '>=</span> <span style='color:#d2cd86; '>-</span><span style='color:#00a800; '>1</span> <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
+</pre><br />
+If the error message is 'Blit combination not supported' that means that the BPP is incorrect or incosistent with the dimensions. After that a simple update_rect will so your new surface on the screen.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-3580429408870545769?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/HRpCokqdJ-wzrP1ZXUvgwcUNL_s/0/da"><img src="http://feedads.g.doubleclick.net/~a/HRpCokqdJ-wzrP1ZXUvgwcUNL_s/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/HRpCokqdJ-wzrP1ZXUvgwcUNL_s/1/da"><img src="http://feedads.g.doubleclick.net/~a/HRpCokqdJ-wzrP1ZXUvgwcUNL_s/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/KBG0kvzZCFo" height="1" width="1"/></div></div>
\ No newline at end of file
index ef14036..2e202e7 100644 (file)
@@ -1,10 +1,81 @@
 <div class="blog">
 <h1 id="NAME">
-Games::FrozenBubble: It is a start!
+Providing direct memory access to SDL_Surface's pixels
 </h1>
 <div class="CONTENT">
-We released a playable (client) frozen bubble on <a href="http://search.cpan.org/%7Ekthakore/Games-FrozenBubble-0.001_1/lib/Games/FrozenBubble.pm">CPAN</a>. There is more work to be done but it is a great start! It currently works on Windows and Linux.<br />
+<p>In an attempt to make pixel access easier on SDL_Surface pixels. I have started work on <a href="http://github.com/kthakore/SDL_perl/commit/7ee1a1a7f162080a6fa5274e95b80961486e21e5">SDLx::Surface</a>. So far I have only start on the 32 bpp surfaces.</p><br />
+<p>The general idea is to make Pointer Values (PV) of each pixel in the surface and place them into a 2D matrix. First I make pointer values like this: </p><br />
+<pre style='color:#d1d1d1;background:#000000;'>SV <span style='color:#d2cd86; '>*</span> get_pixel32 <span style='color:#d2cd86; '>(</span>SDL_Surface <span style='color:#d2cd86; '>*</span>surface<span style='color:#d2cd86; '>,</span> <span style='color:#e66170; font-weight:bold; '>int</span> x<span style='color:#d2cd86; '>,</span> <span style='color:#e66170; font-weight:bold; '>int</span> y<span style='color:#d2cd86; '>)</span>
+<span style='color:#b060b0; '>{</span>
+ <span style='color:#9999a9; '>//Convert the pixels to 32 bit </span>
+ Uint32 <span style='color:#d2cd86; '>*</span>pixels <span style='color:#d2cd86; '>=</span> <span style='color:#d2cd86; '>(</span>Uint32 <span style='color:#d2cd86; '>*</span><span style='color:#d2cd86; '>)</span>surface<span style='color:#d2cd86; '>-</span><span style='color:#d2cd86; '>></span>pixels<span style='color:#b060b0; '>;</span> 
+
+ <span style='color:#9999a9; '>//Get the requested pixel  </span>
+ Uint32<span style='color:#d2cd86; '>*</span> u_ptr <span style='color:#d2cd86; '>=</span>  pixels <span style='color:#d2cd86; '>+</span> <span style='color:#d2cd86; '>(</span> y <span style='color:#d2cd86; '>*</span> surface<span style='color:#d2cd86; '>-</span><span style='color:#d2cd86; '>></span>w <span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>+</span> x <span style='color:#b060b0; '>;</span> 
+
+        SV<span style='color:#d2cd86; '>*</span> sv <span style='color:#d2cd86; '>=</span> newSVpv<span style='color:#d2cd86; '>(</span><span style='color:#02d045; '>"</span><span style='color:#00c4c4; '>a</span><span style='color:#02d045; '>"</span><span style='color:#d2cd86; '>,</span><span style='color:#008c00; '>1</span><span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '>//Make a temp SV* value on the go</span>
+        SvCUR_set<span style='color:#d2cd86; '>(</span>sv<span style='color:#d2cd86; '>,</span> <span style='color:#e66170; font-weight:bold; '>sizeof</span><span style='color:#d2cd86; '>(</span>Uint32<span style='color:#d2cd86; '>)</span><span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '>//Specify the new CUR length</span>
+ SvLEN_set<span style='color:#d2cd86; '>(</span>sv<span style='color:#d2cd86; '>,</span> <span style='color:#e66170; font-weight:bold; '>sizeof</span><span style='color:#d2cd86; '>(</span>Uint32<span style='color:#d2cd86; '>)</span><span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '>//Specify the LEN length</span>
+        SvPV_set<span style='color:#d2cd86; '>(</span>sv<span style='color:#d2cd86; '>,</span><span style='color:#d2cd86; '>(</span><span style='color:#e66170; font-weight:bold; '>char</span><span style='color:#d2cd86; '>*</span><span style='color:#d2cd86; '>)</span>u_ptr<span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '>// set the actual pixel's pointer as the memory space to use</span>
+
+ <span style='color:#e66170; font-weight:bold; '>return</span> sv<span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '>//make a modifiable reference using u_ptr's place as the memory :)</span>
+
+<span style='color:#b060b0; '>}</span>
+</pre><br />
+<p>Next I loop through all the pixels and put them in a 2D array format, shown below: </p><pre style='color:#d1d1d1;background:#000000;'>AV <span style='color:#d2cd86; '>*</span> construct_p_matrix <span style='color:#d2cd86; '>(</span> SDL_Surface <span style='color:#d2cd86; '>*</span>surface <span style='color:#d2cd86; '>)</span>
+<span style='color:#b060b0; '>{</span>
+    AV <span style='color:#d2cd86; '>*</span> matrix <span style='color:#d2cd86; '>=</span> newAV<span style='color:#d2cd86; '>(</span><span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
+     <span style='color:#e66170; font-weight:bold; '>int</span> i<span style='color:#d2cd86; '>,</span> j<span style='color:#b060b0; '>;</span>
+     <span style='color:#e66170; font-weight:bold; '>for</span><span style='color:#d2cd86; '>(</span>  i <span style='color:#d2cd86; '>=</span><span style='color:#008c00; '>0</span> <span style='color:#b060b0; '>;</span> i <span style='color:#d2cd86; '>&lt;</span> surface<span style='color:#d2cd86; '>-</span><span style='color:#d2cd86; '>></span>w<span style='color:#b060b0; '>;</span> i<span style='color:#d2cd86; '>+</span><span style='color:#d2cd86; '>+</span><span style='color:#d2cd86; '>)</span>
+      <span style='color:#b060b0; '>{</span>
+        AV <span style='color:#d2cd86; '>*</span> matrix_row <span style='color:#d2cd86; '>=</span> newAV<span style='color:#d2cd86; '>(</span><span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
+        <span style='color:#e66170; font-weight:bold; '>for</span><span style='color:#d2cd86; '>(</span> j <span style='color:#d2cd86; '>=</span><span style='color:#008c00; '>0</span> <span style='color:#b060b0; '>;</span> j <span style='color:#d2cd86; '>&lt;</span> surface<span style='color:#d2cd86; '>-</span><span style='color:#d2cd86; '>></span>h<span style='color:#b060b0; '>;</span> j<span style='color:#d2cd86; '>+</span><span style='color:#d2cd86; '>+</span><span style='color:#d2cd86; '>)</span>
+        <span style='color:#b060b0; '>{</span>
+           av_push<span style='color:#d2cd86; '>(</span>matrix_row<span style='color:#d2cd86; '>,</span> get_pixel32<span style='color:#d2cd86; '>(</span>surface<span style='color:#d2cd86; '>,</span> i<span style='color:#d2cd86; '>,</span>j<span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
+        <span style='color:#b060b0; '>}</span>
+        av_push<span style='color:#d2cd86; '>(</span>matrix<span style='color:#d2cd86; '>,</span> newRV_noinc<span style='color:#d2cd86; '>(</span><span style='color:#d2cd86; '>(</span>SV<span style='color:#d2cd86; '>*</span><span style='color:#d2cd86; '>)</span> matrix_row<span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
+      <span style='color:#b060b0; '>}</span>
+
+ <span style='color:#e66170; font-weight:bold; '>return</span> matrix<span style='color:#b060b0; '>;</span>
+<span style='color:#b060b0; '>}</span>
+</pre><br />
+<p>You can see the complete <a href="http://github.com/kthakore/SDL_perl/blob/7ee1a1a7f162080a6fa5274e95b80961486e21e5/src/SDLx/Surface.xs">here</a>.</p><br />
+<p>In Perl I can do a get access on this pixel using: </p><br />
 <br />
-<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/_NnqjAQEn1Xo/S8Ov0uLjD4I/AAAAAAAAAK8/_OhraQBd1iE/s1600/a.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_NnqjAQEn1Xo/S8Ov0uLjD4I/AAAAAAAAAK8/_OhraQBd1iE/s320/a.png" /></a></div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4730357979252159221?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/gHnHwFtAvFE" height="1" width="1"/></div></div>
\ No newline at end of file
+<pre style='color:#d1d1d1;background:#000000;'><span style='color:#e66170; font-weight:bold; '>my</span> $surf32_matrix <span style='color:#d2cd86; '>=</span> <span style='color:#904050; '>SDLx</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Surface</span><span style='color:#d2cd86; '>:</span><span style='color:#d2cd86; '>:</span>pixel_array<span style='color:#d2cd86; '>(</span>$screen_surface<span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
+   <span style='color:#e66170; font-weight:bold; '>print</span> <span style='color:#e66170; font-weight:bold; '>unpack</span> <span style='color:#00c4c4; '>'b*'</span><span style='color:#d2cd86; '>,</span> $surf32_matrix<span style='color:#d2cd86; '>-></span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span><span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '># pixel value at x = 0 and y =0</span>
+<span style='color:#9999a9; '>#OUTPUT:</span>
+<span style='color:#9999a9; '># 11111111000000000000000000000000</span>
+</pre><br />
+<p>The structure of the PV is using Devel::Peek is : </p><br />
+<pre style='color:#d1d1d1;background:#000000;'><span style='color:#e66170; font-weight:bold; '>print</span> Dump $surf32_matrix<span style='color:#d2cd86; '>-></span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span><span style='color:#b060b0; '>;</span>
+<span style='color:#9999a9; '>#OUTPUT:</span>
+<span style='color:#9999a9; '>#SV = PV(0xed0dbc) at 0xeb5344</span>
+<span style='color:#9999a9; '>#  REFCNT = 1</span>
+<span style='color:#9999a9; '>#  FLAGS = (POK,pPOK)</span>
+<span style='color:#9999a9; '>#  PV = 0x9e04ac "\0\0\377\0"</span>
+<span style='color:#9999a9; '>#  CUR = 4</span>
+<span style='color:#9999a9; '>#  LEN = 4</span>
+</pre><br />
+<p>The problem is in setting the value of this pointer value. I have tried the following things with no success:</p><br />
+<pre style='color:#d1d1d1;background:#000000;'><span style='color:#e66170; font-weight:bold; '>if</span> <span style='color:#d2cd86; '>(</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Video</span><span style='color:#d2cd86; '>:</span><span style='color:#d2cd86; '>:</span>MUSTLOCK<span style='color:#d2cd86; '>(</span>$screen_surface<span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>)</span> <span style='color:#b060b0; '>{</span>
+    <span style='color:#e66170; font-weight:bold; '>return</span> <span style='color:#e66170; font-weight:bold; '>if</span> <span style='color:#d2cd86; '>(</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Video</span><span style='color:#d2cd86; '>:</span><span style='color:#d2cd86; '>:</span>lock_surface<span style='color:#d2cd86; '>(</span>$screen_surface<span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>&lt;</span> <span style='color:#00a800; '>0</span> <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '>#required for pixel operations</span>
+<span style='color:#b060b0; '>}</span>
+
+<span style='color:#9999a9; '>#USING pack</span>
+
+<span style='color:#e66170; font-weight:bold; '>my</span> $green <span style='color:#d2cd86; '>=</span> <span style='color:#e66170; font-weight:bold; '>pack</span> <span style='color:#00c4c4; '>'b*'</span><span style='color:#d2cd86; '>,</span> <span style='color:#00c4c4; '>'11111111000000000000000000000000'</span><span style='color:#b060b0; '>;</span>
+<span style='color:#e66170; font-weight:bold; '>substr</span><span style='color:#d2cd86; '>(</span> $surf32_matrix<span style='color:#d2cd86; '>-></span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>8</span> <span style='color:#d2cd86; '>*</span> <span style='color:#00a800; '>4</span><span style='color:#d2cd86; '>,</span> $green<span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '>#no change</span>
+<span style='color:#9999a9; '>#substr( $surf32_matrix->[0][0], 0, 8 * 4, 0xFF000000); segfault</span>
+<span style='color:#e66170; font-weight:bold; '>substr</span><span style='color:#d2cd86; '>(</span> ${$surf32_matrix<span style='color:#d2cd86; '>-></span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span>}<span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>8</span> <span style='color:#d2cd86; '>*</span> <span style='color:#00a800; '>4</span><span style='color:#d2cd86; '>,</span> <span style='color:#00a800; '>0xFF000000</span><span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '>#no change</span>
+<span style='color:#9999a9; '>#$surf32_matrix->[0][0] = $green; SEGFAULT's cannot write to memory</span>
+${$surf32_matrix<span style='color:#d2cd86; '>-></span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span><span style='color:#d2cd86; '>[</span><span style='color:#00a800; '>0</span><span style='color:#d2cd86; '>]</span>} <span style='color:#d2cd86; '>=</span> $green<span style='color:#b060b0; '>;</span> <span style='color:#9999a9; '>#no change</span>
+
+
+<span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Video</span><span style='color:#d2cd86; '>:</span><span style='color:#d2cd86; '>:</span>unlock_surface<span style='color:#d2cd86; '>(</span>$screen_surface<span style='color:#d2cd86; '>)</span>
+  <span style='color:#e66170; font-weight:bold; '>if</span> <span style='color:#d2cd86; '>(</span> <span style='color:#904050; '>SDL</span><span style='color:#d2cd86; '>::</span><span style='color:#904050; '>Video</span><span style='color:#d2cd86; '>:</span><span style='color:#d2cd86; '>:</span>MUSTLOCK<span style='color:#d2cd86; '>(</span>$screen_surface<span style='color:#d2cd86; '>)</span> <span style='color:#d2cd86; '>)</span><span style='color:#b060b0; '>;</span>
+</pre><br />
+<p>You can see an example <a href="http://paste.scsys.co.uk/45111">here</a>.</p><br />
+<p>Any help will be greatly appreciated. </p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1929043568015240773?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/1Rx7lBLzyC2ksXyZwl9Q_nlI6iE/0/da"><img src="http://feedads.g.doubleclick.net/~a/1Rx7lBLzyC2ksXyZwl9Q_nlI6iE/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/1Rx7lBLzyC2ksXyZwl9Q_nlI6iE/1/da"><img src="http://feedads.g.doubleclick.net/~a/1Rx7lBLzyC2ksXyZwl9Q_nlI6iE/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/q5F5dgfg5Fg" height="1" width="1"/></div></div>
\ No newline at end of file
index 3bbdb8b..5cffcd0 100644 (file)
@@ -1,15 +1,18 @@
 <div class="blog">
 <h1 id="NAME">
-Release SDL 2.4: Frozen-Bubble begins to go to CPAN
+SDLpp.pl: Packaging SDL Scripts Alpha
 </h1>
 <div class="CONTENT">
-<b><br />
-SDL 2.4 is released!</b><br />
+After a lot of patches and head scratching I have an alpha version of <a href="http://github.com/kthakore/SDL_perl/blob/eabffdcf5635fa1f78a9c87d7953a11215609630/scripts/SDLpp.pl">SDLpp.pl</a>. The purpose of SDLpp.pl is to allow SDL perl developers to package their game for end users. <br />
 <br />
-After 8 months of work this picture begins to sum it up:<br />
+Here is the <a href="http://gist.github.com/301949">shooter.pl</a> packaged up:<br />
+<a href="http://www.megaupload.com/?d=R6XKW0E0"></a><br />
+<ol><li><a href="http://www.megaupload.com/?d=R6XKW0E0"> win32/64</a></li>
+<li><a href="http://froggs.de/shooter">Linux 5.88</a></li>
+<li><a href="http://sdlperl.ath.cx/releases/shooter.run">Linux 5.10 </a></li>
+</ol><br />
+We are looking into testing this on a Mac Build server.<br />
 <br />
-<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/_NnqjAQEn1Xo/S7uYJbPUFII/AAAAAAAAAK0/oPWO_KQbG80/s1600/fb2.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_NnqjAQEn1Xo/S7uYJbPUFII/AAAAAAAAAK0/oPWO_KQbG80/s320/fb2.bmp" /></a></div><br />
-<p>If you cannot wait then grab SDL 2.4 and Alien::SDL 1.2 (pick PANGO support) from CPAN and grab the toolchain branch from the <a href="http://github.com/kthakore/frozen-bubble/tree/toolchain">repo</a>. Disclaimer the branch will be volatile for a bit.</p><br />
---yapgh<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-3633977050184282742?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/fV3MgVztLTt8PLCBi6n4UJzeoEI/0/da"><img src="http://feedads.g.doubleclick.net/~a/fV3MgVztLTt8PLCBi6n4UJzeoEI/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/fV3MgVztLTt8PLCBi6n4UJzeoEI/1/da"><img src="http://feedads.g.doubleclick.net/~a/fV3MgVztLTt8PLCBi6n4UJzeoEI/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/AXNLaqCQt6g" height="1" width="1"/></div></div>
\ No newline at end of file
+Caio<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-9080175881992996183?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/7PgtzoGFjbc4fTJmAi1gqhRiY2M/0/da"><img src="http://feedads.g.doubleclick.net/~a/7PgtzoGFjbc4fTJmAi1gqhRiY2M/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/7PgtzoGFjbc4fTJmAi1gqhRiY2M/1/da"><img src="http://feedads.g.doubleclick.net/~a/7PgtzoGFjbc4fTJmAi1gqhRiY2M/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/PqOR4e2XhaE" height="1" width="1"/></div></div>
\ No newline at end of file
index 6e3de57..2bd84fc 100644 (file)
@@ -1,21 +1,40 @@
 <div class="blog">
 <h1 id="NAME">
-A summer of possibilities (SDL_perl and GSOC 2010 )
+Getting people to use SDL Perl: Docs, API, and Distribution
 </h1>
 <div class="CONTENT">
-<h3>GSOC 2010 </h3><br />
-<p>As many of the readers must know The Perl Foundation has been accepted for the GSOC 2010 program. There are several SDL_perl mentors involved in it too. Right now we are accepting student applications. <p><br />
+<h4><i>The road so far</i></h4><br />
+Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. <a href="http://matrix.cpantesters.org/?dist=Alien-SDL+1.403">Alien::SDL 1.405</a> is behaving well. This foundational stability will start to show results in <a href="http://matrix.cpantesters.org/?dist=SDL+2.405">SDL</a> too I believe. Most excitingly the main developer of frozen-bubble is reviewing our <a href="http://search.cpan.org/~kthakore/Games-FrozenBubble-2.202/lib/Games/FrozenBubble.pm">Games::FrozenBubble</a> port to CPAN. All good and well, but to keep this project going we need to improve.<br />
 <br />
-<b>Process to Apply</b><br />
-<ul><li>Sign in as a student here http://socghop.appspot.com/</li>
-<li>Submit a proposal before April 5th</li>
-<li>Usually it helps to discuss the idea with us on irc (#sdl irc.perl.org)</li>
-</ul><br />
+<h4><i>Getting people to use SDL Perl</i></h4><br />
+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. <br />
 <br />
-<h3>Ideas </h3><br />
-<p><a href="http://sdlperl.ath.cx/projects/SDLPerl/wiki/gsoc2010">Here</a> are some ideas for SDL perl but we happily accepted student ideas.<br />
- Make a student wiki page on this site of your ideas! We look forward to helping you guys with your  ideas :) </p><br />
-<br />
---yapgh<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-7079398614405091312?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/2W7bN95udcWNo9wYcwDL4eTQ9ok/0/da"><img src="http://feedads.g.doubleclick.net/~a/2W7bN95udcWNo9wYcwDL4eTQ9ok/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/2W7bN95udcWNo9wYcwDL4eTQ9ok/1/da"><img src="http://feedads.g.doubleclick.net/~a/2W7bN95udcWNo9wYcwDL4eTQ9ok/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/Az4zDMAjcdY" height="1" width="1"/></div></div>
\ No newline at end of file
+<ul><li>Tutorials/Documentation<br />
+</li>
+
+<ul><li>We have more docs now on http://sdl.perl.org but they suck</li>
+<li>What type of tutorials do you think will be good for beginners?</li>
+
+<ul><li>A project start to finish?</li>
+<li>Individual tutorials for various topics?</li>
+<li>What needs to go in SDL::CookBook?</li>
+</ul></ul>
+<li>API sweetness</li>
+
+<ul><li>SDL Perl depends on distinct C libraries</li>
+
+<ul><li>This makes naming conventions, data formats different the SDL:: namespaces</li>
+<li>How do people design this stuff?</li>
+
+<ul><li>We are hackers and we just go do stuff but I think this needs some prior thought</li>
+<li>Any takers?</li>
+</ul></ul></ul>
+<li>Distribution</li>
+
+<ul><li>If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus</li>
+
+<ul><li>One way is a Wx::Perl::Packer clone</li>
+<li>Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games?&nbsp;</li>
+</ul></ul></ul><div>If anyone wants to help in these areas please talk to us on sdl-devel@perl.org.&nbsp;</div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-7164362190686365958?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/EXlozhjfhdo" height="1" width="1"/></div></div>
\ No newline at end of file
index 8978342..ef14036 100644 (file)
@@ -1,36 +1,10 @@
 <div class="blog">
 <h1 id="NAME">
-SDL Perl Showcase
+Games::FrozenBubble: It is a start!
 </h1>
 <div class="CONTENT">
-<b><br />
-SDL_Mixer and Effects</b><br />
+We released a playable (client) frozen bubble on <a href="http://search.cpan.org/%7Ekthakore/Games-FrozenBubble-0.001_1/lib/Games/FrozenBubble.pm">CPAN</a>. There is more work to be done but it is a great start! It currently works on Windows and Linux.<br />
 <br />
-<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/_NnqjAQEn1Xo/S5mzzlA_BPI/AAAAAAAAAJ4/5n62-vSSKzs/s1600-h/playlist.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/_NnqjAQEn1Xo/S5mzzlA_BPI/AAAAAAAAAJ4/5n62-vSSKzs/s320/playlist.png" /></a></div><br />
-This demo shows the new work we have finished for SDL_Mixer support in <a href="http://github.com/kthakore/SDL_perl">SDL_perl</a> . (FROGGS++)<br />
-<br />
-<br />
-<ul><li>&nbsp;Plays ogg files in local directory</li>
-<li>&nbsp;Uses threads and SDL_Mixer effects to extract realtime stereo stream data</li>
-<li>&nbsp;Visulizes stream data as an&nbsp;oscilloscope</li>
-</ul><br />
-<br />
-Get it at: <a href="http://github.com/garu/Spinner/raw/master/data/music/playlist.pl">playlist.pl</a>, you need some<a href="http://github.com/garu/Spinner/tree/master/data/music/"> .ogg files</a> to play in the same directory. Use the down key to go through them.<br />
-<br />
-<b><br />
-SDL_TTF support </b><br />
-<br />
-<br />
-<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/_NnqjAQEn1Xo/S5mz8HnVpkI/AAAAAAAAAKQ/4TV0wJG_GNM/s1600-h/TTF.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/_NnqjAQEn1Xo/S5mz8HnVpkI/AAAAAAAAAKQ/4TV0wJG_GNM/s320/TTF.png" /></a></div><br />
-<br />
-This shows the current work on SDL_TTF support. UTF8 and Uncicode are supported. <br />
-<br />
-See the<a href="http://github.com/kthakore/SDL_perl/tree/redesign/t/ttf.t"> t/ttf.t </a>test in github SDL_perl.<br />
-<br />
-<br />
-<b id="Spinner"><br />
-Spinner (Destiny Swirl) Arcade Game</b><br />
-<div><br />
-</div><div>And finally as a proof of concept we have been working a simple arcade game to test our bugs, and scope out our high level bindings. You can get it at the <a href="http://github.com/garu/Spinner/">Spinner repo</a>. This <a href="http://sdlperl.ath.cx/projects/SDLPerl/wiki/TPMFeb2010">wiki page </a>will help you set up for your platforms.&nbsp;</div><div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/_NnqjAQEn1Xo/S5mz1i9fuDI/AAAAAAAAAKA/nWCGR2U2k6I/s1600-h/spinner.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/_NnqjAQEn1Xo/S5mz1i9fuDI/AAAAAAAAAKA/nWCGR2U2k6I/s320/spinner.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/_NnqjAQEn1Xo/S5mz7Cwi6RI/AAAAAAAAAKI/qV-UwiGaS6E/s1600-h/spinnerII.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_NnqjAQEn1Xo/S5mz7Cwi6RI/AAAAAAAAAKI/qV-UwiGaS6E/s320/spinnerII.png" /></a></div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-2785864569764497133?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/9mDUyjv9tbMACqoghT8ANOyl2tQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/9mDUyjv9tbMACqoghT8ANOyl2tQ/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/9mDUyjv9tbMACqoghT8ANOyl2tQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/9mDUyjv9tbMACqoghT8ANOyl2tQ/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/WYwrXTKlVjI" height="1" width="1"/></div></div>
\ No newline at end of file
+<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/_NnqjAQEn1Xo/S8Ov0uLjD4I/AAAAAAAAAK8/_OhraQBd1iE/s1600/a.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_NnqjAQEn1Xo/S8Ov0uLjD4I/AAAAAAAAAK8/_OhraQBd1iE/s320/a.png" /></a></div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4730357979252159221?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/gHnHwFtAvFE" height="1" width="1"/></div></div>
\ No newline at end of file
index 7f9c593..3bbdb8b 100644 (file)
@@ -1,25 +1,15 @@
 <div class="blog">
 <h1 id="NAME">
-Eye Candy
+Release SDL 2.4: Frozen-Bubble begins to go to CPAN
 </h1>
 <div class="CONTENT">
-<i style="text-align: right;"><br />
-<b>clang </b><br />
-With each imperfect hit <br />
-a legendary blade forms<br />
-</i><br />
+<b><br />
+SDL 2.4 is released!</b><br />
 <br />
+After 8 months of work this picture begins to sum it up:<br />
 <br />
-In prep for the TPM meeting we have been working hard to release a new version of SDL Perl and Alien::SDL. After a lot of feed back from testers (Mike Stok, Stuart Watt, and Chas Owens), we where able to get a working version on 64bit and Mac. The releases will be out tomorrow but here <br />
-is some eye candy to tide you guys over.<br />
-<br />
-<br />
-This is shooter.pl finally working in MacOSX and 64 bit.<br />
-<br />
-<div class="separator" style="clear: both; text-align: center;"><a href="http://i.imgur.com/NQ55t.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="http://i.imgur.com/NQ55t.png" width="320" /></a></div><br />
-<br />
-k23z_ mentioned I should get some more SDL_perl videos out to attract some devs. So here goes.  <br />
-<br />
-<a href="http://vimeo.com/9689482">Walking Guy</a> from <a href="http://vimeo.com/user3244181">SDLPerl</a> on <a href="http://vimeo.com/">Vimeo</a>.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-7753290048735163114?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/95lvKL6nWJpyXT29j0YtmTQdS9U/0/da"><img src="http://feedads.g.doubleclick.net/~a/95lvKL6nWJpyXT29j0YtmTQdS9U/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/95lvKL6nWJpyXT29j0YtmTQdS9U/1/da"><img src="http://feedads.g.doubleclick.net/~a/95lvKL6nWJpyXT29j0YtmTQdS9U/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/VTMRrJo4GkA" height="1" width="1"/></div></div>
\ No newline at end of file
+<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/_NnqjAQEn1Xo/S7uYJbPUFII/AAAAAAAAAK0/oPWO_KQbG80/s1600/fb2.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_NnqjAQEn1Xo/S7uYJbPUFII/AAAAAAAAAK0/oPWO_KQbG80/s320/fb2.bmp" /></a></div><br />
+<p>If you cannot wait then grab SDL 2.4 and Alien::SDL 1.2 (pick PANGO support) from CPAN and grab the toolchain branch from the <a href="http://github.com/kthakore/frozen-bubble/tree/toolchain">repo</a>. Disclaimer the branch will be volatile for a bit.</p><br />
+--yapgh<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-3633977050184282742?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/fV3MgVztLTt8PLCBi6n4UJzeoEI/0/da"><img src="http://feedads.g.doubleclick.net/~a/fV3MgVztLTt8PLCBi6n4UJzeoEI/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/fV3MgVztLTt8PLCBi6n4UJzeoEI/1/da"><img src="http://feedads.g.doubleclick.net/~a/fV3MgVztLTt8PLCBi6n4UJzeoEI/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/AXNLaqCQt6g" height="1" width="1"/></div></div>
\ No newline at end of file
index 1945937..6e3de57 100644 (file)
@@ -1,38 +1,21 @@
 <div class="blog">
 <h1 id="NAME">
-New build system! Needs testing!
+A summer of possibilities (SDL_perl and GSOC 2010 )
 </h1>
 <div class="CONTENT">
-<i></i><br />
-<i></i><br />
-<i></i><br />
-<i></i><br />
-<div style="text-align: right;"><i><span class="Apple-style-span" style="font-style: normal;"><i>Rome was not built,</i></span></i><br />
-<i><span class="Apple-style-span" style="font-style: normal;"><i>in one day,</i></span></i></div><div style="text-align: right;"><i><span class="Apple-style-span" style="font-style: normal;"><i>&nbsp;feature creep,</i></span></i><br />
-<i><span class="Apple-style-span" style="font-style: normal;"><i>existed back then too.</i></span></i><br />
-<i><span class="Apple-style-span" style="font-style: normal;"><i><br />
-</i></span></i><br />
-<div style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;"><a href="http://github.com/kmx">kmx</a>++ recently worked on a brand new Build system for Alien::SDL and SDL_perl. We have managed to test it in Windows and Linux environments. We would still appreciate testing on all&nbsp;environments. However none of us have a shiny Mac to try this on. So if you have a Mac please consider testing the following:</span></i></div><div style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;"><br />
-</span></i></div><div style="text-align: left;"></div><ul><li style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;">Download <a href="http://github.com/kthakore/Alien_SDL/tarball/master">Alien::SDL</a>&nbsp;</span></i></li>
-
-<ul><li style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;">install it</span></i></li>
-<li style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;">select build by source</span></i></li>
-</ul>
-<li style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;">Download <a href="http://github.com/kthakore/SDL_perl/tarball/redesign">SDL::perl</a></span></i></li>
-
-<ul><li style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;">Extract it</span></i></li>
-<li style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;">perl Build.PL</span></i></li>
-<li style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;">perl Build</span></i></li>
-<li style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;">See if Bundling works ( Maybe Brian's <a href="http://blogs.perl.org/users/brian_d_foy/2010/02/i-almost-have-sdl-perl-working-on-snow-leopard.html">article</a>&nbsp;may help )</span></i></li>
-</ul></ul><div style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;">Thank you very much!</span></i><br />
+<h3>GSOC 2010 </h3><br />
+<p>As many of the readers must know The Perl Foundation has been accepted for the GSOC 2010 program. There are several SDL_perl mentors involved in it too. Right now we are accepting student applications. <p><br />
 <br />
-<i><span class="Apple-style-span" style="font-style: normal;">EDIT:&nbsp;</span></i><br />
-<i><span class="Apple-style-span" style="font-style: normal;">&nbsp;After some&nbsp; reports back we have found out that SDL_gfx needs&nbsp;</span></i><br />
-<i><span class="Apple-style-span" style="font-style: normal;"><br />
-</span></i><br />
-<i><span class="Apple-style-span" style="font-style: normal;">http://cblfs.cross-lfs.org/index.php/SDL_gfx#64Bit</span></i><br />
-<i><span class="Apple-style-span" style="font-style: normal;"><br />
-</span></i><br />
-<i><span class="Apple-style-span" style="font-style: normal;">We are working to get this done.</span></i></div></div><i></i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-7073479532507652908?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/uIjA30PbyIqckDT4NWKmdaHbLBc/0/da"><img src="http://feedads.g.doubleclick.net/~a/uIjA30PbyIqckDT4NWKmdaHbLBc/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/uIjA30PbyIqckDT4NWKmdaHbLBc/1/da"><img src="http://feedads.g.doubleclick.net/~a/uIjA30PbyIqckDT4NWKmdaHbLBc/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/ORaGexsmrNo" height="1" width="1"/></div></div>
\ No newline at end of file
+<b>Process to Apply</b><br />
+<ul><li>Sign in as a student here http://socghop.appspot.com/</li>
+<li>Submit a proposal before April 5th</li>
+<li>Usually it helps to discuss the idea with us on irc (#sdl irc.perl.org)</li>
+</ul><br />
+<br />
+<h3>Ideas </h3><br />
+<p><a href="http://sdlperl.ath.cx/projects/SDLPerl/wiki/gsoc2010">Here</a> are some ideas for SDL perl but we happily accepted student ideas.<br />
+ Make a student wiki page on this site of your ideas! We look forward to helping you guys with your  ideas :) </p><br />
+<br />
+--yapgh<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-7079398614405091312?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/2W7bN95udcWNo9wYcwDL4eTQ9ok/0/da"><img src="http://feedads.g.doubleclick.net/~a/2W7bN95udcWNo9wYcwDL4eTQ9ok/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/2W7bN95udcWNo9wYcwDL4eTQ9ok/1/da"><img src="http://feedads.g.doubleclick.net/~a/2W7bN95udcWNo9wYcwDL4eTQ9ok/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/Az4zDMAjcdY" height="1" width="1"/></div></div>
\ No newline at end of file
index bdf8c94..8978342 100644 (file)
@@ -1,31 +1,36 @@
 <div class="blog">
 <h1 id="NAME">
-Quick Game for Toronto Perl Mongers
+SDL Perl Showcase
 </h1>
 <div class="CONTENT">
-<i><br />
-<div style="text-align: right;">Beep ... Boop<br />
-</div></i><br />
+<b><br />
+SDL_Mixer and Effects</b><br />
 <br />
-So I am preparing a presentation of the new SDL perl for February's Toronto Perl Mongers meeting. What better way to so off SDL perl then with a game? <br />
+<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/_NnqjAQEn1Xo/S5mzzlA_BPI/AAAAAAAAAJ4/5n62-vSSKzs/s1600-h/playlist.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/_NnqjAQEn1Xo/S5mzzlA_BPI/AAAAAAAAAJ4/5n62-vSSKzs/s320/playlist.png" /></a></div><br />
+This demo shows the new work we have finished for SDL_Mixer support in <a href="http://github.com/kthakore/SDL_perl">SDL_perl</a> . (FROGGS++)<br />
 <br />
-I started hacking a small point an click game a few days back. I really didn't have a idea in mind, but I did have a goal. I wanted to make a game that shows the basics of a game in SDL. Drawing to screen, game loops, physics and so on. I think I have accomplished it so far. <br />
 <br />
-Take a look at it <a alt="Click the balls to win" href="http://gist.github.com/301949">here</a>. Download that and call it<a alt="Click the balls to win" href="http://gist.github.com/301949">[Shooter.pl]</a>. To win click the balls.<br />
+<ul><li>&nbsp;Plays ogg files in local directory</li>
+<li>&nbsp;Uses threads and SDL_Mixer effects to extract realtime stereo stream data</li>
+<li>&nbsp;Visulizes stream data as an&nbsp;oscilloscope</li>
+</ul><br />
 <br />
-To play this game you need the following:<br />
+Get it at: <a href="http://github.com/garu/Spinner/raw/master/data/music/playlist.pl">playlist.pl</a>, you need some<a href="http://github.com/garu/Spinner/tree/master/data/music/"> .ogg files</a> to play in the same directory. Use the down key to go through them.<br />
 <br />
-<ul><li> <b>Only for Linux)</b> sudo apt-get install libsdl-dev libsdl_gfx-dev </li>
-<li> cpan Alien::SDL </li>
-<li> Click Download Source http://github.com/kthakore/SDL_perl/tree/redesign </li>
-<li> Extract it </li>
-<li> perl Build.PL; perl Build; perl Build install </li>
-<li> perl Shooter.pl </li>
-</ul><br />
-I will put up binaries soon-ish.<br />
+<b><br />
+SDL_TTF support </b><br />
+<br />
+<br />
+<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/_NnqjAQEn1Xo/S5mz8HnVpkI/AAAAAAAAAKQ/4TV0wJG_GNM/s1600-h/TTF.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/_NnqjAQEn1Xo/S5mz8HnVpkI/AAAAAAAAAKQ/4TV0wJG_GNM/s320/TTF.png" /></a></div><br />
+<br />
+This shows the current work on SDL_TTF support. UTF8 and Uncicode are supported. <br />
+<br />
+See the<a href="http://github.com/kthakore/SDL_perl/tree/redesign/t/ttf.t"> t/ttf.t </a>test in github SDL_perl.<br />
 <br />
-It is a playable (albeit hard) game right now. All 7 seven levels of it. The purpose of the game is simple click the balls to win. Sounds easy but it isn't. You also get a time in milliseconds after each level. Share your scores on here! I will leave it up to you guys to be honest. <br />
 <br />
-I do have to tidy it up and right documentation for it. This way I will be able to present it clearly to my fellow mongers. I am also still looking for ideas to make this a more polished game. FROGGS recommend I make it a classic NES duck hunt game. I thought since I am using gravity I could do a UFO game out of it where you shoot the UFOs. I am open to your ideas.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1585061047069454098?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/xSNM-fJPtTMLn88P3vJeOy3aoV4/0/da"><img src="http://feedads.g.doubleclick.net/~a/xSNM-fJPtTMLn88P3vJeOy3aoV4/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/xSNM-fJPtTMLn88P3vJeOy3aoV4/1/da"><img src="http://feedads.g.doubleclick.net/~a/xSNM-fJPtTMLn88P3vJeOy3aoV4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/oR6t0trX8yM" height="1" width="1"/></div></div>
\ No newline at end of file
+<b id="Spinner"><br />
+Spinner (Destiny Swirl) Arcade Game</b><br />
+<div><br />
+</div><div>And finally as a proof of concept we have been working a simple arcade game to test our bugs, and scope out our high level bindings. You can get it at the <a href="http://github.com/garu/Spinner/">Spinner repo</a>. This <a href="http://sdlperl.ath.cx/projects/SDLPerl/wiki/TPMFeb2010">wiki page </a>will help you set up for your platforms.&nbsp;</div><div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/_NnqjAQEn1Xo/S5mz1i9fuDI/AAAAAAAAAKA/nWCGR2U2k6I/s1600-h/spinner.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/_NnqjAQEn1Xo/S5mz1i9fuDI/AAAAAAAAAKA/nWCGR2U2k6I/s320/spinner.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/_NnqjAQEn1Xo/S5mz7Cwi6RI/AAAAAAAAAKI/qV-UwiGaS6E/s1600-h/spinnerII.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_NnqjAQEn1Xo/S5mz7Cwi6RI/AAAAAAAAAKI/qV-UwiGaS6E/s320/spinnerII.png" /></a></div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-2785864569764497133?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/9mDUyjv9tbMACqoghT8ANOyl2tQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/9mDUyjv9tbMACqoghT8ANOyl2tQ/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/9mDUyjv9tbMACqoghT8ANOyl2tQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/9mDUyjv9tbMACqoghT8ANOyl2tQ/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/WYwrXTKlVjI" height="1" width="1"/></div></div>
\ No newline at end of file
index 1cfd8ae..7f9c593 100644 (file)
@@ -1,14 +1,25 @@
 <div class="blog">
 <h1 id="NAME">
-SDL_perl 2.3_5 is out!
+Eye Candy
 </h1>
 <div class="CONTENT">
-<div style="text-align: right;"><i>We keep on rolling,<br />
-rolling,<br />
-waiting on the world to turn.</i><br />
-</div><br />
-So a new alpha is out on <a href="http://search.cpan.org/~kthakore/SDL-2.3_5/">CPAN</a>, after a bit of a break. We are trying to pick up our speed again. Hopefully we can get back to the weekly updates. This week I am going to try to get Mixer and TTF bindings test, redesigned and doc'd. Hopefully soon we can start working on Frozen Bubble, as things are starting to come together. This alpha release has finally given us a good implementation of SDL Timers. Also <a href="http://daniel.ruoso.com/categoria/perl/games-perl-1">Daniel Ruoso</a> has also started a series blog posts of making games with SDL Perl. Hopefully this can get more people in SDL, cause we can sure use the help!<br />
-<br />
-<i>More to come --yapgh</i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-896792692004201189?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/4quTwaND98TUWSbz_Ylz6gI9ET8/0/da"><img src="http://feedads.g.doubleclick.net/~a/4quTwaND98TUWSbz_Ylz6gI9ET8/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/4quTwaND98TUWSbz_Ylz6gI9ET8/1/da"><img src="http://feedads.g.doubleclick.net/~a/4quTwaND98TUWSbz_Ylz6gI9ET8/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/EOF919S-yGg" height="1" width="1"/></div></div>
\ No newline at end of file
+<i style="text-align: right;"><br />
+<b>clang </b><br />
+With each imperfect hit <br />
+a legendary blade forms<br />
+</i><br />
+<br />
+<br />
+In prep for the TPM meeting we have been working hard to release a new version of SDL Perl and Alien::SDL. After a lot of feed back from testers (Mike Stok, Stuart Watt, and Chas Owens), we where able to get a working version on 64bit and Mac. The releases will be out tomorrow but here <br />
+is some eye candy to tide you guys over.<br />
+<br />
+<br />
+This is shooter.pl finally working in MacOSX and 64 bit.<br />
+<br />
+<div class="separator" style="clear: both; text-align: center;"><a href="http://i.imgur.com/NQ55t.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="http://i.imgur.com/NQ55t.png" width="320" /></a></div><br />
+<br />
+k23z_ mentioned I should get some more SDL_perl videos out to attract some devs. So here goes.  <br />
+<br />
+<a href="http://vimeo.com/9689482">Walking Guy</a> from <a href="http://vimeo.com/user3244181">SDLPerl</a> on <a href="http://vimeo.com/">Vimeo</a>.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-7753290048735163114?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/95lvKL6nWJpyXT29j0YtmTQdS9U/0/da"><img src="http://feedads.g.doubleclick.net/~a/95lvKL6nWJpyXT29j0YtmTQdS9U/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/95lvKL6nWJpyXT29j0YtmTQdS9U/1/da"><img src="http://feedads.g.doubleclick.net/~a/95lvKL6nWJpyXT29j0YtmTQdS9U/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/VTMRrJo4GkA" height="1" width="1"/></div></div>
\ No newline at end of file
index 64faf76..1945937 100644 (file)
@@ -1,23 +1,38 @@
 <div class="blog">
 <h1 id="NAME">
-Threaded XS callback finally gets solved.
+New build system! Needs testing!
 </h1>
 <div class="CONTENT">
-<div style="text-align: right;"><i><br />
-Dragged down from the lofty isles,<br />
-into the guts and gore of the monster,<br />
-a welcoming cringe in the gut approaches. <br />
-</i><br />
-</div><br />
+<i></i><br />
+<i></i><br />
+<i></i><br />
+<i></i><br />
+<div style="text-align: right;"><i><span class="Apple-style-span" style="font-style: normal;"><i>Rome was not built,</i></span></i><br />
+<i><span class="Apple-style-span" style="font-style: normal;"><i>in one day,</i></span></i></div><div style="text-align: right;"><i><span class="Apple-style-span" style="font-style: normal;"><i>&nbsp;feature creep,</i></span></i><br />
+<i><span class="Apple-style-span" style="font-style: normal;"><i>existed back then too.</i></span></i><br />
+<i><span class="Apple-style-span" style="font-style: normal;"><i><br />
+</i></span></i><br />
+<div style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;"><a href="http://github.com/kmx">kmx</a>++ recently worked on a brand new Build system for Alien::SDL and SDL_perl. We have managed to test it in Windows and Linux environments. We would still appreciate testing on all&nbsp;environments. However none of us have a shiny Mac to try this on. So if you have a Mac please consider testing the following:</span></i></div><div style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;"><br />
+</span></i></div><div style="text-align: left;"></div><ul><li style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;">Download <a href="http://github.com/kthakore/Alien_SDL/tarball/master">Alien::SDL</a>&nbsp;</span></i></li>
+
+<ul><li style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;">install it</span></i></li>
+<li style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;">select build by source</span></i></li>
+</ul>
+<li style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;">Download <a href="http://github.com/kthakore/SDL_perl/tarball/redesign">SDL::perl</a></span></i></li>
+
+<ul><li style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;">Extract it</span></i></li>
+<li style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;">perl Build.PL</span></i></li>
+<li style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;">perl Build</span></i></li>
+<li style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;">See if Bundling works ( Maybe Brian's <a href="http://blogs.perl.org/users/brian_d_foy/2010/02/i-almost-have-sdl-perl-working-on-snow-leopard.html">article</a>&nbsp;may help )</span></i></li>
+</ul></ul><div style="text-align: left;"><i><span class="Apple-style-span" style="font-style: normal;">Thank you very much!</span></i><br />
 <br />
-So I was planning staying silent until an exam I had was done. But new developers on IRC (j_king, felix and ruoso) pull me back in. Which is a good thing ... I suppose ... because we finally have threaded callbacks for timer and audiospec to work. ruoso++ for this major contribution. If you remember this was the <a href="http://stackoverflow.com/questions/1791114/creating-threaded-callbacks-in-xs">problem</a> we were having. <br />
-<br />
-The new callbacks capability in audiospec allow you to procedurally generate sound now. If you would like a simple example take a look at <a href="http://github.com/kthakore/SDL_perl/blob/redesign/t/core_audiospec.t"> t/core_audiospec.t</a>. However a more fun example may be ruoso++'s <a href="http://github.com/ruoso/tecla">tecla</a> (a game for toddlers).  Myself and Garu think it is a work of art but that is only because we are toddlers. <br />
-<br />
-On a side note some tickets on RT have also received some love ( after 3 or 4 years ... but nonetheless). TonyC++ sorry for the long time in response. <br />
-<br />
-More information on the <a href="http://github.com/kthakore/SDL_perl/blob/redesign/CHANGELOG">CHANGELOG</a>. <br />
-<br />
-Also a shout out to FROGGS for his new SON!!!.  Congrats buddy!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-6642671796628033537?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/tCttmYltlTls5VMK61L-TEYAkA4/0/da"><img src="http://feedads.g.doubleclick.net/~a/tCttmYltlTls5VMK61L-TEYAkA4/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/tCttmYltlTls5VMK61L-TEYAkA4/1/da"><img src="http://feedads.g.doubleclick.net/~a/tCttmYltlTls5VMK61L-TEYAkA4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/AQmkpsuSquI" height="1" width="1"/></div></div>
\ No newline at end of file
+<i><span class="Apple-style-span" style="font-style: normal;">EDIT:&nbsp;</span></i><br />
+<i><span class="Apple-style-span" style="font-style: normal;">&nbsp;After some&nbsp; reports back we have found out that SDL_gfx needs&nbsp;</span></i><br />
+<i><span class="Apple-style-span" style="font-style: normal;"><br />
+</span></i><br />
+<i><span class="Apple-style-span" style="font-style: normal;">http://cblfs.cross-lfs.org/index.php/SDL_gfx#64Bit</span></i><br />
+<i><span class="Apple-style-span" style="font-style: normal;"><br />
+</span></i><br />
+<i><span class="Apple-style-span" style="font-style: normal;">We are working to get this done.</span></i></div></div><i></i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-7073479532507652908?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/uIjA30PbyIqckDT4NWKmdaHbLBc/0/da"><img src="http://feedads.g.doubleclick.net/~a/uIjA30PbyIqckDT4NWKmdaHbLBc/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/uIjA30PbyIqckDT4NWKmdaHbLBc/1/da"><img src="http://feedads.g.doubleclick.net/~a/uIjA30PbyIqckDT4NWKmdaHbLBc/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/ORaGexsmrNo" height="1" width="1"/></div></div>
\ No newline at end of file
index 21daaf4..bdf8c94 100644 (file)
@@ -1,18 +1,31 @@
 <div class="blog">
 <h1 id="NAME">
-SDL Alpha 2: A sneak preview
+Quick Game for Toronto Perl Mongers
 </h1>
 <div class="CONTENT">
-<div style="text-align: right;"><i>Pretty or Ugly,</i><br />
-</div><div style="text-align: right;"><i>Code is Code</i><br />
-</div><div style="text-align: right;"><i>New or Old,</i><br />
-</div><div style="text-align: right;"><i>Code is Code</i><br />
-</div><div style="text-align: right;"><i>Fast or Slow</i><br />
-</div><div style="text-align: right;"><i>Code is Code&nbsp;</i> <br />
-</div><br />
-So over the past week we have been working hard to release the next Alpha for SDL-2.3. In this release we have ported SDL_Image completely, fixed false negatives in our testing suite, improved conditional building. Also we have also started to migrate the very pretty SDL_GFX library. Here is the test for it, enjoy.<br />
+<i><br />
+<div style="text-align: right;">Beep ... Boop<br />
+</div></i><br />
 <br />
-<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/_NnqjAQEn1Xo/Sxu4V-sXPrI/AAAAAAAAACI/dmbHSG7C6I0/s1600-h/gfx.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/_NnqjAQEn1Xo/Sxu4V-sXPrI/AAAAAAAAACI/dmbHSG7C6I0/s320/gfx.png" /></a><br />
-</div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-3790085004408370126?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/7xpyLL3rBugowwzdsQdjo-K8JDE/0/da"><img src="http://feedads.g.doubleclick.net/~a/7xpyLL3rBugowwzdsQdjo-K8JDE/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/7xpyLL3rBugowwzdsQdjo-K8JDE/1/da"><img src="http://feedads.g.doubleclick.net/~a/7xpyLL3rBugowwzdsQdjo-K8JDE/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/ex5qVwfaErc" height="1" width="1"/></div></div>
\ No newline at end of file
+So I am preparing a presentation of the new SDL perl for February's Toronto Perl Mongers meeting. What better way to so off SDL perl then with a game? <br />
+<br />
+I started hacking a small point an click game a few days back. I really didn't have a idea in mind, but I did have a goal. I wanted to make a game that shows the basics of a game in SDL. Drawing to screen, game loops, physics and so on. I think I have accomplished it so far. <br />
+<br />
+Take a look at it <a alt="Click the balls to win" href="http://gist.github.com/301949">here</a>. Download that and call it<a alt="Click the balls to win" href="http://gist.github.com/301949">[Shooter.pl]</a>. To win click the balls.<br />
+<br />
+To play this game you need the following:<br />
+<br />
+<ul><li> <b>Only for Linux)</b> sudo apt-get install libsdl-dev libsdl_gfx-dev </li>
+<li> cpan Alien::SDL </li>
+<li> Click Download Source http://github.com/kthakore/SDL_perl/tree/redesign </li>
+<li> Extract it </li>
+<li> perl Build.PL; perl Build; perl Build install </li>
+<li> perl Shooter.pl </li>
+</ul><br />
+I will put up binaries soon-ish.<br />
+<br />
+It is a playable (albeit hard) game right now. All 7 seven levels of it. The purpose of the game is simple click the balls to win. Sounds easy but it isn't. You also get a time in milliseconds after each level. Share your scores on here! I will leave it up to you guys to be honest. <br />
+<br />
+I do have to tidy it up and right documentation for it. This way I will be able to present it clearly to my fellow mongers. I am also still looking for ideas to make this a more polished game. FROGGS recommend I make it a classic NES duck hunt game. I thought since I am using gravity I could do a UFO game out of it where you shoot the UFOs. I am open to your ideas.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1585061047069454098?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/xSNM-fJPtTMLn88P3vJeOy3aoV4/0/da"><img src="http://feedads.g.doubleclick.net/~a/xSNM-fJPtTMLn88P3vJeOy3aoV4/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/xSNM-fJPtTMLn88P3vJeOy3aoV4/1/da"><img src="http://feedads.g.doubleclick.net/~a/xSNM-fJPtTMLn88P3vJeOy3aoV4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/oR6t0trX8yM" height="1" width="1"/></div></div>
\ No newline at end of file
index c3b4a76..1cfd8ae 100644 (file)
@@ -1,22 +1,14 @@
 <div class="blog">
 <h1 id="NAME">
-Developer Release of SDL 2.3_1
+SDL_perl 2.3_5 is out!
 </h1>
 <div class="CONTENT">
-<div style="text-align: right;"><i><br />
-The city of Rome was built,<br />
-with the first brick.<br />
-</i><br />
+<div style="text-align: right;"><i>We keep on rolling,<br />
+rolling,<br />
+waiting on the world to turn.</i><br />
 </div><br />
-<h1>Alpha Release of new API</h1>After a considerable amount of hacking and rewriting we have release the first development release of SDL perl on <a href="http://search.cpan.org/%7Ekthakore/SDL-2.3_1/">CPAN</a>. <br />
+So a new alpha is out on <a href="http://search.cpan.org/~kthakore/SDL-2.3_5/">CPAN</a>, after a bit of a break. We are trying to pick up our speed again. Hopefully we can get back to the weekly updates. This week I am going to try to get Mixer and TTF bindings test, redesigned and doc'd. Hopefully soon we can start working on Frozen Bubble, as things are starting to come together. This alpha release has finally given us a good implementation of SDL Timers. Also <a href="http://daniel.ruoso.com/categoria/perl/games-perl-1">Daniel Ruoso</a> has also started a series blog posts of making games with SDL Perl. Hopefully this can get more people in SDL, cause we can sure use the help!<br />
 <br />
-<h2>Overview of 2.3_1</h2>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 <a href="http://cpansearch.perl.org/src/KTHAKORE/SDL-2.3_1/CHANGELOG">CHANGELOG</a> for a more detailed look. <br />
-<br />
-<br />
-<h2>Next steps</h2><ul><li>Complete bindings for Image, Mixer, ... so on</li>
-<li>Come up with a method to provide threading in callbacks</li>
-<li>Maintain and improve SDL Core as results for CPANTS come in </li>
-</ul><br />
---yapgh<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1644800761128707914?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/LRp4Q1Vj8DGepQytm4_rIT1cLAA/0/da"><img src="http://feedads.g.doubleclick.net/~a/LRp4Q1Vj8DGepQytm4_rIT1cLAA/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/LRp4Q1Vj8DGepQytm4_rIT1cLAA/1/da"><img src="http://feedads.g.doubleclick.net/~a/LRp4Q1Vj8DGepQytm4_rIT1cLAA/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/u8y2RsV7aro" height="1" width="1"/></div></div>
\ No newline at end of file
+<i>More to come --yapgh</i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-896792692004201189?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/4quTwaND98TUWSbz_Ylz6gI9ET8/0/da"><img src="http://feedads.g.doubleclick.net/~a/4quTwaND98TUWSbz_Ylz6gI9ET8/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/4quTwaND98TUWSbz_Ylz6gI9ET8/1/da"><img src="http://feedads.g.doubleclick.net/~a/4quTwaND98TUWSbz_Ylz6gI9ET8/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/EOF919S-yGg" height="1" width="1"/></div></div>
\ No newline at end of file
index ab2aa11..64faf76 100644 (file)
@@ -1,17 +1,23 @@
 <div class="blog">
 <h1 id="NAME">
-SDL Perl Documentation: Reviewers need
+Threaded XS callback finally gets solved.
 </h1>
 <div class="CONTENT">
 <div style="text-align: right;"><i><br />
-The written word, <br />
-survives; <br />
-the tests of Time,<br />
-the fires of Hades,<br />
-and wrath of Pluto.<br />
+Dragged down from the lofty isles,<br />
+into the guts and gore of the monster,<br />
+a welcoming cringe in the gut approaches. <br />
 </i><br />
 </div><br />
-<h1>Documentation </h1><p>In an effort to learn from past versions of SDL Perl and improve. We have been writing lots of documentation for our users. Of course since this is the first time we have been providing documentation we need your help. Please review our docs, at <a href="http://sdl.perl.org/documentation.html">sdl.perl.org</a> and give us some feed back. Send us the feeback at sdl-devel@mail.org or join us at #sdl irc.perl.org</p><br />
-<i>--yapgh</i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1574568821593098925?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/VvEuEQbih1n042j8cAGxEVAiawg/0/da"><img src="http://feedads.g.doubleclick.net/~a/VvEuEQbih1n042j8cAGxEVAiawg/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/VvEuEQbih1n042j8cAGxEVAiawg/1/da"><img src="http://feedads.g.doubleclick.net/~a/VvEuEQbih1n042j8cAGxEVAiawg/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/PAyq7Lab9no" height="1" width="1"/></div></div>
\ No newline at end of file
+<br />
+So I was planning staying silent until an exam I had was done. But new developers on IRC (j_king, felix and ruoso) pull me back in. Which is a good thing ... I suppose ... because we finally have threaded callbacks for timer and audiospec to work. ruoso++ for this major contribution. If you remember this was the <a href="http://stackoverflow.com/questions/1791114/creating-threaded-callbacks-in-xs">problem</a> we were having. <br />
+<br />
+The new callbacks capability in audiospec allow you to procedurally generate sound now. If you would like a simple example take a look at <a href="http://github.com/kthakore/SDL_perl/blob/redesign/t/core_audiospec.t"> t/core_audiospec.t</a>. However a more fun example may be ruoso++'s <a href="http://github.com/ruoso/tecla">tecla</a> (a game for toddlers).  Myself and Garu think it is a work of art but that is only because we are toddlers. <br />
+<br />
+On a side note some tickets on RT have also received some love ( after 3 or 4 years ... but nonetheless). TonyC++ sorry for the long time in response. <br />
+<br />
+More information on the <a href="http://github.com/kthakore/SDL_perl/blob/redesign/CHANGELOG">CHANGELOG</a>. <br />
+<br />
+Also a shout out to FROGGS for his new SON!!!.  Congrats buddy!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-6642671796628033537?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/tCttmYltlTls5VMK61L-TEYAkA4/0/da"><img src="http://feedads.g.doubleclick.net/~a/tCttmYltlTls5VMK61L-TEYAkA4/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/tCttmYltlTls5VMK61L-TEYAkA4/1/da"><img src="http://feedads.g.doubleclick.net/~a/tCttmYltlTls5VMK61L-TEYAkA4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/AQmkpsuSquI" height="1" width="1"/></div></div>
\ No newline at end of file
index 84a740f..21daaf4 100644 (file)
@@ -1,35 +1,18 @@
 <div class="blog">
 <h1 id="NAME">
-Migrating Sol's Tutorial of SDL to SDL_Perl
+SDL Alpha 2: A sneak preview
 </h1>
 <div class="CONTENT">
-<div style="text-align: right;"><i>If I have seen further it is only by standing on the shoulders of giants. --Newton</i><br />
+<div style="text-align: right;"><i>Pretty or Ugly,</i><br />
+</div><div style="text-align: right;"><i>Code is Code</i><br />
+</div><div style="text-align: right;"><i>New or Old,</i><br />
+</div><div style="text-align: right;"><i>Code is Code</i><br />
+</div><div style="text-align: right;"><i>Fast or Slow</i><br />
+</div><div style="text-align: right;"><i>Code is Code&nbsp;</i> <br />
 </div><br />
-<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/_NnqjAQEn1Xo/SwBpohYidDI/AAAAAAAAAB4/51y9QJh5osI/s1600-h/solsch2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_NnqjAQEn1Xo/SwBpohYidDI/AAAAAAAAAB4/51y9QJh5osI/s320/solsch2.png" /></a><br />
-</div><br />
-<h1><a href="http://sol.gfxile.net/gp/index.html">Sol's Tutorials</a> </h1><br />
-<p>When I was struggling with SDL C a while ago, someone recommended <a href="http://sol.gfxile.net/gp/index.html">Sol's Tutorial</a> 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 <a href="http://github.com/kthakore/SDL_perl/blob/redesign/examples/sols/ch02.pl">Ch 02</a> 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!<br />
-</p><br />
-<p>To use this code you need the new Redesigned SDL_Perl Library </p><br />
-<h1>Getting SDL Dependencies </h1><br />
-Only If you are on Linux (debian/ubuntu) you need the following dependencies:<br />
-<br />
-<pre>$ 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 </pre><br />
-On Windows we recommend using <a href="http://strawberryperl.com/">Strawberry Perl</a>. It comes with SDL-1.2.13 header files and libs included.<br />
-<br />
-Both Windows and Linux needs to install Alien::SDL<br />
-<br />
-<pre>$ cpan Alien::SDL</pre>** Add sudo to this for Linux<br />
-<br />
-<h1>Getting Bleeding SDL </h1><br />
-The bleeding SDL is on github.  Click download on this <a href="http://github.com/kthakore/SDL_perl/tree/redesign"> site </a>.<br />
-<br />
-Extract it and cd into the folder run <br />
-<pre>$ cpan . </pre>** The dot is needed <br />
-** in Linux you may need to do sudo<br />
-<br />
-Then you can run this script by doing<br />
+So over the past week we have been working hard to release the next Alpha for SDL-2.3. In this release we have ported SDL_Image completely, fixed false negatives in our testing suite, improved conditional building. Also we have also started to migrate the very pretty SDL_GFX library. Here is the test for it, enjoy.<br />
 <br />
-<pre>$ perl examples/sols/ch02.pl </pre><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-3277380868908060119?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/bxmknqf-sayqUSokbyBxn8sn0KU/0/da"><img src="http://feedads.g.doubleclick.net/~a/bxmknqf-sayqUSokbyBxn8sn0KU/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/bxmknqf-sayqUSokbyBxn8sn0KU/1/da"><img src="http://feedads.g.doubleclick.net/~a/bxmknqf-sayqUSokbyBxn8sn0KU/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/P3w_zMpGuB8" height="1" width="1"/></div></div>
\ No newline at end of file
+<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/_NnqjAQEn1Xo/Sxu4V-sXPrI/AAAAAAAAACI/dmbHSG7C6I0/s1600-h/gfx.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/_NnqjAQEn1Xo/Sxu4V-sXPrI/AAAAAAAAACI/dmbHSG7C6I0/s320/gfx.png" /></a><br />
+</div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-3790085004408370126?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/7xpyLL3rBugowwzdsQdjo-K8JDE/0/da"><img src="http://feedads.g.doubleclick.net/~a/7xpyLL3rBugowwzdsQdjo-K8JDE/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/7xpyLL3rBugowwzdsQdjo-K8JDE/1/da"><img src="http://feedads.g.doubleclick.net/~a/7xpyLL3rBugowwzdsQdjo-K8JDE/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/ex5qVwfaErc" height="1" width="1"/></div></div>
\ No newline at end of file
index 0de3c83..c3b4a76 100644 (file)
@@ -1,59 +1,22 @@
 <div class="blog">
 <h1 id="NAME">
-Once in a while .... (set_event_filter)
+Developer Release of SDL 2.3_1
 </h1>
 <div class="CONTENT">
-<div style="text-align: right;"><i> <br />
-Once in a while <br />
-Things just work! <br />
+<div style="text-align: right;"><i><br />
+The city of Rome was built,<br />
+with the first brick.<br />
 </i><br />
 </div><br />
+<h1>Alpha Release of new API</h1>After a considerable amount of hacking and rewriting we have release the first development release of SDL perl on <a href="http://search.cpan.org/%7Ekthakore/SDL-2.3_1/">CPAN</a>. <br />
 <br />
-So I have been hacking for a while on SDL::Events::set_event_filter. The code below is an example usage. The magic behind this is <a href="http://github.com/kthakore/SDL_perl/blob/1712fe42d62c2a3e382e6bf91366eb2ce9d2f5f4/src/Core/Events.xs">here</a> <br />
+<h2>Overview of 2.3_1</h2>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 <a href="http://cpansearch.perl.org/src/KTHAKORE/SDL-2.3_1/CHANGELOG">CHANGELOG</a> for a more detailed look. <br />
 <br />
-<pre><a href="" name="line1"> 1</a> <span style="color: #444444;">#!/usr/bin/perl -w
-<a href="" name="line2"> 2</a> </span><b>use</b> strict;
-<a href="" name="line3"> 3</a> <b>use</b> warnings;
-<a href="" name="line4"> 4</a> <b>use</b> SDL v2.3; <span style="color: #444444;">#Require the redesign branch
-<a href="" name="line5"> 5</a> </span><b>use</b> SDL::Video;
-<a href="" name="line6"> 6</a> <b>use</b> SDL::Event;
-<a href="" name="line7"> 7</a> <b>use</b> SDL::Events;
-<a href="" name="line8"> 8</a> 
-<a href="" name="line9"> 9</a> SDL::init<span style="color: #4444ff;"><b>(</b></span>SDL_INIT_VIDEO<span style="color: #4444ff;"><b>)</b></span>;
-<a href="" name="line10">10</a> <b>my</b> <span style="color: #2040a0;">$display</span> = SDL::Video::set_video_mode<span style="color: #4444ff;"><b>(</b></span>640,480,32, SDL_SWSURFACE <span style="color: #4444ff;"><b>)</b></span>;
-<a href="" name="line11">11</a> <b>my</b>  <span style="color: #2040a0;">$event</span> = SDL::Event-&gt;<b>new</b><span style="color: #4444ff;"><b>(</b></span><span style="color: #4444ff;"><b>)</b></span>;
-<a href="" name="line12">12</a> 
-<a href="" name="line13">13</a> <span style="color: #444444;">#This filters out all ActiveEvents
-<a href="" name="line14">14</a> </span><b>my</b> <span style="color: #2040a0;">$filter</span> = sub <span style="color: #4444ff;"><b>{</b></span> 
-<a href="" name="line15">15</a>      <b>my</b> <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$e</span>, <span style="color: #2040a0;">$type</span><span style="color: #4444ff;"><b>)</b></span> = <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$_</span><span style="color: #4444ff;"><b>[</b></span>0<span style="color: #4444ff;"><b>]</b></span>, <span style="color: #2040a0;">$_</span><span style="color: #4444ff;"><b>[</b></span>0<span style="color: #4444ff;"><b>]</b></span>-&gt;type<span style="color: #4444ff;"><b>)</b></span>; 
-<a href="" name="line16">16</a>      <b>if</b><span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$type</span> == SDL_ACTIVEEVENT<span style="color: #4444ff;"><b>)</b></span><span style="color: #4444ff;"><b>{</b></span> <b>return</b> 0 <span style="color: #4444ff;"><b>}</b></span> 
-<a href="" name="line17">17</a>      <b>elsif</b><span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$type</span> == SDL_MOUSEBUTTONDOWN &amp;&amp; <span style="color: #2040a0;">$e</span>-&gt;button_button == 1<span style="color: #4444ff;"><b>)</b></span><span style="color: #4444ff;"><b>{</b></span> <b>return</b> 0 <span style="color: #4444ff;"><b>}</b></span>
-<a href="" name="line18">18</a>      <b>else</b> <span style="color: #4444ff;"><b>{</b></span> <b>return</b> 1; <span style="color: #4444ff;"><b>}</b></span>
-<a href="" name="line19">19</a>       <span style="color: #4444ff;"><b>}</b></span>;
-<a href="" name="line20">20</a> 
-<a href="" name="line21">21</a> SDL::Events::set_event_filter<span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$filter</span><span style="color: #4444ff;"><b>)</b></span>;
-<a href="" name="line22">22</a> 
-<a href="" name="line23">23</a> <b>while</b><span style="color: #4444ff;"><b>(</b></span>1<span style="color: #4444ff;"><b>)</b></span>
-<a href="" name="line24">24</a> <span style="color: #4444ff;"><b>{</b></span>
-<a href="" name="line25">25</a> 
-<a href="" name="line26">26</a>   SDL::Events::pump_events<span style="color: #4444ff;"><b>(</b></span><span style="color: #4444ff;"><b>)</b></span>;
-<a href="" name="line27">27</a>   <b>if</b><span style="color: #4444ff;"><b>(</b></span>SDL::Events::poll_event<span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span><span style="color: #4444ff;"><b>)</b></span><span style="color: #4444ff;"><b>)</b></span>
-<a href="" name="line28">28</a>   <span style="color: #4444ff;"><b>{</b></span>
-<a href="" name="line29">29</a> 
-<a href="" name="line30">30</a>   <b>if</b><span style="color: #4444ff;"><b>(</b></span>  <span style="color: #2040a0;">$event</span>-&gt;type == SDL_ACTIVEEVENT<span style="color: #4444ff;"><b>)</b></span>
-<a href="" name="line31">31</a>  <span style="color: #4444ff;"><b>{</b></span>
-<a href="" name="line32">32</a>  <span style="color: brown;"><b>print</b></span> <span style="color: green;">"Hello Mouse!!!<span style="color: #77dd77;">\n</span>"</span> <b>if</b> <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>-&gt;active_gain &amp;&amp; <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>-&gt;active_state == SDL_APPMOUSEFOCUS<span style="color: #4444ff;"><b>)</b></span> <span style="color: #4444ff;"><b>)</b></span>;
-<a href="" name="line33">33</a>  <span style="color: brown;"><b>print</b></span> <span style="color: green;">"Bye Mouse!!!<span style="color: #77dd77;">\n</span>"</span> <b>if</b> <span style="color: #4444ff;"><b>(</b></span>!<span style="color: #2040a0;">$event</span>-&gt;active_gain &amp;&amp; <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>-&gt;active_state == SDL_APPMOUSEFOCUS<span style="color: #4444ff;"><b>)</b></span> <span style="color: #4444ff;"><b>)</b></span>;
-<a href="" name="line34">34</a>         <span style="color: #4444ff;"><b>}</b></span>
-<a href="" name="line35">35</a>   <b>if</b><span style="color: #4444ff;"><b>(</b></span> <span style="color: #2040a0;">$event</span>-&gt;type == SDL_MOUSEBUTTONDOWN<span style="color: #4444ff;"><b>)</b></span>
-<a href="" name="line36">36</a>    <span style="color: #4444ff;"><b>{</b></span>
-<a href="" name="line37">37</a>  <b>my</b> <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$x</span>, <span style="color: #2040a0;">$y</span>, <span style="color: #2040a0;">$but</span> <span style="color: #4444ff;"><b>)</b></span> = <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>-&gt;button_x, <span style="color: #2040a0;">$event</span>-&gt;button_y, <span style="color: #2040a0;">$event</span>-&gt;button_button<span style="color: #4444ff;"><b>)</b></span>;
-<a href="" name="line38">38</a>  <span style="color: brown;"><b>warn</b></span> <span style="color: green;">"<span style="color: #2040a0;">$but</span> CLICK!!! at <span style="color: #2040a0;">$x</span> and <span style="color: #2040a0;">$y</span> <span style="color: #77dd77;">\n</span>"</span>;
-<a href="" name="line39">39</a>  <span style="color: #4444ff;"><b>}</b></span>
-<a href="" name="line40">40</a> 
-<a href="" name="line41">41</a>       <b>last</b> <b>if</b><span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>-&gt;type == SDL_QUIT<span style="color: #4444ff;"><b>)</b></span>;
-<a href="" name="line42">42</a>   <span style="color: #4444ff;"><b>}</b></span>
-<a href="" name="line43">43</a> <span style="color: #4444ff;"><b>}</b></span>
-<a href="" name="line44">44</a> SDL::quit<span style="color: #4444ff;"><b>(</b></span><span style="color: #4444ff;"><b>)</b></span>;&nbsp;</pre><pre>&nbsp;</pre><pre>&nbsp;</pre><pre>Tinker with $filter and look at perldoc lib/SDL/pods/Event.pod.&nbsp;</pre><pre>&nbsp;</pre><pre>Have fun,</pre><pre>--yapgh</pre><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-2301663122914111362?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/e5FjkjzCKI5FggkvV6c3mlOMCG4/0/da"><img src="http://feedads.g.doubleclick.net/~a/e5FjkjzCKI5FggkvV6c3mlOMCG4/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/e5FjkjzCKI5FggkvV6c3mlOMCG4/1/da"><img src="http://feedads.g.doubleclick.net/~a/e5FjkjzCKI5FggkvV6c3mlOMCG4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/nw1gIYSWG5M" height="1" width="1"/></div></div>
\ No newline at end of file
+<br />
+<h2>Next steps</h2><ul><li>Complete bindings for Image, Mixer, ... so on</li>
+<li>Come up with a method to provide threading in callbacks</li>
+<li>Maintain and improve SDL Core as results for CPANTS come in </li>
+</ul><br />
+--yapgh<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1644800761128707914?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/LRp4Q1Vj8DGepQytm4_rIT1cLAA/0/da"><img src="http://feedads.g.doubleclick.net/~a/LRp4Q1Vj8DGepQytm4_rIT1cLAA/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/LRp4Q1Vj8DGepQytm4_rIT1cLAA/1/da"><img src="http://feedads.g.doubleclick.net/~a/LRp4Q1Vj8DGepQytm4_rIT1cLAA/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/u8y2RsV7aro" height="1" width="1"/></div></div>
\ No newline at end of file
index e65be37..ab2aa11 100644 (file)
@@ -1,36 +1,17 @@
 <div class="blog">
 <h1 id="NAME">
-Hello Mouse? An Example of the New Event Code
+SDL Perl Documentation: Reviewers need
 </h1>
 <div class="CONTENT">
-<div style="text-align: right;"><i>Any code that is not marketed is dead code <br />
---mst</i><br />
+<div style="text-align: right;"><i><br />
+The written word, <br />
+survives; <br />
+the tests of Time,<br />
+the fires of Hades,<br />
+and wrath of Pluto.<br />
+</i><br />
 </div><br />
-You need the new code from the <b> <a href="http://http://github.com/kthakore/SDL_Perl/tree/redesign">redesign branch</a></b> to use this . <br />
-<br />
-<pre class="fake-gist" id="fake-gist-231987">#!/usr/bin/env perl
-
-use SDL;
-use SDL::Events;
-use SDL::Event;
-use SDL::Video; 
-
-SDL::init(SDL_INIT_VIDEO);
-
-my $display = SDL::Video::set_video_mode(640,480,32, SDL_SWSURFACE );
-my $event   = SDL::Event-&gt;new(); 
-
-while(1)
-{   
- SDL::Events::pump_events();  
-
- if(SDL::Events::poll_event($event) &amp;&amp; $event-&gt;type == SDL_ACTIVEEVENT)
- {
-  print "Hello Mouse!!!\n" if ($event-&gt;active_gain  &amp;&amp; ($event-&gt;active_state == SDL_APPMOUSEFOCUS) );
-  print "Bye Mouse!!!\n"   if (!$event-&gt;active_gain &amp;&amp; ($event-&gt;active_state == SDL_APPMOUSEFOCUS) );
- }   
- exit if($event-&gt;type == SDL_QUIT);
-}</pre><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4268622242266513664?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/VcCMh0XKi92JWmYoQnOB3cQLHtY/0/da"><img src="http://feedads.g.doubleclick.net/~a/VcCMh0XKi92JWmYoQnOB3cQLHtY/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/VcCMh0XKi92JWmYoQnOB3cQLHtY/1/da"><img src="http://feedads.g.doubleclick.net/~a/VcCMh0XKi92JWmYoQnOB3cQLHtY/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/xhzWiodiKJI" height="1" width="1"/></div></div>
\ No newline at end of file
+<h1>Documentation </h1><p>In an effort to learn from past versions of SDL Perl and improve. We have been writing lots of documentation for our users. Of course since this is the first time we have been providing documentation we need your help. Please review our docs, at <a href="http://sdl.perl.org/documentation.html">sdl.perl.org</a> and give us some feed back. Send us the feeback at sdl-devel@mail.org or join us at #sdl irc.perl.org</p><br />
+<i>--yapgh</i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1574568821593098925?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/VvEuEQbih1n042j8cAGxEVAiawg/0/da"><img src="http://feedads.g.doubleclick.net/~a/VvEuEQbih1n042j8cAGxEVAiawg/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/VvEuEQbih1n042j8cAGxEVAiawg/1/da"><img src="http://feedads.g.doubleclick.net/~a/VvEuEQbih1n042j8cAGxEVAiawg/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/PAyq7Lab9no" height="1" width="1"/></div></div>
\ No newline at end of file
index 5c755ef..84a740f 100644 (file)
@@ -1,19 +1,35 @@
 <div class="blog">
 <h1 id="NAME">
-Development Update
+Migrating Sol's Tutorial of SDL to SDL_Perl
 </h1>
 <div class="CONTENT">
-<div style="text-align: right;"><i>Short and Sweet</i><br />
+<div style="text-align: right;"><i>If I have seen further it is only by standing on the shoulders of giants. --Newton</i><br />
 </div><br />
-Had an exam on the weekend so I am a bit late. Here is the progress so far. <br />
-<ul><li> SDL::Video at 97% </li>
-<li> SDL::Events at 25% </li>
-<li> ~1000 tests cases passing on Windows and Linux </li>
-</ul><br />
-<a href="http://sdlperl.ath.cx:8080/app/public_graphs/start/1"><img alt="SDL Smoke tests" src="http://sdlperl.ath.cx:8080/app/public_graphs/image/1" /> </a><br />
+<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/_NnqjAQEn1Xo/SwBpohYidDI/AAAAAAAAAB4/51y9QJh5osI/s1600-h/solsch2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_NnqjAQEn1Xo/SwBpohYidDI/AAAAAAAAAB4/51y9QJh5osI/s320/solsch2.png" /></a><br />
+</div><br />
+<h1><a href="http://sol.gfxile.net/gp/index.html">Sol's Tutorials</a> </h1><br />
+<p>When I was struggling with SDL C a while ago, someone recommended <a href="http://sol.gfxile.net/gp/index.html">Sol's Tutorial</a> 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 <a href="http://github.com/kthakore/SDL_perl/blob/redesign/examples/sols/ch02.pl">Ch 02</a> 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!<br />
+</p><br />
+<p>To use this code you need the new Redesigned SDL_Perl Library </p><br />
+<h1>Getting SDL Dependencies </h1><br />
+Only If you are on Linux (debian/ubuntu) you need the following dependencies:<br />
+<br />
+<pre>$ 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 </pre><br />
+On Windows we recommend using <a href="http://strawberryperl.com/">Strawberry Perl</a>. It comes with SDL-1.2.13 header files and libs included.<br />
+<br />
+Both Windows and Linux needs to install Alien::SDL<br />
+<br />
+<pre>$ cpan Alien::SDL</pre>** Add sudo to this for Linux<br />
+<br />
+<h1>Getting Bleeding SDL </h1><br />
+The bleeding SDL is on github.  Click download on this <a href="http://github.com/kthakore/SDL_perl/tree/redesign"> site </a>.<br />
+<br />
+Extract it and cd into the folder run <br />
+<pre>$ cpan . </pre>** The dot is needed <br />
+** in Linux you may need to do sudo<br />
 <br />
-The major release maybe coming quicker than we thought. FROGGS++ for helping a lot out on this. However we need <b>more testers!!</b> Please contact us on <a href="http://widget.mibbit.com/?settings=89f140215d60860684cee2f6a917607f&amp;server=irc.perl.org&amp;channel=%23sdl">#sdl</a> and we will set you up with an account on <a href="http://sdlperl.ath.cx:8080/">Smolder</a>.<br />
+Then you can run this script by doing<br />
 <br />
-[Edit] Please read http://sdlperl.ath.cx/projects/SDLPerl/wiki/Testing on how to get started in test!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4856093544888768121?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/iNba2gA-YLXS0fRXF6LjIFAx2RY/0/da"><img src="http://feedads.g.doubleclick.net/~a/iNba2gA-YLXS0fRXF6LjIFAx2RY/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/iNba2gA-YLXS0fRXF6LjIFAx2RY/1/da"><img src="http://feedads.g.doubleclick.net/~a/iNba2gA-YLXS0fRXF6LjIFAx2RY/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/Oj7yQkxCPjs" height="1" width="1"/></div></div>
\ No newline at end of file
+<pre>$ perl examples/sols/ch02.pl </pre><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-3277380868908060119?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/bxmknqf-sayqUSokbyBxn8sn0KU/0/da"><img src="http://feedads.g.doubleclick.net/~a/bxmknqf-sayqUSokbyBxn8sn0KU/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/bxmknqf-sayqUSokbyBxn8sn0KU/1/da"><img src="http://feedads.g.doubleclick.net/~a/bxmknqf-sayqUSokbyBxn8sn0KU/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/P3w_zMpGuB8" height="1" width="1"/></div></div>
\ No newline at end of file
index e9ae7e4..0de3c83 100644 (file)
@@ -1,29 +1,59 @@
 <div class="blog">
 <h1 id="NAME">
-Development Update
+Once in a while .... (set_event_filter)
 </h1>
 <div class="CONTENT">
-<div style="text-align: right;"><i><br />
-A stoic stone will sit idle, <br />
-but will some effort,<br />
-A rolling rock will run!<br />
+<div style="text-align: right;"><i> <br />
+Once in a while <br />
+Things just work! <br />
 </i><br />
 </div><br />
-In the past week the SDL Perl team has been busy! This is what we have accomplished<br />
 <br />
-<br />
-<h3>Commitment to Testing!</h3>In an effort to focus on continuing our focus on testing we have setup a <a href="http://sdlperl.ath.cx:8080/app/public_projects/smoke_reports/1">Smolder</a> 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.<br />
-<br />
-<h3>SDL::Video</h3>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 <a href="http://bit.ly/2ar7bK">50% done</a>. 19 functions out of 38 functions have been implemented and tested. <br />
-<br />
-<br />
-<h3>Site Redesign + Migration</h3>On the end of the spectrum, Froggs has been hard at work on the <a href="http://froggs.de/sdlperl/">graphical design </a>of the site. More over with mst's help we will soon be migrating to http://sdl.perl.org. <br />
-<br />
-<br />
-<br />
-<h3>Documentation</h3>Moreover this week we have seen an increase effort from magnet on the <a href="http://github.com/kthakore/SDL_perl/commits/redesign">SDL docs</a>. Kudos!<br />
-<br />
-<br />
-<h3>SWIG Experimentation</h3>Finally <a href="http://github.com/kthakore/SDL_perl/commits/swig">Katrina</a> has begun looking into SWIG as alternative for SDL in the future.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-5353247044730007101?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/AJN8bYfVRRvf2r11XrVe85gGcF4/0/da"><img src="http://feedads.g.doubleclick.net/~a/AJN8bYfVRRvf2r11XrVe85gGcF4/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/AJN8bYfVRRvf2r11XrVe85gGcF4/1/da"><img src="http://feedads.g.doubleclick.net/~a/AJN8bYfVRRvf2r11XrVe85gGcF4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/hJ7NPW5Bawg" height="1" width="1"/></div></div>
\ No newline at end of file
+So I have been hacking for a while on SDL::Events::set_event_filter. The code below is an example usage. The magic behind this is <a href="http://github.com/kthakore/SDL_perl/blob/1712fe42d62c2a3e382e6bf91366eb2ce9d2f5f4/src/Core/Events.xs">here</a> <br />
+<br />
+<pre><a href="" name="line1"> 1</a> <span style="color: #444444;">#!/usr/bin/perl -w
+<a href="" name="line2"> 2</a> </span><b>use</b> strict;
+<a href="" name="line3"> 3</a> <b>use</b> warnings;
+<a href="" name="line4"> 4</a> <b>use</b> SDL v2.3; <span style="color: #444444;">#Require the redesign branch
+<a href="" name="line5"> 5</a> </span><b>use</b> SDL::Video;
+<a href="" name="line6"> 6</a> <b>use</b> SDL::Event;
+<a href="" name="line7"> 7</a> <b>use</b> SDL::Events;
+<a href="" name="line8"> 8</a> 
+<a href="" name="line9"> 9</a> SDL::init<span style="color: #4444ff;"><b>(</b></span>SDL_INIT_VIDEO<span style="color: #4444ff;"><b>)</b></span>;
+<a href="" name="line10">10</a> <b>my</b> <span style="color: #2040a0;">$display</span> = SDL::Video::set_video_mode<span style="color: #4444ff;"><b>(</b></span>640,480,32, SDL_SWSURFACE <span style="color: #4444ff;"><b>)</b></span>;
+<a href="" name="line11">11</a> <b>my</b>  <span style="color: #2040a0;">$event</span> = SDL::Event-&gt;<b>new</b><span style="color: #4444ff;"><b>(</b></span><span style="color: #4444ff;"><b>)</b></span>;
+<a href="" name="line12">12</a> 
+<a href="" name="line13">13</a> <span style="color: #444444;">#This filters out all ActiveEvents
+<a href="" name="line14">14</a> </span><b>my</b> <span style="color: #2040a0;">$filter</span> = sub <span style="color: #4444ff;"><b>{</b></span> 
+<a href="" name="line15">15</a>      <b>my</b> <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$e</span>, <span style="color: #2040a0;">$type</span><span style="color: #4444ff;"><b>)</b></span> = <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$_</span><span style="color: #4444ff;"><b>[</b></span>0<span style="color: #4444ff;"><b>]</b></span>, <span style="color: #2040a0;">$_</span><span style="color: #4444ff;"><b>[</b></span>0<span style="color: #4444ff;"><b>]</b></span>-&gt;type<span style="color: #4444ff;"><b>)</b></span>; 
+<a href="" name="line16">16</a>      <b>if</b><span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$type</span> == SDL_ACTIVEEVENT<span style="color: #4444ff;"><b>)</b></span><span style="color: #4444ff;"><b>{</b></span> <b>return</b> 0 <span style="color: #4444ff;"><b>}</b></span> 
+<a href="" name="line17">17</a>      <b>elsif</b><span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$type</span> == SDL_MOUSEBUTTONDOWN &amp;&amp; <span style="color: #2040a0;">$e</span>-&gt;button_button == 1<span style="color: #4444ff;"><b>)</b></span><span style="color: #4444ff;"><b>{</b></span> <b>return</b> 0 <span style="color: #4444ff;"><b>}</b></span>
+<a href="" name="line18">18</a>      <b>else</b> <span style="color: #4444ff;"><b>{</b></span> <b>return</b> 1; <span style="color: #4444ff;"><b>}</b></span>
+<a href="" name="line19">19</a>       <span style="color: #4444ff;"><b>}</b></span>;
+<a href="" name="line20">20</a> 
+<a href="" name="line21">21</a> SDL::Events::set_event_filter<span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$filter</span><span style="color: #4444ff;"><b>)</b></span>;
+<a href="" name="line22">22</a> 
+<a href="" name="line23">23</a> <b>while</b><span style="color: #4444ff;"><b>(</b></span>1<span style="color: #4444ff;"><b>)</b></span>
+<a href="" name="line24">24</a> <span style="color: #4444ff;"><b>{</b></span>
+<a href="" name="line25">25</a> 
+<a href="" name="line26">26</a>   SDL::Events::pump_events<span style="color: #4444ff;"><b>(</b></span><span style="color: #4444ff;"><b>)</b></span>;
+<a href="" name="line27">27</a>   <b>if</b><span style="color: #4444ff;"><b>(</b></span>SDL::Events::poll_event<span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span><span style="color: #4444ff;"><b>)</b></span><span style="color: #4444ff;"><b>)</b></span>
+<a href="" name="line28">28</a>   <span style="color: #4444ff;"><b>{</b></span>
+<a href="" name="line29">29</a> 
+<a href="" name="line30">30</a>   <b>if</b><span style="color: #4444ff;"><b>(</b></span>  <span style="color: #2040a0;">$event</span>-&gt;type == SDL_ACTIVEEVENT<span style="color: #4444ff;"><b>)</b></span>
+<a href="" name="line31">31</a>  <span style="color: #4444ff;"><b>{</b></span>
+<a href="" name="line32">32</a>  <span style="color: brown;"><b>print</b></span> <span style="color: green;">"Hello Mouse!!!<span style="color: #77dd77;">\n</span>"</span> <b>if</b> <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>-&gt;active_gain &amp;&amp; <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>-&gt;active_state == SDL_APPMOUSEFOCUS<span style="color: #4444ff;"><b>)</b></span> <span style="color: #4444ff;"><b>)</b></span>;
+<a href="" name="line33">33</a>  <span style="color: brown;"><b>print</b></span> <span style="color: green;">"Bye Mouse!!!<span style="color: #77dd77;">\n</span>"</span> <b>if</b> <span style="color: #4444ff;"><b>(</b></span>!<span style="color: #2040a0;">$event</span>-&gt;active_gain &amp;&amp; <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>-&gt;active_state == SDL_APPMOUSEFOCUS<span style="color: #4444ff;"><b>)</b></span> <span style="color: #4444ff;"><b>)</b></span>;
+<a href="" name="line34">34</a>         <span style="color: #4444ff;"><b>}</b></span>
+<a href="" name="line35">35</a>   <b>if</b><span style="color: #4444ff;"><b>(</b></span> <span style="color: #2040a0;">$event</span>-&gt;type == SDL_MOUSEBUTTONDOWN<span style="color: #4444ff;"><b>)</b></span>
+<a href="" name="line36">36</a>    <span style="color: #4444ff;"><b>{</b></span>
+<a href="" name="line37">37</a>  <b>my</b> <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$x</span>, <span style="color: #2040a0;">$y</span>, <span style="color: #2040a0;">$but</span> <span style="color: #4444ff;"><b>)</b></span> = <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>-&gt;button_x, <span style="color: #2040a0;">$event</span>-&gt;button_y, <span style="color: #2040a0;">$event</span>-&gt;button_button<span style="color: #4444ff;"><b>)</b></span>;
+<a href="" name="line38">38</a>  <span style="color: brown;"><b>warn</b></span> <span style="color: green;">"<span style="color: #2040a0;">$but</span> CLICK!!! at <span style="color: #2040a0;">$x</span> and <span style="color: #2040a0;">$y</span> <span style="color: #77dd77;">\n</span>"</span>;
+<a href="" name="line39">39</a>  <span style="color: #4444ff;"><b>}</b></span>
+<a href="" name="line40">40</a> 
+<a href="" name="line41">41</a>       <b>last</b> <b>if</b><span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>-&gt;type == SDL_QUIT<span style="color: #4444ff;"><b>)</b></span>;
+<a href="" name="line42">42</a>   <span style="color: #4444ff;"><b>}</b></span>
+<a href="" name="line43">43</a> <span style="color: #4444ff;"><b>}</b></span>
+<a href="" name="line44">44</a> SDL::quit<span style="color: #4444ff;"><b>(</b></span><span style="color: #4444ff;"><b>)</b></span>;&nbsp;</pre><pre>&nbsp;</pre><pre>&nbsp;</pre><pre>Tinker with $filter and look at perldoc lib/SDL/pods/Event.pod.&nbsp;</pre><pre>&nbsp;</pre><pre>Have fun,</pre><pre>--yapgh</pre><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-2301663122914111362?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/e5FjkjzCKI5FggkvV6c3mlOMCG4/0/da"><img src="http://feedads.g.doubleclick.net/~a/e5FjkjzCKI5FggkvV6c3mlOMCG4/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/e5FjkjzCKI5FggkvV6c3mlOMCG4/1/da"><img src="http://feedads.g.doubleclick.net/~a/e5FjkjzCKI5FggkvV6c3mlOMCG4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/nw1gIYSWG5M" height="1" width="1"/></div></div>
\ No newline at end of file
index be4934e..e65be37 100644 (file)
@@ -1,26 +1,36 @@
 <div class="blog">
 <h1 id="NAME">
-The Future and Beyond!
+Hello Mouse? An Example of the New Event Code
 </h1>
 <div class="CONTENT">
-<div style="text-align: right;"><i>I do not think about awesomeness...<br />
-I just am awesomeness<br />
-n.n<br />
---<a href="http://irclog.perlgeek.de/sdl/2009-10-20#i_1620287">KatrinaTheLamia</a></i><br />
+<div style="text-align: right;"><i>Any code that is not marketed is dead code <br />
+--mst</i><br />
 </div><br />
-<h3>Updates</h3>Since the last post SDL Perl has seen an increase of interest to both use and contribute to SDL Perl. Before I dig into the updates, I would like to acknowledge them.<br />
-<h3>Core Development</h3><b>Acme (<a href="http://use.perl.org/%7Eacme/journal/">Leon Brocard</a>):</b> Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation. <br />
+You need the new code from the <b> <a href="http://http://github.com/kthakore/SDL_Perl/tree/redesign">redesign branch</a></b> to use this . <br />
 <br />
-<h3>Website and Windows Testing</h3><b>FROGGS (Tobias Leich):</b> Came in as a new user to SDL Perl. And after breaking the redesigned SDL Perl in as many ways possible he has decided to help out on the new site. <br />
-<br />
-<br />
-<h3>Last Legacy Release</h3><br />
-Ok! Now this weekend hopefully we will release our last legacy release, after this we move on! This release will focus on showing of SDL + Perl possibilities.<br />
-<h3>Pong + SDL::Game::Rect</h3><a href="http://onionstand.blogspot.com/">garu</a> has been working on making SDL object extensions that provide a more perly way to use and play with the SDL bindings. To demonstrate the benefits of this SDL::Tutorial::Pong is done and being polished up. SDL::Game::Rect is a peek in to the design and vision we have for SDL down the road.<br />
-<h3>Design</h3>The design we have settled on for future release for SDL Perl can be broken in to two layers, SDL::* and SDL::Game::*. Previously the SDL Perl library tried to provide C bindings and provide Perl Idiomatic access. This was messy in regards to the single responsibility principle (do one thing and do it well).<br />
-<br />
-We have decided to separate these two focuses into the two name spaces SDL::* and SDL::Game::*. SDL::* will provide straight access to SDL's C API, nothing less and nothing more. SDL::Game::* will extend and make pretty unicorns for Perl. <br />
-<br />
-This design has already begin to pay of. One major benefit been in the XS <a href="http://github.com/kthakore/SDL_perl/commit/20f544ea4f3e7b34c68445aba89ed9c69d411ddf">readability</a>. Moreover since structs are treated as objects, Perl manages their destruction, and deliver less memory leaks.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4327446497206876141?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/SxZJQYdkG8_YzEHzsEro4b9mCZ8/0/da"><img src="http://feedads.g.doubleclick.net/~a/SxZJQYdkG8_YzEHzsEro4b9mCZ8/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/SxZJQYdkG8_YzEHzsEro4b9mCZ8/1/da"><img src="http://feedads.g.doubleclick.net/~a/SxZJQYdkG8_YzEHzsEro4b9mCZ8/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/JNZlGzpmYZQ" height="1" width="1"/></div></div>
\ No newline at end of file
+<pre class="fake-gist" id="fake-gist-231987">#!/usr/bin/env perl
+
+use SDL;
+use SDL::Events;
+use SDL::Event;
+use SDL::Video; 
+
+SDL::init(SDL_INIT_VIDEO);
+
+my $display = SDL::Video::set_video_mode(640,480,32, SDL_SWSURFACE );
+my $event   = SDL::Event-&gt;new(); 
+
+while(1)
+{   
+ SDL::Events::pump_events();  
+
+ if(SDL::Events::poll_event($event) &amp;&amp; $event-&gt;type == SDL_ACTIVEEVENT)
+ {
+  print "Hello Mouse!!!\n" if ($event-&gt;active_gain  &amp;&amp; ($event-&gt;active_state == SDL_APPMOUSEFOCUS) );
+  print "Bye Mouse!!!\n"   if (!$event-&gt;active_gain &amp;&amp; ($event-&gt;active_state == SDL_APPMOUSEFOCUS) );
+ }   
+ exit if($event-&gt;type == SDL_QUIT);
+}</pre><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4268622242266513664?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/VcCMh0XKi92JWmYoQnOB3cQLHtY/0/da"><img src="http://feedads.g.doubleclick.net/~a/VcCMh0XKi92JWmYoQnOB3cQLHtY/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/VcCMh0XKi92JWmYoQnOB3cQLHtY/1/da"><img src="http://feedads.g.doubleclick.net/~a/VcCMh0XKi92JWmYoQnOB3cQLHtY/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/xhzWiodiKJI" height="1" width="1"/></div></div>
\ No newline at end of file
index f5d4032..5c755ef 100644 (file)
@@ -1,26 +1,19 @@
 <div class="blog">
 <h1 id="NAME">
-The beginnings of modular design for SDL Perl
+Development Update
 </h1>
 <div class="CONTENT">
-<div style="text-align: right;"><i>“Do or do not... there is no try.”</i><br />
-</div><div style="text-align: right;"><i>--yoda </i><br />
+<div style="text-align: right;"><i>Short and Sweet</i><br />
+</div><br />
+Had an exam on the weekend so I am a bit late. Here is the progress so far. <br />
+<ul><li> SDL::Video at 97% </li>
+<li> SDL::Events at 25% </li>
+<li> ~1000 tests cases passing on Windows and Linux </li>
+</ul><br />
+<a href="http://sdlperl.ath.cx:8080/app/public_graphs/start/1"><img alt="SDL Smoke tests" src="http://sdlperl.ath.cx:8080/app/public_graphs/image/1" /> </a><br />
 <br />
-</div><h1>The design before</h1><br />
-The bindings before were all in <a href="http://github.com/kthakore/SDL_perl/blob/master/src/SDL.xs">one huge XS file</a>. This was then exported into the SDL module. This means that the XS file has to handle with macros if any component (e.x SDL_Mixer) is not compiled. Moreover having ever binding in one XS file prevents use to treat C structs as object with only one point of free and malloc. This would be BEGIN and DESTROY in Perl. Also the monolithic design introduces a lot of bugs because we have to use free and malloc all over the place. Lastly SDL monolithic design has the constructor for all structs in both Perl and in XS. <br />
+The major release maybe coming quicker than we thought. FROGGS++ for helping a lot out on this. However we need <b>more testers!!</b> Please contact us on <a href="http://widget.mibbit.com/?settings=89f140215d60860684cee2f6a917607f&amp;server=irc.perl.org&amp;channel=%23sdl">#sdl</a> and we will set you up with an account on <a href="http://sdlperl.ath.cx:8080/">Smolder</a>.<br />
 <br />
-<h1>The design we are aiming for</h1>Simple <a href="http://github.com/kthakore/SDL_perl/blob/master/src/Rect.xs">one XS</a> per Module. This would also simplify the Build code.<br />
-<br />
-<h2>First Step </h2><br />
-We have began with SDL Rect. It is in github master branch now. We are in the progress of making it back compatible. Originally SDL::Rect took named variables as parameters for new(). Now since the constructor <a href="http://github.com/kthakore/SDL_perl/blob/master/src/Rect.xs#L16">is in XS</a> we have only unnamed parameters. <br />
-<br />
-<br />
-<h3>Before</h3><br />
-SDL::Rect-&gt;new( -x =&gt; 0, -y =&gt; 0, -width =&gt; 0, -height =&gt; 0);<br />
-<br />
-<h3>After</h3><br />
-SDL::Rect-&gt;new(0, 0, 0, 0);<br />
-<br />
-Ideally we would like both ways of constructing Rect.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-6151839795039915111?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/kLUEuAPtuInPChqB2WfChUn3YyI/0/da"><img src="http://feedads.g.doubleclick.net/~a/kLUEuAPtuInPChqB2WfChUn3YyI/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/kLUEuAPtuInPChqB2WfChUn3YyI/1/da"><img src="http://feedads.g.doubleclick.net/~a/kLUEuAPtuInPChqB2WfChUn3YyI/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/uEzoBWRJEks" height="1" width="1"/></div></div>
\ No newline at end of file
+[Edit] Please read http://sdlperl.ath.cx/projects/SDLPerl/wiki/Testing on how to get started in test!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4856093544888768121?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/iNba2gA-YLXS0fRXF6LjIFAx2RY/0/da"><img src="http://feedads.g.doubleclick.net/~a/iNba2gA-YLXS0fRXF6LjIFAx2RY/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/iNba2gA-YLXS0fRXF6LjIFAx2RY/1/da"><img src="http://feedads.g.doubleclick.net/~a/iNba2gA-YLXS0fRXF6LjIFAx2RY/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/Oj7yQkxCPjs" height="1" width="1"/></div></div>
\ No newline at end of file
index bafe6a1..e9ae7e4 100644 (file)
@@ -1,34 +1,29 @@
 <div class="blog">
 <h1 id="NAME">
-Why and How Frozen Bubble is going to CPAN
+Development Update
 </h1>
 <div class="CONTENT">
-<div style="text-align: right;"><i>A single drop,</i><br />
-</div><div style="text-align: right;"><i>causes the ocean to swell</i><br />
-</div><div style="text-align: left;"><br />
-</div><div style="text-align: left;">So 5 weeks ago, SDL Perl was broken. It had been for several years. After the last release SDL Perl works ... somewhat. The quick releases that you have seen have been work-arounds, fixes and refactoring. This is not bad for a few weeks of work but, there is a point where code smell and technical debt is too huge to fix with out redesigning. This is that point.<br />
-</div><div style="text-align: left;"><br />
-</div><div style="text-align: left;">Since the redesigning will take time and effort it will be good to have a leg up. This leg up is Frozen Bubble 2.20. Frozen Bubble employs a lot of C and Perl hacks to cover up for SDL Perl's lacking. This will help in a sense fast forward the code status to 2008. Since Frozen Bubble is helping us out, we can go one step forward and help it out! <br />
-</div><div style="text-align: left;"><br />
-</div><div style="text-align: left;">So Alias (Adam Kennedy) and I have started work on making Frozen Bubble CPAN accessible. Frozen Bubble is a well know game and making it cross-platform will bring lots of attention and hopefully contributions to SDL Perl.<br />
-</div><div style="text-align: left;"><br />
-</div><div style="text-align: left;">In Alias's <a href="http://use.perl.org/%7EAlias/journal/39701">earlier post</a> about this he mentioned about making a splash and some other stuff. I will talk about how and where we will be accomplishing this task. <br />
-</div><div style="text-align: left;"><br />
-</div><div style="text-align: left;">First we will be tracking Frozen Bubble on the new <a href="http://sdlperl.ath.cx/projects/SDLPerl/wiki">SDL Perl Trac website</a>. This site will be similar to Padre's Trac site. As a bonus for people looking to help out in SDL Perl I have separated tasks by <i>perceived </i>difficulty. This will help to breakdown harder task too.<br />
-</div><div style="text-align: left;"><br />
-</div><div style="text-align: left;">For example for Frozen Bubble the two major bumps we have run into so far are:<br />
-</div><div style="text-align: left;"><br />
-</div><div style="text-align: left;">Migrating the SDL Perl workarounds: <a href="http://sdlperl.ath.cx/projects/SDLPerl/ticket/3">Ticket #3</a><br />
-</div><div style="text-align: left;">Making the Build System Portable: <a href="http://sdlperl.ath.cx/projects/SDLPerl/ticket/7">Ticket #7</a><br />
-</div><div style="text-align: left;"><br />
-</div><div style="text-align: left;">The first one will be difficult as it involves XS. So I will break it down into easier tasks with specific instruction which can then hopefully be picked up by interested contributers. The second one there is sort of a forte of Adam so I will leave it up to him. This is the process I am proposing make hard tickets, break them down.<br />
-</div><div style="text-align: left;"><br />
-</div><div style="text-align: left;">This will generate a lot of easy tickets that will hopefully be synchronized.&nbsp; If you are interested in this please give me a shout on #sdl irc.perl.org or the mailing list at sdl-devel@perl.org and I will get you registered.<br />
-</div><div style="text-align: left;"><br />
-</div><div style="text-align: left;">--yapgh<br />
-</div><div style="text-align: left;"><br />
-</div><div style="text-align: left;"><br />
-</div><div style="text-align: left;"><br />
-</div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1296050942449452224?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/jPyY3iooiTlYdpCXSBfDyyNO-1c/0/da"><img src="http://feedads.g.doubleclick.net/~a/jPyY3iooiTlYdpCXSBfDyyNO-1c/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/jPyY3iooiTlYdpCXSBfDyyNO-1c/1/da"><img src="http://feedads.g.doubleclick.net/~a/jPyY3iooiTlYdpCXSBfDyyNO-1c/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/oXhO0UG4Xwc" height="1" width="1"/></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i><br />
+A stoic stone will sit idle, <br />
+but will some effort,<br />
+A rolling rock will run!<br />
+</i><br />
+</div><br />
+In the past week the SDL Perl team has been busy! This is what we have accomplished<br />
+<br />
+<br />
+<h3>Commitment to Testing!</h3>In an effort to focus on continuing our focus on testing we have setup a <a href="http://sdlperl.ath.cx:8080/app/public_projects/smoke_reports/1">Smolder</a> 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.<br />
+<br />
+<h3>SDL::Video</h3>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 <a href="http://bit.ly/2ar7bK">50% done</a>. 19 functions out of 38 functions have been implemented and tested. <br />
+<br />
+<br />
+<h3>Site Redesign + Migration</h3>On the end of the spectrum, Froggs has been hard at work on the <a href="http://froggs.de/sdlperl/">graphical design </a>of the site. More over with mst's help we will soon be migrating to http://sdl.perl.org. <br />
+<br />
+<br />
+<br />
+<h3>Documentation</h3>Moreover this week we have seen an increase effort from magnet on the <a href="http://github.com/kthakore/SDL_perl/commits/redesign">SDL docs</a>. Kudos!<br />
+<br />
+<br />
+<h3>SWIG Experimentation</h3>Finally <a href="http://github.com/kthakore/SDL_perl/commits/swig">Katrina</a> has begun looking into SWIG as alternative for SDL in the future.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-5353247044730007101?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/AJN8bYfVRRvf2r11XrVe85gGcF4/0/da"><img src="http://feedads.g.doubleclick.net/~a/AJN8bYfVRRvf2r11XrVe85gGcF4/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/AJN8bYfVRRvf2r11XrVe85gGcF4/1/da"><img src="http://feedads.g.doubleclick.net/~a/AJN8bYfVRRvf2r11XrVe85gGcF4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/hJ7NPW5Bawg" height="1" width="1"/></div></div>
\ No newline at end of file
index 6f56f51..84f4577 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: API</h1><div><a href="blog-0005.html">Getting people to use SDL Perl: Docs, API, and Distribution</a><br /><span style="font-size: 10px">Friday, 07 May 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-API.html" style="font-size: 10px">[API]</a> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  The road so far  <br />Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. <a href="http://matrix.cpantesters.org/?dist=Alien-SDL+1.403">Alien::SDL 1.405  is behaving well. This foundational stability will start to show results in <a href="http://matrix.cpantesters.org/?dist=SDL+2.405">SDL  too I believe. Most excitingly the main developer of frozen-bubble is reviewing our <a href="http://search.cpan.org/~kthakore/Games-FrozenBubble-2.202/lib/Games/FrozenBubble.pm">Games::FrozenBubble  port to CPAN. All good and well, but to keep this project going we need to improve.<br />  Getting people to use SDL Perl  <br />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. <br />  Tutorials/Documentation<br /> <br />  We have more docs now on http://sdl.perl.org but they suck <br /> What type of tutorials do you think will be good for beginners? <br />  A project start to finish? <br /> Individual tutorials for various topics? <br /> What needs to go in SDL::CookBook? <br />  <br /> API sweetness <br />  SDL Perl depends on distinct C libraries <br />  This makes naming conventions, data formats different the SDL:: namespaces <br /> How do people design this stuff? <br />  We are hackers and we just go do stuff but I think this needs some prior thought <br /> Any takers? <br />   <br /> Distribution <br />  If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus <br />  One way is a Wx::Perl::Packer clone <br /> Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games?&nbsp; <br />    If anyone wants to help in these areas please talk to us on sdl-devel@perl.org.&nbsp;    <br /> <a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/EXlozhjfhdo" height="1" width="1"/><br /><a href="blog-0005.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: API</h1><div><a href="blog-0008.html">Getting people to use SDL Perl: Docs, API, and Distribution</a><br /><span style="font-size: 10px">Friday, 07 May 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-API.html" style="font-size: 10px">[API]</a> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  The road so far  <br />Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. <a href="http://matrix.cpantesters.org/?dist=Alien-SDL+1.403">Alien::SDL 1.405  is behaving well. This foundational stability will start to show results in <a href="http://matrix.cpantesters.org/?dist=SDL+2.405">SDL  too I believe. Most excitingly the main developer of frozen-bubble is reviewing our <a href="http://search.cpan.org/~kthakore/Games-FrozenBubble-2.202/lib/Games/FrozenBubble.pm">Games::FrozenBubble  port to CPAN. All good and well, but to keep this project going we need to improve.<br />  Getting people to use SDL Perl  <br />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. <br />  Tutorials/Documentation<br /> <br />  We have more docs now on http://sdl.perl.org but they suck <br /> What type of tutorials do you think will be good for beginners? <br />  A project start to finish? <br /> Individual tutorials for various topics? <br /> What needs to go in SDL::CookBook? <br />  <br /> API sweetness <br />  SDL Perl depends on distinct C libraries <br />  This makes naming conventions, data formats different the SDL:: namespaces <br /> How do people design this stuff? <br />  We are hackers and we just go do stuff but I think this needs some prior thought <br /> Any takers? <br />   <br /> Distribution <br />  If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus <br />  One way is a Wx::Perl::Packer clone <br /> Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games?&nbsp; <br />    If anyone wants to help in these areas please talk to us on sdl-devel@perl.org.&nbsp;    <br /> <a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/EXlozhjfhdo" height="1" width="1"/><br /><a href="blog-0008.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 07e70ed..33ce214 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Building</h1><div><a href="blog-0001.html">The Build Process of SDL Perl</a><br /><span style="font-size: 10px">Wednesday, 07 July 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Building.html" style="font-size: 10px">[Building]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> A while ago I had a long chat with mst on why SDL uses Module::Build rather then Make. I told him it is a simple matter of code inertia.  The existing Module::Build system has worked well for us so far. Never the less, he convinced me that switching to Make will improve debugging the Build system. But to be able to switch we will need to completely replace the Build system. I am not prepared to do that so I will just present the requirements so mst or someone else can at least attempt to switch. <br /> The Build Process  <br />  Alien::SDL  <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0011.html">New build system! Needs testing!</a><br /><span style="font-size: 10px">Thursday, 18 February 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Building.html" style="font-size: 10px">[Building]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  <br />  <br />  <br /><a href="blog-0011.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Building</h1><div><a href="blog-0004.html">The Build Process of SDL Perl</a><br /><span style="font-size: 10px">Wednesday, 07 July 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Building.html" style="font-size: 10px">[Building]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> A while ago I had a long chat with mst on why SDL uses Module::Build rather then Make. I told him it is a simple matter of code inertia.  The existing Module::Build system has worked well for us so far. Never the less, he convinced me that switching to Make will improve debugging the Build system. But to be able to switch we will need to completely replace the Build system. I am not prepared to do that so I will just present the requirements so mst or someone else can at least attempt to switch. <br /> The Build Process  <br />  Alien::SDL  <br /><a href="blog-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.html">New build system! Needs testing!</a><br /><span style="font-size: 10px">Thursday, 18 February 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Building.html" style="font-size: 10px">[Building]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  <br />  <br />  <br /><a href="blog-0014.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 57ddffe..4b2fd7f 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Design</h1><div><a href="blog-0005.html">Getting people to use SDL Perl: Docs, API, and Distribution</a><br /><span style="font-size: 10px">Friday, 07 May 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-API.html" style="font-size: 10px">[API]</a> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  The road so far  <br />Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. <a href="http://matrix.cpantesters.org/?dist=Alien-SDL+1.403">Alien::SDL 1.405  is behaving well. This foundational stability will start to show results in <a href="http://matrix.cpantesters.org/?dist=SDL+2.405">SDL  too I believe. Most excitingly the main developer of frozen-bubble is reviewing our <a href="http://search.cpan.org/~kthakore/Games-FrozenBubble-2.202/lib/Games/FrozenBubble.pm">Games::FrozenBubble  port to CPAN. All good and well, but to keep this project going we need to improve.<br />  Getting people to use SDL Perl  <br />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. <br />  Tutorials/Documentation<br /> <br />  We have more docs now on http://sdl.perl.org but they suck <br /> What type of tutorials do you think will be good for beginners? <br />  A project start to finish? <br /> Individual tutorials for various topics? <br /> What needs to go in SDL::CookBook? <br />  <br /> API sweetness <br />  SDL Perl depends on distinct C libraries <br />  This makes naming conventions, data formats different the SDL:: namespaces <br /> How do people design this stuff? <br />  We are hackers and we just go do stuff but I think this needs some prior thought <br /> Any takers? <br />   <br /> Distribution <br />  If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus <br />  One way is a Wx::Perl::Packer clone <br /> Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games?&nbsp; <br />    If anyone wants to help in these areas please talk to us on sdl-devel@perl.org.&nbsp;    <br /> <a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/EXlozhjfhdo" height="1" width="1"/><br /><a href="blog-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.html">The Future and Beyond!</a><br /><span style="font-size: 10px">Saturday, 24 October 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a></span><br />  I do not think about awesomeness...<br />I just am awesomeness<br />n.n<br /><a href="blog-0023.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.html">The beginnings of modular design for SDL Perl</a><br /><span style="font-size: 10px">Sunday, 11 October 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />  “Do or do not... there is no try.” <br />   --yoda  <br />  The design before <br /><a href="blog-0024.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Design</h1><div><a href="blog-0008.html">Getting people to use SDL Perl: Docs, API, and Distribution</a><br /><span style="font-size: 10px">Friday, 07 May 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-API.html" style="font-size: 10px">[API]</a> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  The road so far  <br />Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. <a href="http://matrix.cpantesters.org/?dist=Alien-SDL+1.403">Alien::SDL 1.405  is behaving well. This foundational stability will start to show results in <a href="http://matrix.cpantesters.org/?dist=SDL+2.405">SDL  too I believe. Most excitingly the main developer of frozen-bubble is reviewing our <a href="http://search.cpan.org/~kthakore/Games-FrozenBubble-2.202/lib/Games/FrozenBubble.pm">Games::FrozenBubble  port to CPAN. All good and well, but to keep this project going we need to improve.<br />  Getting people to use SDL Perl  <br />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. <br />  Tutorials/Documentation<br /> <br />  We have more docs now on http://sdl.perl.org but they suck <br /> What type of tutorials do you think will be good for beginners? <br />  A project start to finish? <br /> Individual tutorials for various topics? <br /> What needs to go in SDL::CookBook? <br />  <br /> API sweetness <br />  SDL Perl depends on distinct C libraries <br />  This makes naming conventions, data formats different the SDL:: namespaces <br /> How do people design this stuff? <br />  We are hackers and we just go do stuff but I think this needs some prior thought <br /> Any takers? <br />   <br /> Distribution <br />  If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus <br />  One way is a Wx::Perl::Packer clone <br /> Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games?&nbsp; <br />    If anyone wants to help in these areas please talk to us on sdl-devel@perl.org.&nbsp;    <br /> <a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/EXlozhjfhdo" height="1" width="1"/><br /><a href="blog-0008.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 4304e44..609acf8 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Docs</h1><div><a href="blog-0005.html">Getting people to use SDL Perl: Docs, API, and Distribution</a><br /><span style="font-size: 10px">Friday, 07 May 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-API.html" style="font-size: 10px">[API]</a> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  The road so far  <br />Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. <a href="http://matrix.cpantesters.org/?dist=Alien-SDL+1.403">Alien::SDL 1.405  is behaving well. This foundational stability will start to show results in <a href="http://matrix.cpantesters.org/?dist=SDL+2.405">SDL  too I believe. Most excitingly the main developer of frozen-bubble is reviewing our <a href="http://search.cpan.org/~kthakore/Games-FrozenBubble-2.202/lib/Games/FrozenBubble.pm">Games::FrozenBubble  port to CPAN. All good and well, but to keep this project going we need to improve.<br />  Getting people to use SDL Perl  <br />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. <br />  Tutorials/Documentation<br /> <br />  We have more docs now on http://sdl.perl.org but they suck <br /> What type of tutorials do you think will be good for beginners? <br />  A project start to finish? <br /> Individual tutorials for various topics? <br /> What needs to go in SDL::CookBook? <br />  <br /> API sweetness <br />  SDL Perl depends on distinct C libraries <br />  This makes naming conventions, data formats different the SDL:: namespaces <br /> How do people design this stuff? <br />  We are hackers and we just go do stuff but I think this needs some prior thought <br /> Any takers? <br />   <br /> Distribution <br />  If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus <br />  One way is a Wx::Perl::Packer clone <br /> Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games?&nbsp; <br />    If anyone wants to help in these areas please talk to us on sdl-devel@perl.org.&nbsp;    <br /> <a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/EXlozhjfhdo" height="1" width="1"/><br /><a href="blog-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.html">SDL Perl Documentation: Reviewers need</a><br /><span style="font-size: 10px">Thursday, 26 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  <br />The written word, <br />survives; <br /><a href="blog-0017.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Docs</h1><div><a href="blog-0008.html">Getting people to use SDL Perl: Docs, API, and Distribution</a><br /><span style="font-size: 10px">Friday, 07 May 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-API.html" style="font-size: 10px">[API]</a> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  The road so far  <br />Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. <a href="http://matrix.cpantesters.org/?dist=Alien-SDL+1.403">Alien::SDL 1.405  is behaving well. This foundational stability will start to show results in <a href="http://matrix.cpantesters.org/?dist=SDL+2.405">SDL  too I believe. Most excitingly the main developer of frozen-bubble is reviewing our <a href="http://search.cpan.org/~kthakore/Games-FrozenBubble-2.202/lib/Games/FrozenBubble.pm">Games::FrozenBubble  port to CPAN. All good and well, but to keep this project going we need to improve.<br />  Getting people to use SDL Perl  <br />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. <br />  Tutorials/Documentation<br /> <br />  We have more docs now on http://sdl.perl.org but they suck <br /> What type of tutorials do you think will be good for beginners? <br />  A project start to finish? <br /> Individual tutorials for various topics? <br /> What needs to go in SDL::CookBook? <br />  <br /> API sweetness <br />  SDL Perl depends on distinct C libraries <br />  This makes naming conventions, data formats different the SDL:: namespaces <br /> How do people design this stuff? <br />  We are hackers and we just go do stuff but I think this needs some prior thought <br /> Any takers? <br />   <br /> Distribution <br />  If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus <br />  One way is a Wx::Perl::Packer clone <br /> Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games?&nbsp; <br />    If anyone wants to help in these areas please talk to us on sdl-devel@perl.org.&nbsp;    <br /> <a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/EXlozhjfhdo" height="1" width="1"/><br /><a href="blog-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.html">SDL Perl Documentation: Reviewers need</a><br /><span style="font-size: 10px">Thursday, 26 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  <br />The written word, <br />survives; <br /><a href="blog-0020.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 6347302..41e4576 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Example</h1><div><a href="blog-0018.html">Migrating Sol's Tutorial of SDL to SDL_Perl</a><br /><span style="font-size: 10px">Sunday, 15 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  If I have seen further it is only by standing on the shoulders of giants. --Newton <br /> <br />    <br /><a href="blog-0018.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Example</h1><div><a href="blog-0003.html">Huge World Maps in less then 100 lines</a><br /><span style="font-size: 10px">Friday, 16 July 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Syntax.html" style="font-size: 10px">[Syntax]</a></span><br />     <br />Hello folks,<br />Recently we have been  working  on making the Perl&nbsp;syntax&nbsp;sugar for SDL in the form of SDLx. So far we have got the SDLx::Surface and SDLx::Sprite (garu++) done. So the first thing we did was throw together a quick Zelda map walker. As you can see above. &nbsp;The code is at&nbsp; http://gist.github.com/478440 . The SDL code that this depends on will be SDL 2.503 soonish . We are in the process of cleaning up some more SDLx and Alien::SDL bugs. After that SDLx::App will be overhauled to make this sort of thing even easier. Finally living up to our goal of &nbsp;'<span class="Apple-style-span" style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; font-size: 13px;">Simple Games Easy. Complex Games Possible.'&nbsp; <br /><span class="Apple-style-span" style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; font-size: 13px;">  UPDATE: with some help, and newcomer jtpalmer'<span style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif;">s help we have added Link    <br /><span class="Apple-style-span" style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; font-size: 13px;">  <span style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif;">&nbsp;     <br />       <br />--caio&nbsp;yapgh   <br /> <a href="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/0/da"><img src="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/1/da"><img src="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/ONip91qsKjQ" height="1" width="1"/><br /><a href="blog-0003.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.html">Migrating Sol's Tutorial of SDL to SDL_Perl</a><br /><span style="font-size: 10px">Sunday, 15 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  If I have seen further it is only by standing on the shoulders of giants. --Newton <br /> <br />    <br /><a href="blog-0021.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 59fd089..3ac3e30 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: EyeCandy</h1><div><a href="blog-0009.html">SDL Perl Showcase</a><br /><span style="font-size: 10px">Friday, 12 March 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-EyeCandy.html" style="font-size: 10px">[EyeCandy]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL-Perl.html" style="font-size: 10px">[SDL Perl]</a> <a href="tags-Showcase.html" style="font-size: 10px">[Showcase]</a></span><br /> <br />SDL_Mixer and Effects <br />     <br /><a href="blog-0009.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: EyeCandy</h1><div><a href="blog-0012.html">SDL Perl Showcase</a><br /><span style="font-size: 10px">Friday, 12 March 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-EyeCandy.html" style="font-size: 10px">[EyeCandy]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL-Perl.html" style="font-size: 10px">[SDL Perl]</a> <a href="tags-Showcase.html" style="font-size: 10px">[Showcase]</a></span><br /> <br />SDL_Mixer and Effects <br />     <br /><a href="blog-0012.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index f5b8af8..827c2e7 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Frozen Bubble</h1><div><a href="blog-0006.html">Games::FrozenBubble: It is a start!</a><br /><span style="font-size: 10px">Monday, 12 April 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />We released a playable (client) frozen bubble on  CPAN . There is more work to be done but it is a great start! It currently works on Windows and Linux.<br />        <br /> <a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/gHnHwFtAvFE" height="1" width="1"/><br /><a href="blog-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.html">Release SDL 2.4: Frozen-Bubble begins to go to CPAN</a><br /><span style="font-size: 10px">Tuesday, 06 April 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> <br />SDL 2.4 is released! <br />After 8 months of work this picture begins to sum it up:<br /><a href="blog-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.html">Why and How Frozen Bubble is going to CPAN</a><br /><span style="font-size: 10px">Friday, 02 October 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  A single drop, <br />   causes the ocean to swell <br />  <br /><a href="blog-0025.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Frozen Bubble</h1><div><a href="blog-0009.html">Games::FrozenBubble: It is a start!</a><br /><span style="font-size: 10px">Monday, 12 April 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />We released a playable (client) frozen bubble on  CPAN . There is more work to be done but it is a great start! It currently works on Windows and Linux.<br />        <br /> <a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/gHnHwFtAvFE" height="1" width="1"/><br /><a href="blog-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0010.html">Release SDL 2.4: Frozen-Bubble begins to go to CPAN</a><br /><span style="font-size: 10px">Tuesday, 06 April 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> <br />SDL 2.4 is released! <br />After 8 months of work this picture begins to sum it up:<br /><a href="blog-0010.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 4566cb8..051092d 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: GSOC</h1><div><a href="blog-0008.html">A summer of possibilities (SDL_perl and GSOC 2010 )</a><br /><span style="font-size: 10px">Tuesday, 30 March 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-GSOC.html" style="font-size: 10px">[GSOC]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> GSOC 2010  <br /> As many of the readers must know The Perl Foundation has been accepted for the GSOC 2010 program. There are several SDL_perl mentors involved in it too. Right now we are accepting student applications.  <br /> Process to Apply <br /><a href="blog-0008.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: GSOC</h1><div><a href="blog-0011.html">A summer of possibilities (SDL_perl and GSOC 2010 )</a><br /><span style="font-size: 10px">Tuesday, 30 March 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-GSOC.html" style="font-size: 10px">[GSOC]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> GSOC 2010  <br /> As many of the readers must know The Perl Foundation has been accepted for the GSOC 2010 program. There are several SDL_perl mentors involved in it too. Right now we are accepting student applications.  <br /> Process to Apply <br /><a href="blog-0011.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 0edf3c9..647fd49 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Game</h1><div><a href="blog-0012.html">Quick Game for Toronto Perl Mongers</a><br /><span style="font-size: 10px">Thursday, 11 February 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Game.html" style="font-size: 10px">[Game]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-TPM.html" style="font-size: 10px">[TPM]</a></span><br /> <br /> Beep ... Boop<br />  <br /><a href="blog-0012.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Game</h1><div><a href="blog-0015.html">Quick Game for Toronto Perl Mongers</a><br /><span style="font-size: 10px">Thursday, 11 February 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Game.html" style="font-size: 10px">[Game]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-TPM.html" style="font-size: 10px">[TPM]</a></span><br /> <br /> Beep ... Boop<br />  <br /><a href="blog-0015.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index b0dd6b8..58da8d1 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: PDL</h1><div><a href="blog-0002.html">SDL RC 2.5 decides to play with PDL</a><br /><span style="font-size: 10px">Tuesday, 29 June 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-PDL.html" style="font-size: 10px">[PDL]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.<br />You can use PDL and SDL together to create real-time,<br />responsive animations and simulations.<br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: PDL</h1><div><a href="blog-0005.html">SDL RC 2.5 decides to play with PDL</a><br /><span style="font-size: 10px">Tuesday, 29 June 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-PDL.html" style="font-size: 10px">[PDL]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.<br />You can use PDL and SDL together to create real-time,<br />responsive animations and simulations.<br /><a href="blog-0005.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 65f8610..463a889 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Pack</h1><div><a href="blog-0003.html">Providing direct memory access to SDL_Surface's pixels</a><br /><span style="font-size: 10px">Wednesday, 23 June 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Pack.html" style="font-size: 10px">[Pack]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Surface.html" style="font-size: 10px">[Surface]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br /> In an attempt to make pixel access easier on SDL_Surface pixels. I have started work on  SDLx::Surface . So far I have only start on the 32 bpp surfaces. <br /> The general idea is to make Pointer Values (PV) of each pixel in the surface and place them into a 2D matrix. First I make pointer values like this:  <br /> SV  *  get_pixel32  ( SDL_Surface  * surface ,   int  x ,   int  y ) <br /><a href="blog-0003.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Pack</h1><div><a href="blog-0006.html">Providing direct memory access to SDL_Surface's pixels</a><br /><span style="font-size: 10px">Wednesday, 23 June 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Pack.html" style="font-size: 10px">[Pack]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Surface.html" style="font-size: 10px">[Surface]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br /> In an attempt to make pixel access easier on SDL_Surface pixels. I have started work on  SDLx::Surface . So far I have only start on the 32 bpp surfaces. <br /> The general idea is to make Pointer Values (PV) of each pixel in the surface and place them into a 2D matrix. First I make pointer values like this:  <br /> SV  *  get_pixel32  ( SDL_Surface  * surface ,   int  x ,   int  y ) <br /><a href="blog-0006.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 0de2f14..d5685e1 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Packaging</h1><div><a href="blog-0004.html">SDLpp.pl: Packaging SDL Scripts Alpha</a><br /><span style="font-size: 10px">Friday, 14 May 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Packaging.html" style="font-size: 10px">[Packaging]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />After a lot of patches and head scratching I have an alpha version of  SDLpp.pl . The purpose of SDLpp.pl is to allow SDL perl developers to package their game for end users. <br />Here is the  shooter.pl  packaged up:<br />  <br /><a href="blog-0004.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Packaging</h1><div><a href="blog-0007.html">SDLpp.pl: Packaging SDL Scripts Alpha</a><br /><span style="font-size: 10px">Friday, 14 May 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Packaging.html" style="font-size: 10px">[Packaging]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />After a lot of patches and head scratching I have an alpha version of  SDLpp.pl . The purpose of SDLpp.pl is to allow SDL perl developers to package their game for end users. <br />Here is the  shooter.pl  packaged up:<br />  <br /><a href="blog-0007.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 05ae013..d63e4e5 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Perl</h1><div><a href="blog-0001.html">The Build Process of SDL Perl</a><br /><span style="font-size: 10px">Wednesday, 07 July 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Building.html" style="font-size: 10px">[Building]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> A while ago I had a long chat with mst on why SDL uses Module::Build rather then Make. I told him it is a simple matter of code inertia.  The existing Module::Build system has worked well for us so far. Never the less, he convinced me that switching to Make will improve debugging the Build system. But to be able to switch we will need to completely replace the Build system. I am not prepared to do that so I will just present the requirements so mst or someone else can at least attempt to switch. <br /> The Build Process  <br />  Alien::SDL  <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0002.html">SDL RC 2.5 decides to play with PDL</a><br /><span style="font-size: 10px">Tuesday, 29 June 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-PDL.html" style="font-size: 10px">[PDL]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.<br />You can use PDL and SDL together to create real-time,<br />responsive animations and simulations.<br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0003.html">Providing direct memory access to SDL_Surface's pixels</a><br /><span style="font-size: 10px">Wednesday, 23 June 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Pack.html" style="font-size: 10px">[Pack]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Surface.html" style="font-size: 10px">[Surface]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br /> In an attempt to make pixel access easier on SDL_Surface pixels. I have started work on  SDLx::Surface . So far I have only start on the 32 bpp surfaces. <br /> The general idea is to make Pointer Values (PV) of each pixel in the surface and place them into a 2D matrix. First I make pointer values like this:  <br /> SV  *  get_pixel32  ( SDL_Surface  * surface ,   int  x ,   int  y ) <br /><a href="blog-0003.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0004.html">SDLpp.pl: Packaging SDL Scripts Alpha</a><br /><span style="font-size: 10px">Friday, 14 May 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Packaging.html" style="font-size: 10px">[Packaging]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />After a lot of patches and head scratching I have an alpha version of  SDLpp.pl . The purpose of SDLpp.pl is to allow SDL perl developers to package their game for end users. <br />Here is the  shooter.pl  packaged up:<br />  <br /><a href="blog-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0005.html">Getting people to use SDL Perl: Docs, API, and Distribution</a><br /><span style="font-size: 10px">Friday, 07 May 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-API.html" style="font-size: 10px">[API]</a> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  The road so far  <br />Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. <a href="http://matrix.cpantesters.org/?dist=Alien-SDL+1.403">Alien::SDL 1.405  is behaving well. This foundational stability will start to show results in <a href="http://matrix.cpantesters.org/?dist=SDL+2.405">SDL  too I believe. Most excitingly the main developer of frozen-bubble is reviewing our <a href="http://search.cpan.org/~kthakore/Games-FrozenBubble-2.202/lib/Games/FrozenBubble.pm">Games::FrozenBubble  port to CPAN. All good and well, but to keep this project going we need to improve.<br />  Getting people to use SDL Perl  <br />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. <br />  Tutorials/Documentation<br /> <br />  We have more docs now on http://sdl.perl.org but they suck <br /> What type of tutorials do you think will be good for beginners? <br />  A project start to finish? <br /> Individual tutorials for various topics? <br /> What needs to go in SDL::CookBook? <br />  <br /> API sweetness <br />  SDL Perl depends on distinct C libraries <br />  This makes naming conventions, data formats different the SDL:: namespaces <br /> How do people design this stuff? <br />  We are hackers and we just go do stuff but I think this needs some prior thought <br /> Any takers? <br />   <br /> Distribution <br />  If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus <br />  One way is a Wx::Perl::Packer clone <br /> Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games?&nbsp; <br />    If anyone wants to help in these areas please talk to us on sdl-devel@perl.org.&nbsp;    <br /> <a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/EXlozhjfhdo" height="1" width="1"/><br /><a href="blog-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0006.html">Games::FrozenBubble: It is a start!</a><br /><span style="font-size: 10px">Monday, 12 April 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />We released a playable (client) frozen bubble on  CPAN . There is more work to be done but it is a great start! It currently works on Windows and Linux.<br />        <br /> <a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/gHnHwFtAvFE" height="1" width="1"/><br /><a href="blog-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.html">Release SDL 2.4: Frozen-Bubble begins to go to CPAN</a><br /><span style="font-size: 10px">Tuesday, 06 April 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> <br />SDL 2.4 is released! <br />After 8 months of work this picture begins to sum it up:<br /><a href="blog-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0008.html">A summer of possibilities (SDL_perl and GSOC 2010 )</a><br /><span style="font-size: 10px">Tuesday, 30 March 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-GSOC.html" style="font-size: 10px">[GSOC]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> GSOC 2010  <br /> As many of the readers must know The Perl Foundation has been accepted for the GSOC 2010 program. There are several SDL_perl mentors involved in it too. Right now we are accepting student applications.  <br /> Process to Apply <br /><a href="blog-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0009.html">SDL Perl Showcase</a><br /><span style="font-size: 10px">Friday, 12 March 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-EyeCandy.html" style="font-size: 10px">[EyeCandy]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL-Perl.html" style="font-size: 10px">[SDL Perl]</a> <a href="tags-Showcase.html" style="font-size: 10px">[Showcase]</a></span><br /> <br />SDL_Mixer and Effects <br />     <br /><a href="blog-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.html">Threaded XS callback finally gets solved.</a><br /><span style="font-size: 10px">Wednesday, 06 January 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />  <br />Dragged down from the lofty isles,<br />into the guts and gore of the monster,<br /><a href="blog-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.html">SDL Alpha 2: A sneak preview</a><br /><span style="font-size: 10px">Sunday, 06 December 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  Pretty or Ugly, <br />   Code is Code <br />   New or Old, <br /><a href="blog-0015.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.html">Developer Release of SDL 2.3_1</a><br /><span style="font-size: 10px">Monday, 30 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  <br />The city of Rome was built,<br />with the first brick.<br /><a href="blog-0016.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.html">SDL Perl Documentation: Reviewers need</a><br /><span style="font-size: 10px">Thursday, 26 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  <br />The written word, <br />survives; <br /><a href="blog-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.html">Migrating Sol's Tutorial of SDL to SDL_Perl</a><br /><span style="font-size: 10px">Sunday, 15 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  If I have seen further it is only by standing on the shoulders of giants. --Newton <br /> <br />    <br /><a href="blog-0018.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.html">Once in a while .... (set_event_filter)</a><br /><span style="font-size: 10px">Friday, 13 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />   <br />Once in a while <br />Things just work! <br /><a href="blog-0019.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.html">Hello Mouse? An Example of the New Event Code</a><br /><span style="font-size: 10px">Wednesday, 11 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Sneak-Preview.html" style="font-size: 10px">[Sneak Preview]</a></span><br />  Any code that is not marketed is dead code <br />--mst <br /> <br /><a href="blog-0020.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.html">Development Update</a><br /><span style="font-size: 10px">Monday, 09 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />  Short and Sweet <br /> <br />Had an exam on the weekend so I am a bit late. Here is the progress so far. <br /><a href="blog-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.html">Development Update</a><br /><span style="font-size: 10px">Monday, 02 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />  <br />A stoic stone will sit idle, <br />but will some effort,<br /><a href="blog-0022.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.html">Why and How Frozen Bubble is going to CPAN</a><br /><span style="font-size: 10px">Friday, 02 October 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  A single drop, <br />   causes the ocean to swell <br />  <br /><a href="blog-0025.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Perl</h1><div><a href="blog-0001.html">Perl+SDL 3D Rendering</a><br /><span style="font-size: 10px">Saturday, 31 July 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Showcase.html" style="font-size: 10px">[Showcase]</a></span><br /> Recently we have done a lot of work on the next release of SDL Perl. But it all pays off when I see users do cool things as one of the users has done below. Talon^++! This project is a great example for people wanting to learn 3D from scratch.  <br /> --yapgh <br /> This was a project to test how well Perl+SDL performs and does not use OpenGL at all. This is all perl and SDL, with the help of libsdl_gfx for SDL::GFX::Primitives. Texture mapping doesn't use SDL::GFX::Primitives because textured_polygon just takes a surface, tiles it, and clips out the polygon, which doesn't look 3D at all.<br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0002.html">SDL 2.503 Released!</a><br /><span style="font-size: 10px">Thursday, 22 July 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> SDL 2.503 has been released on to CPAN. The changes are mostly in the new features added to SDLx::* layer. However as our continuing attempt to improve cross platform support we have some low level fixes. <br /> Most interstingly we have begun work on SDLx::Sprite::Animated. Although, volatile, this addition will be highly anticipated. We look forward for more work on it soon. Additionally are the changes in SDLx::Surface. SDLx::Surface is an attempt to provide gfx, pixels, video and low level surface functions in a combined and simpler interface.  <br /> Since SDLx::Sprite and SDLx::App depends on SDLx::Surface, new features will be propagated and the magic amplified! These are exciting times for SDL in Perl. So come join us for great justice on #sdl  irc.perl.org  or  sdl-devel@perl.org .  <br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0003.html">Huge World Maps in less then 100 lines</a><br /><span style="font-size: 10px">Friday, 16 July 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Syntax.html" style="font-size: 10px">[Syntax]</a></span><br />     <br />Hello folks,<br />Recently we have been  working  on making the Perl&nbsp;syntax&nbsp;sugar for SDL in the form of SDLx. So far we have got the SDLx::Surface and SDLx::Sprite (garu++) done. So the first thing we did was throw together a quick Zelda map walker. As you can see above. &nbsp;The code is at&nbsp; http://gist.github.com/478440 . The SDL code that this depends on will be SDL 2.503 soonish . We are in the process of cleaning up some more SDLx and Alien::SDL bugs. After that SDLx::App will be overhauled to make this sort of thing even easier. Finally living up to our goal of &nbsp;'<span class="Apple-style-span" style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; font-size: 13px;">Simple Games Easy. Complex Games Possible.'&nbsp; <br /><span class="Apple-style-span" style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; font-size: 13px;">  UPDATE: with some help, and newcomer jtpalmer'<span style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif;">s help we have added Link    <br /><span class="Apple-style-span" style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; font-size: 13px;">  <span style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif;">&nbsp;     <br />       <br />--caio&nbsp;yapgh   <br /> <a href="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/0/da"><img src="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/1/da"><img src="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/ONip91qsKjQ" height="1" width="1"/><br /><a href="blog-0003.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0004.html">The Build Process of SDL Perl</a><br /><span style="font-size: 10px">Wednesday, 07 July 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Building.html" style="font-size: 10px">[Building]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> A while ago I had a long chat with mst on why SDL uses Module::Build rather then Make. I told him it is a simple matter of code inertia.  The existing Module::Build system has worked well for us so far. Never the less, he convinced me that switching to Make will improve debugging the Build system. But to be able to switch we will need to completely replace the Build system. I am not prepared to do that so I will just present the requirements so mst or someone else can at least attempt to switch. <br /> The Build Process  <br />  Alien::SDL  <br /><a href="blog-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0005.html">SDL RC 2.5 decides to play with PDL</a><br /><span style="font-size: 10px">Tuesday, 29 June 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-PDL.html" style="font-size: 10px">[PDL]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.<br />You can use PDL and SDL together to create real-time,<br />responsive animations and simulations.<br /><a href="blog-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0006.html">Providing direct memory access to SDL_Surface's pixels</a><br /><span style="font-size: 10px">Wednesday, 23 June 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Pack.html" style="font-size: 10px">[Pack]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Surface.html" style="font-size: 10px">[Surface]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br /> In an attempt to make pixel access easier on SDL_Surface pixels. I have started work on  SDLx::Surface . So far I have only start on the 32 bpp surfaces. <br /> The general idea is to make Pointer Values (PV) of each pixel in the surface and place them into a 2D matrix. First I make pointer values like this:  <br /> SV  *  get_pixel32  ( SDL_Surface  * surface ,   int  x ,   int  y ) <br /><a href="blog-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.html">SDLpp.pl: Packaging SDL Scripts Alpha</a><br /><span style="font-size: 10px">Friday, 14 May 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Packaging.html" style="font-size: 10px">[Packaging]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />After a lot of patches and head scratching I have an alpha version of  SDLpp.pl . The purpose of SDLpp.pl is to allow SDL perl developers to package their game for end users. <br />Here is the  shooter.pl  packaged up:<br />  <br /><a href="blog-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0008.html">Getting people to use SDL Perl: Docs, API, and Distribution</a><br /><span style="font-size: 10px">Friday, 07 May 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-API.html" style="font-size: 10px">[API]</a> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  The road so far  <br />Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. <a href="http://matrix.cpantesters.org/?dist=Alien-SDL+1.403">Alien::SDL 1.405  is behaving well. This foundational stability will start to show results in <a href="http://matrix.cpantesters.org/?dist=SDL+2.405">SDL  too I believe. Most excitingly the main developer of frozen-bubble is reviewing our <a href="http://search.cpan.org/~kthakore/Games-FrozenBubble-2.202/lib/Games/FrozenBubble.pm">Games::FrozenBubble  port to CPAN. All good and well, but to keep this project going we need to improve.<br />  Getting people to use SDL Perl  <br />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. <br />  Tutorials/Documentation<br /> <br />  We have more docs now on http://sdl.perl.org but they suck <br /> What type of tutorials do you think will be good for beginners? <br />  A project start to finish? <br /> Individual tutorials for various topics? <br /> What needs to go in SDL::CookBook? <br />  <br /> API sweetness <br />  SDL Perl depends on distinct C libraries <br />  This makes naming conventions, data formats different the SDL:: namespaces <br /> How do people design this stuff? <br />  We are hackers and we just go do stuff but I think this needs some prior thought <br /> Any takers? <br />   <br /> Distribution <br />  If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus <br />  One way is a Wx::Perl::Packer clone <br /> Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games?&nbsp; <br />    If anyone wants to help in these areas please talk to us on sdl-devel@perl.org.&nbsp;    <br /> <a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/EXlozhjfhdo" height="1" width="1"/><br /><a href="blog-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0009.html">Games::FrozenBubble: It is a start!</a><br /><span style="font-size: 10px">Monday, 12 April 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />We released a playable (client) frozen bubble on  CPAN . There is more work to be done but it is a great start! It currently works on Windows and Linux.<br />        <br /> <a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/gHnHwFtAvFE" height="1" width="1"/><br /><a href="blog-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0010.html">Release SDL 2.4: Frozen-Bubble begins to go to CPAN</a><br /><span style="font-size: 10px">Tuesday, 06 April 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> <br />SDL 2.4 is released! <br />After 8 months of work this picture begins to sum it up:<br /><a href="blog-0010.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0011.html">A summer of possibilities (SDL_perl and GSOC 2010 )</a><br /><span style="font-size: 10px">Tuesday, 30 March 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-GSOC.html" style="font-size: 10px">[GSOC]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> GSOC 2010  <br /> As many of the readers must know The Perl Foundation has been accepted for the GSOC 2010 program. There are several SDL_perl mentors involved in it too. Right now we are accepting student applications.  <br /> Process to Apply <br /><a href="blog-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0012.html">SDL Perl Showcase</a><br /><span style="font-size: 10px">Friday, 12 March 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-EyeCandy.html" style="font-size: 10px">[EyeCandy]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL-Perl.html" style="font-size: 10px">[SDL Perl]</a> <a href="tags-Showcase.html" style="font-size: 10px">[Showcase]</a></span><br /> <br />SDL_Mixer and Effects <br />     <br /><a href="blog-0012.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.html">Threaded XS callback finally gets solved.</a><br /><span style="font-size: 10px">Wednesday, 06 January 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />  <br />Dragged down from the lofty isles,<br />into the guts and gore of the monster,<br /><a href="blog-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.html">SDL Alpha 2: A sneak preview</a><br /><span style="font-size: 10px">Sunday, 06 December 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  Pretty or Ugly, <br />   Code is Code <br />   New or Old, <br /><a href="blog-0018.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.html">Developer Release of SDL 2.3_1</a><br /><span style="font-size: 10px">Monday, 30 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  <br />The city of Rome was built,<br />with the first brick.<br /><a href="blog-0019.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.html">SDL Perl Documentation: Reviewers need</a><br /><span style="font-size: 10px">Thursday, 26 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  <br />The written word, <br />survives; <br /><a href="blog-0020.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.html">Migrating Sol's Tutorial of SDL to SDL_Perl</a><br /><span style="font-size: 10px">Sunday, 15 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  If I have seen further it is only by standing on the shoulders of giants. --Newton <br /> <br />    <br /><a href="blog-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.html">Once in a while .... (set_event_filter)</a><br /><span style="font-size: 10px">Friday, 13 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />   <br />Once in a while <br />Things just work! <br /><a href="blog-0022.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.html">Hello Mouse? An Example of the New Event Code</a><br /><span style="font-size: 10px">Wednesday, 11 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Sneak-Preview.html" style="font-size: 10px">[Sneak Preview]</a></span><br />  Any code that is not marketed is dead code <br />--mst <br /> <br /><a href="blog-0023.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.html">Development Update</a><br /><span style="font-size: 10px">Monday, 09 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />  Short and Sweet <br /> <br />Had an exam on the weekend so I am a bit late. Here is the progress so far. <br /><a href="blog-0024.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.html">Development Update</a><br /><span style="font-size: 10px">Monday, 02 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />  <br />A stoic stone will sit idle, <br />but will some effort,<br /><a href="blog-0025.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index d649c56..8f70b05 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Releases</h1><div><a href="blog-0011.html">New build system! Needs testing!</a><br /><span style="font-size: 10px">Thursday, 18 February 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Building.html" style="font-size: 10px">[Building]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  <br />  <br />  <br /><a href="blog-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0013.html">SDL_perl 2.3_5 is out!</a><br /><span style="font-size: 10px">Monday, 01 February 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  We keep on rolling,<br />rolling,<br />waiting on the world to turn. <br /><a href="blog-0013.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.html">SDL Alpha 2: A sneak preview</a><br /><span style="font-size: 10px">Sunday, 06 December 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  Pretty or Ugly, <br />   Code is Code <br />   New or Old, <br /><a href="blog-0015.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.html">Developer Release of SDL 2.3_1</a><br /><span style="font-size: 10px">Monday, 30 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  <br />The city of Rome was built,<br />with the first brick.<br /><a href="blog-0016.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Releases</h1><div><a href="blog-0002.html">SDL 2.503 Released!</a><br /><span style="font-size: 10px">Thursday, 22 July 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> SDL 2.503 has been released on to CPAN. The changes are mostly in the new features added to SDLx::* layer. However as our continuing attempt to improve cross platform support we have some low level fixes. <br /> Most interstingly we have begun work on SDLx::Sprite::Animated. Although, volatile, this addition will be highly anticipated. We look forward for more work on it soon. Additionally are the changes in SDLx::Surface. SDLx::Surface is an attempt to provide gfx, pixels, video and low level surface functions in a combined and simpler interface.  <br /> Since SDLx::Sprite and SDLx::App depends on SDLx::Surface, new features will be propagated and the magic amplified! These are exciting times for SDL in Perl. So come join us for great justice on #sdl  irc.perl.org  or  sdl-devel@perl.org .  <br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.html">New build system! Needs testing!</a><br /><span style="font-size: 10px">Thursday, 18 February 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Building.html" style="font-size: 10px">[Building]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  <br />  <br />  <br /><a href="blog-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.html">SDL_perl 2.3_5 is out!</a><br /><span style="font-size: 10px">Monday, 01 February 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  We keep on rolling,<br />rolling,<br />waiting on the world to turn. <br /><a href="blog-0016.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.html">SDL Alpha 2: A sneak preview</a><br /><span style="font-size: 10px">Sunday, 06 December 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  Pretty or Ugly, <br />   Code is Code <br />   New or Old, <br /><a href="blog-0018.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.html">Developer Release of SDL 2.3_1</a><br /><span style="font-size: 10px">Monday, 30 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  <br />The city of Rome was built,<br />with the first brick.<br /><a href="blog-0019.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 162ccf8..a801b2d 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: SDL Perl EyeCandy</h1><div><a href="blog-0010.html">Eye Candy</a><br /><span style="font-size: 10px">Wednesday, 24 February 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-SDL-Perl-EyeCandy.html" style="font-size: 10px">[SDL Perl EyeCandy]</a></span><br /> <br /> clang  <br />With each imperfect hit <br /><a href="blog-0010.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: SDL Perl EyeCandy</h1><div><a href="blog-0013.html">Eye Candy</a><br /><span style="font-size: 10px">Wednesday, 24 February 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-SDL-Perl-EyeCandy.html" style="font-size: 10px">[SDL Perl EyeCandy]</a></span><br /> <br /> clang  <br />With each imperfect hit <br /><a href="blog-0013.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 85f003f..f84db5e 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: SDL Perl</h1><div><a href="blog-0009.html">SDL Perl Showcase</a><br /><span style="font-size: 10px">Friday, 12 March 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-EyeCandy.html" style="font-size: 10px">[EyeCandy]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL-Perl.html" style="font-size: 10px">[SDL Perl]</a> <a href="tags-Showcase.html" style="font-size: 10px">[Showcase]</a></span><br /> <br />SDL_Mixer and Effects <br />     <br /><a href="blog-0009.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: SDL Perl</h1><div><a href="blog-0012.html">SDL Perl Showcase</a><br /><span style="font-size: 10px">Friday, 12 March 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-EyeCandy.html" style="font-size: 10px">[EyeCandy]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL-Perl.html" style="font-size: 10px">[SDL Perl]</a> <a href="tags-Showcase.html" style="font-size: 10px">[Showcase]</a></span><br /> <br />SDL_Mixer and Effects <br />     <br /><a href="blog-0012.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 06f5f23..6a56d37 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: SDL</h1><div><a href="blog-0001.html">The Build Process of SDL Perl</a><br /><span style="font-size: 10px">Wednesday, 07 July 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Building.html" style="font-size: 10px">[Building]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> A while ago I had a long chat with mst on why SDL uses Module::Build rather then Make. I told him it is a simple matter of code inertia.  The existing Module::Build system has worked well for us so far. Never the less, he convinced me that switching to Make will improve debugging the Build system. But to be able to switch we will need to completely replace the Build system. I am not prepared to do that so I will just present the requirements so mst or someone else can at least attempt to switch. <br /> The Build Process  <br />  Alien::SDL  <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0002.html">SDL RC 2.5 decides to play with PDL</a><br /><span style="font-size: 10px">Tuesday, 29 June 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-PDL.html" style="font-size: 10px">[PDL]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.<br />You can use PDL and SDL together to create real-time,<br />responsive animations and simulations.<br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0003.html">Providing direct memory access to SDL_Surface's pixels</a><br /><span style="font-size: 10px">Wednesday, 23 June 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Pack.html" style="font-size: 10px">[Pack]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Surface.html" style="font-size: 10px">[Surface]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br /> In an attempt to make pixel access easier on SDL_Surface pixels. I have started work on  SDLx::Surface . So far I have only start on the 32 bpp surfaces. <br /> The general idea is to make Pointer Values (PV) of each pixel in the surface and place them into a 2D matrix. First I make pointer values like this:  <br /> SV  *  get_pixel32  ( SDL_Surface  * surface ,   int  x ,   int  y ) <br /><a href="blog-0003.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0004.html">SDLpp.pl: Packaging SDL Scripts Alpha</a><br /><span style="font-size: 10px">Friday, 14 May 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Packaging.html" style="font-size: 10px">[Packaging]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />After a lot of patches and head scratching I have an alpha version of  SDLpp.pl . The purpose of SDLpp.pl is to allow SDL perl developers to package their game for end users. <br />Here is the  shooter.pl  packaged up:<br />  <br /><a href="blog-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0005.html">Getting people to use SDL Perl: Docs, API, and Distribution</a><br /><span style="font-size: 10px">Friday, 07 May 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-API.html" style="font-size: 10px">[API]</a> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  The road so far  <br />Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. <a href="http://matrix.cpantesters.org/?dist=Alien-SDL+1.403">Alien::SDL 1.405  is behaving well. This foundational stability will start to show results in <a href="http://matrix.cpantesters.org/?dist=SDL+2.405">SDL  too I believe. Most excitingly the main developer of frozen-bubble is reviewing our <a href="http://search.cpan.org/~kthakore/Games-FrozenBubble-2.202/lib/Games/FrozenBubble.pm">Games::FrozenBubble  port to CPAN. All good and well, but to keep this project going we need to improve.<br />  Getting people to use SDL Perl  <br />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. <br />  Tutorials/Documentation<br /> <br />  We have more docs now on http://sdl.perl.org but they suck <br /> What type of tutorials do you think will be good for beginners? <br />  A project start to finish? <br /> Individual tutorials for various topics? <br /> What needs to go in SDL::CookBook? <br />  <br /> API sweetness <br />  SDL Perl depends on distinct C libraries <br />  This makes naming conventions, data formats different the SDL:: namespaces <br /> How do people design this stuff? <br />  We are hackers and we just go do stuff but I think this needs some prior thought <br /> Any takers? <br />   <br /> Distribution <br />  If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus <br />  One way is a Wx::Perl::Packer clone <br /> Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games?&nbsp; <br />    If anyone wants to help in these areas please talk to us on sdl-devel@perl.org.&nbsp;    <br /> <a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/EXlozhjfhdo" height="1" width="1"/><br /><a href="blog-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0006.html">Games::FrozenBubble: It is a start!</a><br /><span style="font-size: 10px">Monday, 12 April 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />We released a playable (client) frozen bubble on  CPAN . There is more work to be done but it is a great start! It currently works on Windows and Linux.<br />        <br /> <a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/gHnHwFtAvFE" height="1" width="1"/><br /><a href="blog-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.html">Release SDL 2.4: Frozen-Bubble begins to go to CPAN</a><br /><span style="font-size: 10px">Tuesday, 06 April 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> <br />SDL 2.4 is released! <br />After 8 months of work this picture begins to sum it up:<br /><a href="blog-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0008.html">A summer of possibilities (SDL_perl and GSOC 2010 )</a><br /><span style="font-size: 10px">Tuesday, 30 March 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-GSOC.html" style="font-size: 10px">[GSOC]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> GSOC 2010  <br /> As many of the readers must know The Perl Foundation has been accepted for the GSOC 2010 program. There are several SDL_perl mentors involved in it too. Right now we are accepting student applications.  <br /> Process to Apply <br /><a href="blog-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0011.html">New build system! Needs testing!</a><br /><span style="font-size: 10px">Thursday, 18 February 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Building.html" style="font-size: 10px">[Building]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  <br />  <br />  <br /><a href="blog-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0012.html">Quick Game for Toronto Perl Mongers</a><br /><span style="font-size: 10px">Thursday, 11 February 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Game.html" style="font-size: 10px">[Game]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-TPM.html" style="font-size: 10px">[TPM]</a></span><br /> <br /> Beep ... Boop<br />  <br /><a href="blog-0012.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0013.html">SDL_perl 2.3_5 is out!</a><br /><span style="font-size: 10px">Monday, 01 February 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  We keep on rolling,<br />rolling,<br />waiting on the world to turn. <br /><a href="blog-0013.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.html">Threaded XS callback finally gets solved.</a><br /><span style="font-size: 10px">Wednesday, 06 January 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />  <br />Dragged down from the lofty isles,<br />into the guts and gore of the monster,<br /><a href="blog-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.html">SDL Alpha 2: A sneak preview</a><br /><span style="font-size: 10px">Sunday, 06 December 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  Pretty or Ugly, <br />   Code is Code <br />   New or Old, <br /><a href="blog-0015.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.html">Developer Release of SDL 2.3_1</a><br /><span style="font-size: 10px">Monday, 30 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  <br />The city of Rome was built,<br />with the first brick.<br /><a href="blog-0016.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.html">SDL Perl Documentation: Reviewers need</a><br /><span style="font-size: 10px">Thursday, 26 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  <br />The written word, <br />survives; <br /><a href="blog-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.html">Migrating Sol's Tutorial of SDL to SDL_Perl</a><br /><span style="font-size: 10px">Sunday, 15 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  If I have seen further it is only by standing on the shoulders of giants. --Newton <br /> <br />    <br /><a href="blog-0018.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.html">Once in a while .... (set_event_filter)</a><br /><span style="font-size: 10px">Friday, 13 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />   <br />Once in a while <br />Things just work! <br /><a href="blog-0019.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.html">Hello Mouse? An Example of the New Event Code</a><br /><span style="font-size: 10px">Wednesday, 11 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Sneak-Preview.html" style="font-size: 10px">[Sneak Preview]</a></span><br />  Any code that is not marketed is dead code <br />--mst <br /> <br /><a href="blog-0020.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.html">Development Update</a><br /><span style="font-size: 10px">Monday, 09 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />  Short and Sweet <br /> <br />Had an exam on the weekend so I am a bit late. Here is the progress so far. <br /><a href="blog-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.html">Development Update</a><br /><span style="font-size: 10px">Monday, 02 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />  <br />A stoic stone will sit idle, <br />but will some effort,<br /><a href="blog-0022.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.html">The Future and Beyond!</a><br /><span style="font-size: 10px">Saturday, 24 October 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a></span><br />  I do not think about awesomeness...<br />I just am awesomeness<br />n.n<br /><a href="blog-0023.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.html">The beginnings of modular design for SDL Perl</a><br /><span style="font-size: 10px">Sunday, 11 October 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />  “Do or do not... there is no try.” <br />   --yoda  <br />  The design before <br /><a href="blog-0024.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.html">Why and How Frozen Bubble is going to CPAN</a><br /><span style="font-size: 10px">Friday, 02 October 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  A single drop, <br />   causes the ocean to swell <br />  <br /><a href="blog-0025.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: SDL</h1><div><a href="blog-0001.html">Perl+SDL 3D Rendering</a><br /><span style="font-size: 10px">Saturday, 31 July 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Showcase.html" style="font-size: 10px">[Showcase]</a></span><br /> Recently we have done a lot of work on the next release of SDL Perl. But it all pays off when I see users do cool things as one of the users has done below. Talon^++! This project is a great example for people wanting to learn 3D from scratch.  <br /> --yapgh <br /> This was a project to test how well Perl+SDL performs and does not use OpenGL at all. This is all perl and SDL, with the help of libsdl_gfx for SDL::GFX::Primitives. Texture mapping doesn't use SDL::GFX::Primitives because textured_polygon just takes a surface, tiles it, and clips out the polygon, which doesn't look 3D at all.<br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0002.html">SDL 2.503 Released!</a><br /><span style="font-size: 10px">Thursday, 22 July 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> SDL 2.503 has been released on to CPAN. The changes are mostly in the new features added to SDLx::* layer. However as our continuing attempt to improve cross platform support we have some low level fixes. <br /> Most interstingly we have begun work on SDLx::Sprite::Animated. Although, volatile, this addition will be highly anticipated. We look forward for more work on it soon. Additionally are the changes in SDLx::Surface. SDLx::Surface is an attempt to provide gfx, pixels, video and low level surface functions in a combined and simpler interface.  <br /> Since SDLx::Sprite and SDLx::App depends on SDLx::Surface, new features will be propagated and the magic amplified! These are exciting times for SDL in Perl. So come join us for great justice on #sdl  irc.perl.org  or  sdl-devel@perl.org .  <br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0003.html">Huge World Maps in less then 100 lines</a><br /><span style="font-size: 10px">Friday, 16 July 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Syntax.html" style="font-size: 10px">[Syntax]</a></span><br />     <br />Hello folks,<br />Recently we have been  working  on making the Perl&nbsp;syntax&nbsp;sugar for SDL in the form of SDLx. So far we have got the SDLx::Surface and SDLx::Sprite (garu++) done. So the first thing we did was throw together a quick Zelda map walker. As you can see above. &nbsp;The code is at&nbsp; http://gist.github.com/478440 . The SDL code that this depends on will be SDL 2.503 soonish . We are in the process of cleaning up some more SDLx and Alien::SDL bugs. After that SDLx::App will be overhauled to make this sort of thing even easier. Finally living up to our goal of &nbsp;'<span class="Apple-style-span" style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; font-size: 13px;">Simple Games Easy. Complex Games Possible.'&nbsp; <br /><span class="Apple-style-span" style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; font-size: 13px;">  UPDATE: with some help, and newcomer jtpalmer'<span style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif;">s help we have added Link    <br /><span class="Apple-style-span" style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; font-size: 13px;">  <span style="font-family: Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif;">&nbsp;     <br />       <br />--caio&nbsp;yapgh   <br /> <a href="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/0/da"><img src="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/1/da"><img src="http://feedads.g.doubleclick.net/~a/c0ScjYCjwVOpMfey5qcm_RKKLBs/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/ONip91qsKjQ" height="1" width="1"/><br /><a href="blog-0003.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0004.html">The Build Process of SDL Perl</a><br /><span style="font-size: 10px">Wednesday, 07 July 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Building.html" style="font-size: 10px">[Building]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> A while ago I had a long chat with mst on why SDL uses Module::Build rather then Make. I told him it is a simple matter of code inertia.  The existing Module::Build system has worked well for us so far. Never the less, he convinced me that switching to Make will improve debugging the Build system. But to be able to switch we will need to completely replace the Build system. I am not prepared to do that so I will just present the requirements so mst or someone else can at least attempt to switch. <br /> The Build Process  <br />  Alien::SDL  <br /><a href="blog-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0005.html">SDL RC 2.5 decides to play with PDL</a><br /><span style="font-size: 10px">Tuesday, 29 June 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-PDL.html" style="font-size: 10px">[PDL]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.<br />You can use PDL and SDL together to create real-time,<br />responsive animations and simulations.<br /><a href="blog-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0006.html">Providing direct memory access to SDL_Surface's pixels</a><br /><span style="font-size: 10px">Wednesday, 23 June 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Pack.html" style="font-size: 10px">[Pack]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Surface.html" style="font-size: 10px">[Surface]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br /> In an attempt to make pixel access easier on SDL_Surface pixels. I have started work on  SDLx::Surface . So far I have only start on the 32 bpp surfaces. <br /> The general idea is to make Pointer Values (PV) of each pixel in the surface and place them into a 2D matrix. First I make pointer values like this:  <br /> SV  *  get_pixel32  ( SDL_Surface  * surface ,   int  x ,   int  y ) <br /><a href="blog-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.html">SDLpp.pl: Packaging SDL Scripts Alpha</a><br /><span style="font-size: 10px">Friday, 14 May 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Packaging.html" style="font-size: 10px">[Packaging]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />After a lot of patches and head scratching I have an alpha version of  SDLpp.pl . The purpose of SDLpp.pl is to allow SDL perl developers to package their game for end users. <br />Here is the  shooter.pl  packaged up:<br />  <br /><a href="blog-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0008.html">Getting people to use SDL Perl: Docs, API, and Distribution</a><br /><span style="font-size: 10px">Friday, 07 May 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-API.html" style="font-size: 10px">[API]</a> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  The road so far  <br />Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. <a href="http://matrix.cpantesters.org/?dist=Alien-SDL+1.403">Alien::SDL 1.405  is behaving well. This foundational stability will start to show results in <a href="http://matrix.cpantesters.org/?dist=SDL+2.405">SDL  too I believe. Most excitingly the main developer of frozen-bubble is reviewing our <a href="http://search.cpan.org/~kthakore/Games-FrozenBubble-2.202/lib/Games/FrozenBubble.pm">Games::FrozenBubble  port to CPAN. All good and well, but to keep this project going we need to improve.<br />  Getting people to use SDL Perl  <br />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. <br />  Tutorials/Documentation<br /> <br />  We have more docs now on http://sdl.perl.org but they suck <br /> What type of tutorials do you think will be good for beginners? <br />  A project start to finish? <br /> Individual tutorials for various topics? <br /> What needs to go in SDL::CookBook? <br />  <br /> API sweetness <br />  SDL Perl depends on distinct C libraries <br />  This makes naming conventions, data formats different the SDL:: namespaces <br /> How do people design this stuff? <br />  We are hackers and we just go do stuff but I think this needs some prior thought <br /> Any takers? <br />   <br /> Distribution <br />  If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus <br />  One way is a Wx::Perl::Packer clone <br /> Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games?&nbsp; <br />    If anyone wants to help in these areas please talk to us on sdl-devel@perl.org.&nbsp;    <br /> <a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/da"><img src="http://feedads.g.doubleclick.net/~a/9LDtns437JWMVWJoUGIR6gCE1W0/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/EXlozhjfhdo" height="1" width="1"/><br /><a href="blog-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0009.html">Games::FrozenBubble: It is a start!</a><br /><span style="font-size: 10px">Monday, 12 April 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />We released a playable (client) frozen bubble on  CPAN . There is more work to be done but it is a great start! It currently works on Windows and Linux.<br />        <br /> <a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/da"><img src="http://feedads.g.doubleclick.net/~a/28KepidbDodIEOBBaPgsiIFpD3o/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/gHnHwFtAvFE" height="1" width="1"/><br /><a href="blog-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0010.html">Release SDL 2.4: Frozen-Bubble begins to go to CPAN</a><br /><span style="font-size: 10px">Tuesday, 06 April 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> <br />SDL 2.4 is released! <br />After 8 months of work this picture begins to sum it up:<br /><a href="blog-0010.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0011.html">A summer of possibilities (SDL_perl and GSOC 2010 )</a><br /><span style="font-size: 10px">Tuesday, 30 March 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-GSOC.html" style="font-size: 10px">[GSOC]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> GSOC 2010  <br /> As many of the readers must know The Perl Foundation has been accepted for the GSOC 2010 program. There are several SDL_perl mentors involved in it too. Right now we are accepting student applications.  <br /> Process to Apply <br /><a href="blog-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.html">New build system! Needs testing!</a><br /><span style="font-size: 10px">Thursday, 18 February 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Building.html" style="font-size: 10px">[Building]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  <br />  <br />  <br /><a href="blog-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.html">Quick Game for Toronto Perl Mongers</a><br /><span style="font-size: 10px">Thursday, 11 February 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Game.html" style="font-size: 10px">[Game]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-TPM.html" style="font-size: 10px">[TPM]</a></span><br /> <br /> Beep ... Boop<br />  <br /><a href="blog-0015.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.html">SDL_perl 2.3_5 is out!</a><br /><span style="font-size: 10px">Monday, 01 February 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  We keep on rolling,<br />rolling,<br />waiting on the world to turn. <br /><a href="blog-0016.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.html">Threaded XS callback finally gets solved.</a><br /><span style="font-size: 10px">Wednesday, 06 January 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />  <br />Dragged down from the lofty isles,<br />into the guts and gore of the monster,<br /><a href="blog-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.html">SDL Alpha 2: A sneak preview</a><br /><span style="font-size: 10px">Sunday, 06 December 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  Pretty or Ugly, <br />   Code is Code <br />   New or Old, <br /><a href="blog-0018.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.html">Developer Release of SDL 2.3_1</a><br /><span style="font-size: 10px">Monday, 30 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  <br />The city of Rome was built,<br />with the first brick.<br /><a href="blog-0019.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.html">SDL Perl Documentation: Reviewers need</a><br /><span style="font-size: 10px">Thursday, 26 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  <br />The written word, <br />survives; <br /><a href="blog-0020.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.html">Migrating Sol's Tutorial of SDL to SDL_Perl</a><br /><span style="font-size: 10px">Sunday, 15 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  If I have seen further it is only by standing on the shoulders of giants. --Newton <br /> <br />    <br /><a href="blog-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.html">Once in a while .... (set_event_filter)</a><br /><span style="font-size: 10px">Friday, 13 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />   <br />Once in a while <br />Things just work! <br /><a href="blog-0022.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.html">Hello Mouse? An Example of the New Event Code</a><br /><span style="font-size: 10px">Wednesday, 11 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Sneak-Preview.html" style="font-size: 10px">[Sneak Preview]</a></span><br />  Any code that is not marketed is dead code <br />--mst <br /> <br /><a href="blog-0023.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.html">Development Update</a><br /><span style="font-size: 10px">Monday, 09 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />  Short and Sweet <br /> <br />Had an exam on the weekend so I am a bit late. Here is the progress so far. <br /><a href="blog-0024.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.html">Development Update</a><br /><span style="font-size: 10px">Monday, 02 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />  <br />A stoic stone will sit idle, <br />but will some effort,<br /><a href="blog-0025.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index d8507bc..29b321f 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Showcase</h1><div><a href="blog-0009.html">SDL Perl Showcase</a><br /><span style="font-size: 10px">Friday, 12 March 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-EyeCandy.html" style="font-size: 10px">[EyeCandy]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL-Perl.html" style="font-size: 10px">[SDL Perl]</a> <a href="tags-Showcase.html" style="font-size: 10px">[Showcase]</a></span><br /> <br />SDL_Mixer and Effects <br />     <br /><a href="blog-0009.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Showcase</h1><div><a href="blog-0001.html">Perl+SDL 3D Rendering</a><br /><span style="font-size: 10px">Saturday, 31 July 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Showcase.html" style="font-size: 10px">[Showcase]</a></span><br /> Recently we have done a lot of work on the next release of SDL Perl. But it all pays off when I see users do cool things as one of the users has done below. Talon^++! This project is a great example for people wanting to learn 3D from scratch.  <br /> --yapgh <br /> This was a project to test how well Perl+SDL performs and does not use OpenGL at all. This is all perl and SDL, with the help of libsdl_gfx for SDL::GFX::Primitives. Texture mapping doesn't use SDL::GFX::Primitives because textured_polygon just takes a surface, tiles it, and clips out the polygon, which doesn't look 3D at all.<br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0012.html">SDL Perl Showcase</a><br /><span style="font-size: 10px">Friday, 12 March 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-EyeCandy.html" style="font-size: 10px">[EyeCandy]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL-Perl.html" style="font-size: 10px">[SDL Perl]</a> <a href="tags-Showcase.html" style="font-size: 10px">[Showcase]</a></span><br /> <br />SDL_Mixer and Effects <br />     <br /><a href="blog-0012.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 050b62e..f2e4f56 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Sneak Preview</h1><div><a href="blog-0020.html">Hello Mouse? An Example of the New Event Code</a><br /><span style="font-size: 10px">Wednesday, 11 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Sneak-Preview.html" style="font-size: 10px">[Sneak Preview]</a></span><br />  Any code that is not marketed is dead code <br />--mst <br /> <br /><a href="blog-0020.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Sneak Preview</h1><div><a href="blog-0023.html">Hello Mouse? An Example of the New Event Code</a><br /><span style="font-size: 10px">Wednesday, 11 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Sneak-Preview.html" style="font-size: 10px">[Sneak Preview]</a></span><br />  Any code that is not marketed is dead code <br />--mst <br /> <br /><a href="blog-0023.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index a11190b..b041655 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Surface</h1><div><a href="blog-0003.html">Providing direct memory access to SDL_Surface's pixels</a><br /><span style="font-size: 10px">Wednesday, 23 June 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Pack.html" style="font-size: 10px">[Pack]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Surface.html" style="font-size: 10px">[Surface]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br /> In an attempt to make pixel access easier on SDL_Surface pixels. I have started work on  SDLx::Surface . So far I have only start on the 32 bpp surfaces. <br /> The general idea is to make Pointer Values (PV) of each pixel in the surface and place them into a 2D matrix. First I make pointer values like this:  <br /> SV  *  get_pixel32  ( SDL_Surface  * surface ,   int  x ,   int  y ) <br /><a href="blog-0003.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Surface</h1><div><a href="blog-0006.html">Providing direct memory access to SDL_Surface's pixels</a><br /><span style="font-size: 10px">Wednesday, 23 June 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Pack.html" style="font-size: 10px">[Pack]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Surface.html" style="font-size: 10px">[Surface]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br /> In an attempt to make pixel access easier on SDL_Surface pixels. I have started work on  SDLx::Surface . So far I have only start on the 32 bpp surfaces. <br /> The general idea is to make Pointer Values (PV) of each pixel in the surface and place them into a 2D matrix. First I make pointer values like this:  <br /> SV  *  get_pixel32  ( SDL_Surface  * surface ,   int  x ,   int  y ) <br /><a href="blog-0006.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index a157852..5072e72 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: TPM</h1><div><a href="blog-0012.html">Quick Game for Toronto Perl Mongers</a><br /><span style="font-size: 10px">Thursday, 11 February 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Game.html" style="font-size: 10px">[Game]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-TPM.html" style="font-size: 10px">[TPM]</a></span><br /> <br /> Beep ... Boop<br />  <br /><a href="blog-0012.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: TPM</h1><div><a href="blog-0015.html">Quick Game for Toronto Perl Mongers</a><br /><span style="font-size: 10px">Thursday, 11 February 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Game.html" style="font-size: 10px">[Game]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-TPM.html" style="font-size: 10px">[TPM]</a></span><br /> <br /> Beep ... Boop<br />  <br /><a href="blog-0015.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index c711420..ac5805a 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Updates</h1><div><a href="blog-0014.html">Threaded XS callback finally gets solved.</a><br /><span style="font-size: 10px">Wednesday, 06 January 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />  <br />Dragged down from the lofty isles,<br />into the guts and gore of the monster,<br /><a href="blog-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.html">Development Update</a><br /><span style="font-size: 10px">Monday, 09 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />  Short and Sweet <br /> <br />Had an exam on the weekend so I am a bit late. Here is the progress so far. <br /><a href="blog-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.html">Development Update</a><br /><span style="font-size: 10px">Monday, 02 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />  <br />A stoic stone will sit idle, <br />but will some effort,<br /><a href="blog-0022.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.html">The Future and Beyond!</a><br /><span style="font-size: 10px">Saturday, 24 October 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a></span><br />  I do not think about awesomeness...<br />I just am awesomeness<br />n.n<br /><a href="blog-0023.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.html">The beginnings of modular design for SDL Perl</a><br /><span style="font-size: 10px">Sunday, 11 October 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />  “Do or do not... there is no try.” <br />   --yoda  <br />  The design before <br /><a href="blog-0024.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Updates</h1><div><a href="blog-0017.html">Threaded XS callback finally gets solved.</a><br /><span style="font-size: 10px">Wednesday, 06 January 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />  <br />Dragged down from the lofty isles,<br />into the guts and gore of the monster,<br /><a href="blog-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.html">Development Update</a><br /><span style="font-size: 10px">Monday, 09 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />  Short and Sweet <br /> <br />Had an exam on the weekend so I am a bit late. Here is the progress so far. <br /><a href="blog-0024.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.html">Development Update</a><br /><span style="font-size: 10px">Monday, 02 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />  <br />A stoic stone will sit idle, <br />but will some effort,<br /><a href="blog-0025.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 502d47a..ea4a22b 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: XS</h1><div><a href="blog-0003.html">Providing direct memory access to SDL_Surface's pixels</a><br /><span style="font-size: 10px">Wednesday, 23 June 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Pack.html" style="font-size: 10px">[Pack]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Surface.html" style="font-size: 10px">[Surface]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br /> In an attempt to make pixel access easier on SDL_Surface pixels. I have started work on  SDLx::Surface . So far I have only start on the 32 bpp surfaces. <br /> The general idea is to make Pointer Values (PV) of each pixel in the surface and place them into a 2D matrix. First I make pointer values like this:  <br /> SV  *  get_pixel32  ( SDL_Surface  * surface ,   int  x ,   int  y ) <br /><a href="blog-0003.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.html">Threaded XS callback finally gets solved.</a><br /><span style="font-size: 10px">Wednesday, 06 January 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />  <br />Dragged down from the lofty isles,<br />into the guts and gore of the monster,<br /><a href="blog-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.html">Once in a while .... (set_event_filter)</a><br /><span style="font-size: 10px">Friday, 13 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />   <br />Once in a while <br />Things just work! <br /><a href="blog-0019.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: XS</h1><div><a href="blog-0006.html">Providing direct memory access to SDL_Surface's pixels</a><br /><span style="font-size: 10px">Wednesday, 23 June 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Pack.html" style="font-size: 10px">[Pack]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Surface.html" style="font-size: 10px">[Surface]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br /> In an attempt to make pixel access easier on SDL_Surface pixels. I have started work on  SDLx::Surface . So far I have only start on the 32 bpp surfaces. <br /> The general idea is to make Pointer Values (PV) of each pixel in the surface and place them into a 2D matrix. First I make pointer values like this:  <br /> SV  *  get_pixel32  ( SDL_Surface  * surface ,   int  x ,   int  y ) <br /><a href="blog-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.html">Threaded XS callback finally gets solved.</a><br /><span style="font-size: 10px">Wednesday, 06 January 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />  <br />Dragged down from the lofty isles,<br />into the guts and gore of the monster,<br /><a href="blog-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.html">Once in a while .... (set_event_filter)</a><br /><span style="font-size: 10px">Friday, 13 November 2009</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />   <br />Once in a while <br />Things just work! <br /><a href="blog-0022.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 11d0e85..c95dfe6 100644 (file)
@@ -1,24 +1,24 @@
-API: blog-0005.html-inc
-Building: blog-0001.html-inc,blog-0011.html-inc
-Design: blog-0005.html-inc,blog-0023.html-inc,blog-0024.html-inc
-Docs: blog-0005.html-inc,blog-0017.html-inc
-Example: blog-0018.html-inc
-EyeCandy: blog-0009.html-inc
-Frozen Bubble: blog-0006.html-inc,blog-0007.html-inc,blog-0025.html-inc
-GSOC: blog-0008.html-inc
-Game: blog-0012.html-inc
-PDL: blog-0002.html-inc
-Pack: blog-0003.html-inc
-Packaging: blog-0004.html-inc
-Perl: blog-0001.html-inc,blog-0002.html-inc,blog-0003.html-inc,blog-0004.html-inc,blog-0005.html-inc,blog-0006.html-inc,blog-0007.html-inc,blog-0008.html-inc,blog-0009.html-inc,blog-0014.html-inc,blog-0015.html-inc,blog-0016.html-inc,blog-0017.html-inc,blog-0018.html-inc,blog-0019.html-inc,blog-0020.html-inc,blog-0021.html-inc,blog-0022.html-inc,blog-0025.html-inc
-Releases: blog-0011.html-inc,blog-0013.html-inc,blog-0015.html-inc,blog-0016.html-inc
-SDL: blog-0001.html-inc,blog-0002.html-inc,blog-0003.html-inc,blog-0004.html-inc,blog-0005.html-inc,blog-0006.html-inc,blog-0007.html-inc,blog-0008.html-inc,blog-0011.html-inc,blog-0012.html-inc,blog-0013.html-inc,blog-0014.html-inc,blog-0015.html-inc,blog-0016.html-inc,blog-0017.html-inc,blog-0018.html-inc,blog-0019.html-inc,blog-0020.html-inc,blog-0021.html-inc,blog-0022.html-inc,blog-0023.html-inc,blog-0024.html-inc,blog-0025.html-inc
-SDL Perl: blog-0009.html-inc
-SDL Perl EyeCandy: blog-0010.html-inc
-Showcase: blog-0009.html-inc
-Sneak Preview: blog-0020.html-inc
-Surface: blog-0003.html-inc
-TPM: blog-0012.html-inc
-Updates: blog-0014.html-inc,blog-0021.html-inc,blog-0022.html-inc,blog-0023.html-inc,blog-0024.html-inc
-XS: blog-0003.html-inc,blog-0014.html-inc,blog-0019.html-inc
-games: blog-0023.html-inc
+API: blog-0008.html-inc
+Building: blog-0004.html-inc,blog-0014.html-inc
+Design: blog-0008.html-inc
+Docs: blog-0008.html-inc,blog-0020.html-inc
+Example: blog-0003.html-inc,blog-0021.html-inc
+EyeCandy: blog-0012.html-inc
+Frozen Bubble: blog-0009.html-inc,blog-0010.html-inc
+GSOC: blog-0011.html-inc
+Game: blog-0015.html-inc
+PDL: blog-0005.html-inc
+Pack: blog-0006.html-inc
+Packaging: blog-0007.html-inc
+Perl: blog-0001.html-inc,blog-0002.html-inc,blog-0003.html-inc,blog-0004.html-inc,blog-0005.html-inc,blog-0006.html-inc,blog-0007.html-inc,blog-0008.html-inc,blog-0009.html-inc,blog-0010.html-inc,blog-0011.html-inc,blog-0012.html-inc,blog-0017.html-inc,blog-0018.html-inc,blog-0019.html-inc,blog-0020.html-inc,blog-0021.html-inc,blog-0022.html-inc,blog-0023.html-inc,blog-0024.html-inc,blog-0025.html-inc
+Releases: blog-0002.html-inc,blog-0014.html-inc,blog-0016.html-inc,blog-0018.html-inc,blog-0019.html-inc
+SDL: blog-0001.html-inc,blog-0002.html-inc,blog-0003.html-inc,blog-0004.html-inc,blog-0005.html-inc,blog-0006.html-inc,blog-0007.html-inc,blog-0008.html-inc,blog-0009.html-inc,blog-0010.html-inc,blog-0011.html-inc,blog-0014.html-inc,blog-0015.html-inc,blog-0016.html-inc,blog-0017.html-inc,blog-0018.html-inc,blog-0019.html-inc,blog-0020.html-inc,blog-0021.html-inc,blog-0022.html-inc,blog-0023.html-inc,blog-0024.html-inc,blog-0025.html-inc
+SDL Perl: blog-0012.html-inc
+SDL Perl EyeCandy: blog-0013.html-inc
+Showcase: blog-0001.html-inc,blog-0012.html-inc
+Sneak Preview: blog-0023.html-inc
+Surface: blog-0006.html-inc
+Syntax: blog-0003.html-inc
+TPM: blog-0015.html-inc
+Updates: blog-0017.html-inc,blog-0024.html-inc,blog-0025.html-inc
+XS: blog-0006.html-inc,blog-0017.html-inc,blog-0022.html-inc