Updated
kthakore [Wed, 1 Sep 2010 19:29:12 +0000 (19:29 +0000)]
54 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/index.html-inc
pages/index.pod
pages/tags-API.html-inc
pages/tags-Building.html-inc
pages/tags-Demo.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-Physics.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-Surface.html-inc
pages/tags-Syntax.html-inc
pages/tags-TPM.html-inc
pages/tags-Updates.html-inc
pages/tags-XS.html-inc
pages/tags-index

index ffb9963..bd5aba4 100644 (file)
@@ -1,2 +1,2 @@
 <div class="blog"><h1>Articles</h1>
-<div><a href="blog-0001.html">Introducing SDLx::Controller::Object, with our good friend Mario!</a><br /><span style="font-size: 10px">Friday, 20 August 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Demo.html" style="font-size: 10px">[Demo]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Physics.html" style="font-size: 10px">[Physics]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />  Hi Folks  <br />This past week I have been working on making interfacing physics with SDL rendering a lot easier. The idea was to provide the user a callback to describe the acceleration of their object in the X, Y axis and Rotation. Using this idea I have completed a preliminary work for SDLx::Controller::Object. The demo below shows an example that was made with it. The SDLx* code is available at  http://github.com/kthakore/SDL_perl  and demo code is available at  http://github.com/kthakore/scroller .<br />     Mario Demo using SDL Perl  from  SDLPerl  on  Vimeo .   <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0002.html">SDL 2.511 + Using SDL for quick visualizations</a><br /><span style="font-size: 10px">Monday, 09 August 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><br />SDL Perl 2.511 is showing great promises. The initial tests show a great deal of stability.&nbsp;<a href="http://search.cpan.org/~kthakore/SDL-2.511/">http://search.cpan.org/~kthakore/SDL-2.511/ <br />&nbsp;Moreover we are seeing more varied users of SDL Perl.<br />John.O Writes:<br /> <br />This is for a tool that we'll be providing our dealers... it measures cellular modem signal strengths out in the middle of nowhere, so dealers can evaluate if our products will work in customers' fields. And of course, I'm using Perl/SDL for the graphics... C gets on my nerves.<br />Our company is  http://smartfield.com .<br />John O.<br />        <br /> <a href="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/0/da"><img src="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/1/da"><img src="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/taMSrti4vNc" height="1" width="1"/><br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0003.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-0003.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0004.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-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0005.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-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0006.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-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.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-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0008.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-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0009.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-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0010.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-0010.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0011.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-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0012.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-0012.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0013.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-0013.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.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-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.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-0015.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.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-0016.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.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-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.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-0018.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.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-0019.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.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-0020.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.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-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.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-0022.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.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-0023.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.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-0024.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.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-0025.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /></div>
+<div><a href="blog-0001.html">SDL 2.512 released - Layers Support added</a><br /><span style="font-size: 10px">Tuesday, 31 August 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-EyeCandy.html" style="font-size: 10px">[EyeCandy]</a> <a href="tags-Game.html" style="font-size: 10px">[Game]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />The new release of SDL adds Layer support, which means that rendering surfaces by layers is a lot easier. SDL 2.512 has several other changes too. An experimental physics interface and minor fixes. Have a look at the CHANGELOG.<br />Here is an implementation of the new Layer stuff.  Solitaire .<br />        <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0002.html">Introducing SDLx::Controller::Object, with our good friend Mario!</a><br /><span style="font-size: 10px">Friday, 20 August 2010</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Demo.html" style="font-size: 10px">[Demo]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Physics.html" style="font-size: 10px">[Physics]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />  Hi Folks  <br />This past week I have been working on making interfacing physics with SDL rendering a lot easier. The idea was to provide the user a callback to describe the acceleration of their object in the X, Y axis and Rotation. Using this idea I have completed a preliminary work for SDLx::Controller::Object. The demo below shows an example that was made with it. The SDLx* code is available at  http://github.com/kthakore/SDL_perl  and demo code is available at  http://github.com/kthakore/scroller .<br />     Mario Demo using SDL Perl  from  SDLPerl  on  Vimeo .   <br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0003.html">SDL 2.511 + Using SDL for quick visualizations</a><br /><span style="font-size: 10px">Monday, 09 August 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><br />SDL Perl 2.511 is showing great promises. The initial tests show a great deal of stability.&nbsp;<a href="http://search.cpan.org/~kthakore/SDL-2.511/">http://search.cpan.org/~kthakore/SDL-2.511/ <br />&nbsp;Moreover we are seeing more varied users of SDL Perl.<br />John.O Writes:<br /> <br />This is for a tool that we'll be providing our dealers... it measures cellular modem signal strengths out in the middle of nowhere, so dealers can evaluate if our products will work in customers' fields. And of course, I'm using Perl/SDL for the graphics... C gets on my nerves.<br />Our company is  http://smartfield.com .<br />John O.<br />        <br /> <a href="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/0/da"><img src="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/1/da"><img src="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/taMSrti4vNc" 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">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-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0005.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-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0006.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-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.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-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0008.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-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0009.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-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0010.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-0010.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0011.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-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0012.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-0012.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0013.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-0013.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.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-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.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-0015.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.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-0016.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.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-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.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-0018.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.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-0019.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.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-0020.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.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-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.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-0022.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.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-0023.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.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-0024.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.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-0025.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /></div>
index f5164b6..c077315 100644 (file)
@@ -1,12 +1,14 @@
 <div class="blog">
 <h1 id="NAME">
-Introducing SDLx::Controller::Object, with our good friend Mario!
+SDL 2.512 released - Layers Support added
 </h1>
 <div class="CONTENT">
-<b> Hi Folks </b><br />
+The new release of SDL adds Layer support, which means that rendering surfaces by layers is a lot easier. SDL 2.512 has several other changes too. An experimental physics interface and minor fixes. Have a look at the CHANGELOG.<br />
 <br />
-This past week I have been working on making interfacing physics with SDL rendering a lot easier. The idea was to provide the user a callback to describe the acceleration of their object in the X, Y axis and Rotation. Using this idea I have completed a preliminary work for SDLx::Controller::Object. The demo below shows an example that was made with it. The SDLx* code is available at <a href="http://github.com/kthakore/SDL_perl">http://github.com/kthakore/SDL_perl</a> and demo code is available at <a href="http://github.com/kthakore/scroller">http://github.com/kthakore/scroller</a>.<br />
 <br />
-<div style="text-align: center;"><iframe frameborder="0" height="415" src="http://player.vimeo.com/video/14293061" width="400"></iframe></div><a href="http://vimeo.com/14293061">Mario Demo using SDL Perl</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-1925633776306501908?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/hjWPkxlQ9tD0qoH5bMWRzEH7c1g/0/da"><img src="http://feedads.g.doubleclick.net/~a/hjWPkxlQ9tD0qoH5bMWRzEH7c1g/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/hjWPkxlQ9tD0qoH5bMWRzEH7c1g/1/da"><img src="http://feedads.g.doubleclick.net/~a/hjWPkxlQ9tD0qoH5bMWRzEH7c1g/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/5WPvR2b7_Nk" height="1" width="1"/></div></div>
\ No newline at end of file
+Here is an implementation of the new Layer stuff. <a href="http://github.com/froggs/Solitaire">Solitaire</a>.<br />
+<br />
+<br />
+<div class="separator" style="clear: both; text-align: center;"><a href="http://www5.pic-upload.de/31.08.10/22z8bjleljol.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://www5.pic-upload.de/31.08.10/22z8bjleljol.jpg" width="320" /></a></div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-362786930729278631?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/n-w1Gixc0G4Uub3ttCs01KdM_E4/0/da"><img src="http://feedads.g.doubleclick.net/~a/n-w1Gixc0G4Uub3ttCs01KdM_E4/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/n-w1Gixc0G4Uub3ttCs01KdM_E4/1/da"><img src="http://feedads.g.doubleclick.net/~a/n-w1Gixc0G4Uub3ttCs01KdM_E4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/Q5bESE5CTdc" height="1" width="1"/></div></div>
\ No newline at end of file
index 33ffb48..f5164b6 100644 (file)
@@ -1,20 +1,12 @@
 <div class="blog">
 <h1 id="NAME">
-SDL 2.511 + Using SDL for quick visualizations
+Introducing SDLx::Controller::Object, with our good friend Mario!
 </h1>
 <div class="CONTENT">
-SDL Perl 2.511 is showing great promises. The initial tests show a great deal of stability.&nbsp;<a href="http://search.cpan.org/~kthakore/SDL-2.511/">http://search.cpan.org/~kthakore/SDL-2.511/</a><br />
+<b> Hi Folks </b><br />
 <br />
-&nbsp;Moreover we are seeing more varied users of SDL Perl.<br />
+This past week I have been working on making interfacing physics with SDL rendering a lot easier. The idea was to provide the user a callback to describe the acceleration of their object in the X, Y axis and Rotation. Using this idea I have completed a preliminary work for SDLx::Controller::Object. The demo below shows an example that was made with it. The SDLx* code is available at <a href="http://github.com/kthakore/SDL_perl">http://github.com/kthakore/SDL_perl</a> and demo code is available at <a href="http://github.com/kthakore/scroller">http://github.com/kthakore/scroller</a>.<br />
 <br />
-John.O Writes:<br />
-<hr /><br />
-This is for a tool that we'll be providing our dealers... it measures cellular modem signal strengths out in the middle of nowhere, so dealers can evaluate if our products will work in customers' fields. And of course, I'm using Perl/SDL for the graphics... C gets on my nerves.<br />
-<br />
-Our company is <a href="http://smartfield.com/">http://smartfield.com</a>.<br />
-<br />
-John O.<br />
-<br />
-<div class="separator" style="clear: both; text-align: center;"><a href="http://sdlperl.ath.cx/screenshot2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="192" src="http://sdlperl.ath.cx/screenshot2.png" width="320" /></a></div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4625022127595563867?l=yapgh.blogspot.com' alt='' /></div>
-<p><a href="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/0/da"><img src="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/1/da"><img src="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/taMSrti4vNc" height="1" width="1"/></div></div>
\ No newline at end of file
+<div style="text-align: center;"><iframe frameborder="0" height="415" src="http://player.vimeo.com/video/14293061" width="400"></iframe></div><a href="http://vimeo.com/14293061">Mario Demo using SDL Perl</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-1925633776306501908?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/hjWPkxlQ9tD0qoH5bMWRzEH7c1g/0/da"><img src="http://feedads.g.doubleclick.net/~a/hjWPkxlQ9tD0qoH5bMWRzEH7c1g/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/hjWPkxlQ9tD0qoH5bMWRzEH7c1g/1/da"><img src="http://feedads.g.doubleclick.net/~a/hjWPkxlQ9tD0qoH5bMWRzEH7c1g/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/5WPvR2b7_Nk" height="1" width="1"/></div></div>
\ No newline at end of file
index 21af3c6..33ffb48 100644 (file)
@@ -1,38 +1,20 @@
 <div class="blog">
 <h1 id="NAME">
-Perl+SDL 3D Rendering
+SDL 2.511 + Using SDL for quick visualizations
 </h1>
 <div class="CONTENT">
-<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 />
+SDL Perl 2.511 is showing great promises. The initial tests show a great deal of stability.&nbsp;<a href="http://search.cpan.org/~kthakore/SDL-2.511/">http://search.cpan.org/~kthakore/SDL-2.511/</a><br />
 <br />
-<i>--yapgh</i><br />
+&nbsp;Moreover we are seeing more varied users of SDL Perl.<br />
 <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 />
+John.O Writes:<br />
+<hr /><br />
+This is for a tool that we'll be providing our dealers... it measures cellular modem signal strengths out in the middle of nowhere, so dealers can evaluate if our products will work in customers' fields. And of course, I'm using Perl/SDL for the graphics... C gets on my nerves.<br />
 <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 />
+Our company is <a href="http://smartfield.com/">http://smartfield.com</a>.<br />
 <br />
-NOTE: the project is compressed in the .tgz format, if you are a windows user, you may need a tool like 7zip to extract the contents.<br />
+John O.<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 />
-<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/9OeYlfWcu240PezvaIgNkaxLy_Q/0/da"><img src="http://feedads.g.doubleclick.net/~a/9OeYlfWcu240PezvaIgNkaxLy_Q/0/di" border="0" ismap="true"></img></a><br/>
-<a href="http://feedads.g.doubleclick.net/~a/9OeYlfWcu240PezvaIgNkaxLy_Q/1/da"><img src="http://feedads.g.doubleclick.net/~a/9OeYlfWcu240PezvaIgNkaxLy_Q/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
+<div class="separator" style="clear: both; text-align: center;"><a href="http://sdlperl.ath.cx/screenshot2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="192" src="http://sdlperl.ath.cx/screenshot2.png" width="320" /></a></div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4625022127595563867?l=yapgh.blogspot.com' alt='' /></div>
+<p><a href="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/0/da"><img src="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/1/da"><img src="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/taMSrti4vNc" height="1" width="1"/></div></div>
\ No newline at end of file
index b877a58..21af3c6 100644 (file)
@@ -1,13 +1,38 @@
 <div class="blog">
 <h1 id="NAME">
-SDL 2.503 Released!
+Perl+SDL 3D Rendering
 </h1>
 <div class="CONTENT">
-<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
+<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 />
+<i>--yapgh</i><br />
+<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 />
+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 />
+NOTE: the project is compressed in the .tgz format, if you are a windows user, you may need 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 />
+<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/9OeYlfWcu240PezvaIgNkaxLy_Q/0/da"><img src="http://feedads.g.doubleclick.net/~a/9OeYlfWcu240PezvaIgNkaxLy_Q/0/di" border="0" ismap="true"></img></a><br/>
+<a href="http://feedads.g.doubleclick.net/~a/9OeYlfWcu240PezvaIgNkaxLy_Q/1/da"><img src="http://feedads.g.doubleclick.net/~a/9OeYlfWcu240PezvaIgNkaxLy_Q/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 b1abc1d..b877a58 100644 (file)
@@ -1,23 +1,13 @@
 <div class="blog">
 <h1 id="NAME">
-Huge World Maps in less then 100 lines
+SDL 2.503 Released!
 </h1>
 <div class="CONTENT">
-<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 />
-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
+<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 4c366da..b1abc1d 100644 (file)
@@ -1,26 +1,23 @@
 <div class="blog">
 <h1 id="NAME">
-The Build Process of SDL Perl
+Huge World Maps in less then 100 lines
 </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 />
+<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 />
-<h3>The Build Process </h3><br />
-<b> Alien::SDL </b><br />
+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 />
-<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 />
+<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 />
-<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 />
 <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 />
-<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
+<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 706ea53..4c366da 100644 (file)
@@ -1,77 +1,26 @@
 <div class="blog">
 <h1 id="NAME">
-SDL RC 2.5 decides to play with PDL
+The Build Process of SDL Perl
 </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 />
+<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 />
+<h3>The Build Process </h3><br />
+<b> Alien::SDL </b><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 />
+<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 />
-<h3>Creating a simple piddle</h3><br />
-First lets get the right modules.<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 />
-<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 />
+<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 />
-<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
+<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 2e202e7..706ea53 100644 (file)
@@ -1,81 +1,77 @@
 <div class="blog">
 <h1 id="NAME">
-Providing direct memory access to SDL_Surface's pixels
+SDL RC 2.5 decides to play with PDL
 </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>
+<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 />
-<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>
+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 />
-<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 />
+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> $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 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 />
-<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>
+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 />
-<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>
+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 />
-<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
+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 5cffcd0..2e202e7 100644 (file)
@@ -1,18 +1,81 @@
 <div class="blog">
 <h1 id="NAME">
-SDLpp.pl: Packaging SDL Scripts Alpha
+Providing direct memory access to SDL_Surface's pixels
 </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>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 />
-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 />
-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
+<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 2bd84fc..5cffcd0 100644 (file)
@@ -1,40 +1,18 @@
 <div class="blog">
 <h1 id="NAME">
-Getting people to use SDL Perl: Docs, API, and Distribution
+SDLpp.pl: Packaging SDL Scripts Alpha
 </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 />
+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 />
-<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 />
+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 />
-<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
+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 ef14036..2bd84fc 100644 (file)
@@ -1,10 +1,40 @@
 <div class="blog">
 <h1 id="NAME">
-Games::FrozenBubble: It is a start!
+Getting people to use SDL Perl: Docs, API, and Distribution
 </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 />
+<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 />
-<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
+<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
index 3bbdb8b..ef14036 100644 (file)
@@ -1,15 +1,10 @@
 <div class="blog">
 <h1 id="NAME">
-Release SDL 2.4: Frozen-Bubble begins to go to CPAN
+Games::FrozenBubble: It is a start!
 </h1>
 <div class="CONTENT">
-<b><br />
-SDL 2.4 is released!</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 />
-After 8 months of work this picture begins to sum it up:<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
+<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 6e3de57..3bbdb8b 100644 (file)
@@ -1,21 +1,15 @@
 <div class="blog">
 <h1 id="NAME">
-A summer of possibilities (SDL_perl and GSOC 2010 )
+Release SDL 2.4: Frozen-Bubble begins to go to CPAN
 </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 />
+<b><br />
+SDL 2.4 is released!</b><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 />
+After 8 months of work this picture begins to sum it up:<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
+<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 8978342..6e3de57 100644 (file)
@@ -1,36 +1,21 @@
 <div class="blog">
 <h1 id="NAME">
-SDL Perl Showcase
+A summer of possibilities (SDL_perl and GSOC 2010 )
 </h1>
 <div class="CONTENT">
-<b><br />
-SDL_Mixer and Effects</b><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 />
-<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>
+<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 />
-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 />
+<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 />
-<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
+--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 7f9c593..8978342 100644 (file)
@@ -1,25 +1,36 @@
 <div class="blog">
 <h1 id="NAME">
-Eye Candy
+SDL Perl Showcase
 </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_Mixer and Effects</b><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 />
-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 />
+<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 />
-This is shooter.pl finally working in MacOSX and 64 bit.<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 />
-<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 />
+<b><br />
+SDL_TTF support </b><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://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
index 1945937..7f9c593 100644 (file)
@@ -1,38 +1,25 @@
 <div class="blog">
 <h1 id="NAME">
-New build system! Needs testing!
+Eye Candy
 </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 />
+<i style="text-align: right;"><br />
+<b>clang </b><br />
+With each imperfect hit <br />
+a legendary blade forms<br />
+</i><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
+<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 bdf8c94..1945937 100644 (file)
@@ -1,31 +1,38 @@
 <div class="blog">
 <h1 id="NAME">
-Quick Game for Toronto Perl Mongers
+New build system! Needs testing!
 </h1>
 <div class="CONTENT">
-<i><br />
-<div style="text-align: right;">Beep ... Boop<br />
-</div></i><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 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
+<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 1cfd8ae..bdf8c94 100644 (file)
@@ -1,14 +1,31 @@
 <div class="blog">
 <h1 id="NAME">
-SDL_perl 2.3_5 is out!
+Quick Game for Toronto Perl Mongers
 </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><br />
+<div style="text-align: right;">Beep ... Boop<br />
+</div></i><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 />
+<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 64faf76..1cfd8ae 100644 (file)
@@ -1,23 +1,14 @@
 <div class="blog">
 <h1 id="NAME">
-Threaded XS callback finally gets solved.
+SDL_perl 2.3_5 is out!
 </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 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 />
-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>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 21daaf4..64faf76 100644 (file)
@@ -1,18 +1,23 @@
 <div class="blog">
 <h1 id="NAME">
-SDL Alpha 2: A sneak preview
+Threaded XS callback finally gets solved.
 </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 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 />
-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 />
-<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 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 c3b4a76..21daaf4 100644 (file)
@@ -1,22 +1,18 @@
 <div class="blog">
 <h1 id="NAME">
-Developer Release of SDL 2.3_1
+SDL Alpha 2: A sneak preview
 </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>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 />
-<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 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 />
-<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
+<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 ab2aa11..c3b4a76 100644 (file)
@@ -1,17 +1,22 @@
 <div class="blog">
 <h1 id="NAME">
-SDL Perl Documentation: Reviewers need
+Developer Release of SDL 2.3_1
 </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 />
+The city of Rome was built,<br />
+with the first brick.<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
+<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 />
+<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
index 84a740f..ab2aa11 100644 (file)
@@ -1,35 +1,17 @@
 <div class="blog">
 <h1 id="NAME">
-Migrating Sol's Tutorial of SDL to SDL_Perl
+SDL Perl Documentation: Reviewers need
 </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><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 />
-<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 />
-<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
+<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 0de3c83..84a740f 100644 (file)
@@ -1,59 +1,35 @@
 <div class="blog">
 <h1 id="NAME">
-Once in a while .... (set_event_filter)
+Migrating Sol's Tutorial of SDL to SDL_Perl
 </h1>
 <div class="CONTENT">
-<div style="text-align: right;"><i> <br />
-Once in a while <br />
-Things just work! <br />
-</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 />
+<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 />
-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 />
+Then you can run this script by doing<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
+<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 e65be37..0de3c83 100644 (file)
@@ -1,36 +1,59 @@
 <div class="blog">
 <h1 id="NAME">
-Hello Mouse? An Example of the New Event Code
+Once in a while .... (set_event_filter)
 </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 />
+Once in a while <br />
+Things just work! <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
+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 8bc72c5..ca95196 100644 (file)
@@ -11,7 +11,7 @@
 </ul>
 </li>
 <li><a href="#Latest_News">Latest News</a>
-<ul><li><a href="#August_03_2010">August 03 2010</a>
+<ul><li><a href="#August_31_2010">August 31 2010</a>
 <ul><li><a href="#CPAN_Release">CPAN Release</a></li>
 <li><a href="#Active_Development">Active Development</a>
 </li>
@@ -28,7 +28,7 @@
 </div>
 <h2 id="Welcome">Welcome</h2>
 <div id="Welcome_CONTENT">
-<p>SDL Perl are a set of bindings to the Simple DirectMedia Library (SDL).</p>
+<p>SDL Perl are a set of bindings to the Simple DirectMedia Layer (SDL).</p>
 <p>'Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 
 3D hardware via OpenGL, and 2D video framebuffer. It is used by MPEG playback software, emulators, and many popular games, including the 
 award winning Linux port of &quot;Civilization: Call To Power.&quot;' --<cite>www.libsdl.org</cite></p>
@@ -68,8 +68,8 @@ award winning Linux port of &quot;Civilization: Call To Power.&quot;' --<cite>ww
 <div id="Latest_News_CONTENT">
 
 </div>
-<h2 id="August_03_2010">August 03 2010</h2>
-<div id="August_03_2010_CONTENT">
+<h2 id="August_31_2010">August 31 2010</h2>
+<div id="August_31_2010_CONTENT">
 
 </div>
 <h3 id="CPAN_Release">CPAN Release</h3>
@@ -83,4 +83,4 @@ award winning Linux port of &quot;Civilization: Call To Power.&quot;' --<cite>ww
 <p>SDL Perl is being actively developed to v3.0. We are adding many new SDLx::* modules to provide a more Perly interface to SDL. Please review, request or even hack the code. Talk to us on the irc channel or mailing lists.</p>
 
 </div>
-</div>
+</div>
\ No newline at end of file
index fcf9bef..73dc23c 100644 (file)
@@ -4,7 +4,7 @@
 
 =head2 Welcome
 
-SDL Perl are a set of bindings to the Simple DirectMedia Library (SDL).
+SDL Perl are a set of bindings to the Simple DirectMedia Layer (SDL).
 
 'Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 
 3D hardware via OpenGL, and 2D video framebuffer. It is used by MPEG playback software, emulators, and many popular games, including the 
@@ -48,7 +48,7 @@ To begin testing read L<this| http://sdlperl.ath.cx/projects/SDLPerl/wiki/Testin
 
 =head1 Latest News
 
-=head2 August 03 2010
+=head2 August 31 2010
 
 =head3 CPAN Release
        
index 679cda6..8549a94 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: API</h1><div><a href="blog-0010.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-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: API</h1><div><a href="blog-0011.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-0011.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 83af412..f4cf9fb 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Building</h1><div><a href="blog-0006.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-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.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-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: Building</h1><div><a href="blog-0007.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-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.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-0017.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 7a4de57..a0d25d0 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Demo</h1><div><a href="blog-0001.html">Introducing SDLx::Controller::Object, with our good friend Mario!</a><br /><span style="font-size: 10px">Friday, 20 August 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Demo.html" style="font-size: 10px">[Demo]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Physics.html" style="font-size: 10px">[Physics]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  Hi Folks  <br />This past week I have been working on making interfacing physics with SDL rendering a lot easier. The idea was to provide the user a callback to describe the acceleration of their object in the X, Y axis and Rotation. Using this idea I have completed a preliminary work for SDLx::Controller::Object. The demo below shows an example that was made with it. The SDLx* code is available at  http://github.com/kthakore/SDL_perl  and demo code is available at  http://github.com/kthakore/scroller .<br />     Mario Demo using SDL Perl  from  SDLPerl  on  Vimeo .   <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Demo</h1><div><a href="blog-0002.html">Introducing SDLx::Controller::Object, with our good friend Mario!</a><br /><span style="font-size: 10px">Friday, 20 August 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Demo.html" style="font-size: 10px">[Demo]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Physics.html" style="font-size: 10px">[Physics]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  Hi Folks  <br />This past week I have been working on making interfacing physics with SDL rendering a lot easier. The idea was to provide the user a callback to describe the acceleration of their object in the X, Y axis and Rotation. Using this idea I have completed a preliminary work for SDLx::Controller::Object. The demo below shows an example that was made with it. The SDLx* code is available at  http://github.com/kthakore/SDL_perl  and demo code is available at  http://github.com/kthakore/scroller .<br />     Mario Demo using SDL Perl  from  SDLPerl  on  Vimeo .   <br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 266b6b0..1efff67 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Design</h1><div><a href="blog-0010.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-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: Design</h1><div><a href="blog-0011.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-0011.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 58e6921..011565a 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Docs</h1><div><a href="blog-0010.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-0010.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.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-0022.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-0011.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-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.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-0023.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 992575b..04b091d 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Example</h1><div><a href="blog-0005.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-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.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-0023.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-0006.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-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.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-0024.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 379eaef..2a16d1f 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: EyeCandy</h1><div><a href="blog-0014.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-0014.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-0001.html">SDL 2.512 released - Layers Support added</a><br /><span style="font-size: 10px">Tuesday, 31 August 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-EyeCandy.html" style="font-size: 10px">[EyeCandy]</a> <a href="tags-Game.html" style="font-size: 10px">[Game]</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 />The new release of SDL adds Layer support, which means that rendering surfaces by layers is a lot easier. SDL 2.512 has several other changes too. An experimental physics interface and minor fixes. Have a look at the CHANGELOG.<br />Here is an implementation of the new Layer stuff.  Solitaire .<br />        <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.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-0015.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 24c0113..b6150eb 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Frozen Bubble</h1><div><a href="blog-0011.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-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0012.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-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: Frozen Bubble</h1><div><a href="blog-0012.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-0012.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0013.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-0013.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 96e82be..11bf623 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: GSOC</h1><div><a href="blog-0013.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-0013.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-0014.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-0014.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 6cbf15f..d0dcb92 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Game</h1><div><a href="blog-0017.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-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: Game</h1><div><a href="blog-0001.html">SDL 2.512 released - Layers Support added</a><br /><span style="font-size: 10px">Tuesday, 31 August 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-EyeCandy.html" style="font-size: 10px">[EyeCandy]</a> <a href="tags-Game.html" style="font-size: 10px">[Game]</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 />The new release of SDL adds Layer support, which means that rendering surfaces by layers is a lot easier. SDL 2.512 has several other changes too. An experimental physics interface and minor fixes. Have a look at the CHANGELOG.<br />Here is an implementation of the new Layer stuff.  Solitaire .<br />        <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.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-0018.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 4869f8d..8683952 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: PDL</h1><div><a href="blog-0007.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-0007.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-0008.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-0008.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 2606739..1df0bf3 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Pack</h1><div><a href="blog-0008.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-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: Pack</h1><div><a href="blog-0009.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-0009.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 024a016..8a307d0 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Packaging</h1><div><a href="blog-0009.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-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: Packaging</h1><div><a href="blog-0010.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-0010.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index faddb82..2bd1807 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Perl</h1><div><a href="blog-0001.html">Introducing SDLx::Controller::Object, with our good friend Mario!</a><br /><span style="font-size: 10px">Friday, 20 August 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Demo.html" style="font-size: 10px">[Demo]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Physics.html" style="font-size: 10px">[Physics]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  Hi Folks  <br />This past week I have been working on making interfacing physics with SDL rendering a lot easier. The idea was to provide the user a callback to describe the acceleration of their object in the X, Y axis and Rotation. Using this idea I have completed a preliminary work for SDLx::Controller::Object. The demo below shows an example that was made with it. The SDLx* code is available at  http://github.com/kthakore/SDL_perl  and demo code is available at  http://github.com/kthakore/scroller .<br />     Mario Demo using SDL Perl  from  SDLPerl  on  Vimeo .   <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0002.html">SDL 2.511 + Using SDL for quick visualizations</a><br /><span style="font-size: 10px">Monday, 09 August 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></span><br />SDL Perl 2.511 is showing great promises. The initial tests show a great deal of stability.&nbsp;<a href="http://search.cpan.org/~kthakore/SDL-2.511/">http://search.cpan.org/~kthakore/SDL-2.511/ <br />&nbsp;Moreover we are seeing more varied users of SDL Perl.<br />John.O Writes:<br /> <br />This is for a tool that we'll be providing our dealers... it measures cellular modem signal strengths out in the middle of nowhere, so dealers can evaluate if our products will work in customers' fields. And of course, I'm using Perl/SDL for the graphics... C gets on my nerves.<br />Our company is  http://smartfield.com .<br />John O.<br />        <br /> <a href="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/0/da"><img src="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/1/da"><img src="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/taMSrti4vNc" height="1" width="1"/><br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0003.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-0003.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0004.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-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0005.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-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0006.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-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.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-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0008.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-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0009.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-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0010.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-0010.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0011.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-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0012.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-0012.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0013.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-0013.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.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-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.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-0019.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.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-0020.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.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-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.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-0022.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.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-0023.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.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-0024.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.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-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-0002.html">Introducing SDLx::Controller::Object, with our good friend Mario!</a><br /><span style="font-size: 10px">Friday, 20 August 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Demo.html" style="font-size: 10px">[Demo]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Physics.html" style="font-size: 10px">[Physics]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  Hi Folks  <br />This past week I have been working on making interfacing physics with SDL rendering a lot easier. The idea was to provide the user a callback to describe the acceleration of their object in the X, Y axis and Rotation. Using this idea I have completed a preliminary work for SDLx::Controller::Object. The demo below shows an example that was made with it. The SDLx* code is available at  http://github.com/kthakore/SDL_perl  and demo code is available at  http://github.com/kthakore/scroller .<br />     Mario Demo using SDL Perl  from  SDLPerl  on  Vimeo .   <br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0003.html">SDL 2.511 + Using SDL for quick visualizations</a><br /><span style="font-size: 10px">Monday, 09 August 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></span><br />SDL Perl 2.511 is showing great promises. The initial tests show a great deal of stability.&nbsp;<a href="http://search.cpan.org/~kthakore/SDL-2.511/">http://search.cpan.org/~kthakore/SDL-2.511/ <br />&nbsp;Moreover we are seeing more varied users of SDL Perl.<br />John.O Writes:<br /> <br />This is for a tool that we'll be providing our dealers... it measures cellular modem signal strengths out in the middle of nowhere, so dealers can evaluate if our products will work in customers' fields. And of course, I'm using Perl/SDL for the graphics... C gets on my nerves.<br />Our company is  http://smartfield.com .<br />John O.<br />        <br /> <a href="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/0/da"><img src="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/1/da"><img src="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/taMSrti4vNc" 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">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-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0005.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-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0006.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-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.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-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0008.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-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0009.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-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0010.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-0010.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0011.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-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0012.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-0012.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0013.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-0013.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.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-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.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-0015.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.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-0020.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.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-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.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-0022.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.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-0023.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.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-0024.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.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-0025.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 9ca6bc5..0d7fe62 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Physics</h1><div><a href="blog-0001.html">Introducing SDLx::Controller::Object, with our good friend Mario!</a><br /><span style="font-size: 10px">Friday, 20 August 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Demo.html" style="font-size: 10px">[Demo]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Physics.html" style="font-size: 10px">[Physics]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  Hi Folks  <br />This past week I have been working on making interfacing physics with SDL rendering a lot easier. The idea was to provide the user a callback to describe the acceleration of their object in the X, Y axis and Rotation. Using this idea I have completed a preliminary work for SDLx::Controller::Object. The demo below shows an example that was made with it. The SDLx* code is available at  http://github.com/kthakore/SDL_perl  and demo code is available at  http://github.com/kthakore/scroller .<br />     Mario Demo using SDL Perl  from  SDLPerl  on  Vimeo .   <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Physics</h1><div><a href="blog-0002.html">Introducing SDLx::Controller::Object, with our good friend Mario!</a><br /><span style="font-size: 10px">Friday, 20 August 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Demo.html" style="font-size: 10px">[Demo]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Physics.html" style="font-size: 10px">[Physics]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  Hi Folks  <br />This past week I have been working on making interfacing physics with SDL rendering a lot easier. The idea was to provide the user a callback to describe the acceleration of their object in the X, Y axis and Rotation. Using this idea I have completed a preliminary work for SDLx::Controller::Object. The demo below shows an example that was made with it. The SDLx* code is available at  http://github.com/kthakore/SDL_perl  and demo code is available at  http://github.com/kthakore/scroller .<br />     Mario Demo using SDL Perl  from  SDLPerl  on  Vimeo .   <br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 3ea2edc..dd716ba 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Releases</h1><div><a href="blog-0004.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-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.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-0016.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.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-0018.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.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-0020.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.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-0021.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-0001.html">SDL 2.512 released - Layers Support added</a><br /><span style="font-size: 10px">Tuesday, 31 August 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-EyeCandy.html" style="font-size: 10px">[EyeCandy]</a> <a href="tags-Game.html" style="font-size: 10px">[Game]</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 />The new release of SDL adds Layer support, which means that rendering surfaces by layers is a lot easier. SDL 2.512 has several other changes too. An experimental physics interface and minor fixes. Have a look at the CHANGELOG.<br />Here is an implementation of the new Layer stuff.  Solitaire .<br />        <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0005.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-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.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-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.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-0019.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.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-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.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-0022.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index c83a223..7423901 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: SDL Perl EyeCandy</h1><div><a href="blog-0015.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-0015.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-0016.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-0016.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index c3f6a7a..4042c01 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: SDL Perl</h1><div><a href="blog-0014.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-0014.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-0015.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-0015.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 6d91308..cba3a80 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: SDL</h1><div><a href="blog-0001.html">Introducing SDLx::Controller::Object, with our good friend Mario!</a><br /><span style="font-size: 10px">Friday, 20 August 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Demo.html" style="font-size: 10px">[Demo]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Physics.html" style="font-size: 10px">[Physics]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  Hi Folks  <br />This past week I have been working on making interfacing physics with SDL rendering a lot easier. The idea was to provide the user a callback to describe the acceleration of their object in the X, Y axis and Rotation. Using this idea I have completed a preliminary work for SDLx::Controller::Object. The demo below shows an example that was made with it. The SDLx* code is available at  http://github.com/kthakore/SDL_perl  and demo code is available at  http://github.com/kthakore/scroller .<br />     Mario Demo using SDL Perl  from  SDLPerl  on  Vimeo .   <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0002.html">SDL 2.511 + Using SDL for quick visualizations</a><br /><span style="font-size: 10px">Monday, 09 August 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></span><br />SDL Perl 2.511 is showing great promises. The initial tests show a great deal of stability.&nbsp;<a href="http://search.cpan.org/~kthakore/SDL-2.511/">http://search.cpan.org/~kthakore/SDL-2.511/ <br />&nbsp;Moreover we are seeing more varied users of SDL Perl.<br />John.O Writes:<br /> <br />This is for a tool that we'll be providing our dealers... it measures cellular modem signal strengths out in the middle of nowhere, so dealers can evaluate if our products will work in customers' fields. And of course, I'm using Perl/SDL for the graphics... C gets on my nerves.<br />Our company is  http://smartfield.com .<br />John O.<br />        <br /> <a href="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/0/da"><img src="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/1/da"><img src="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/taMSrti4vNc" height="1" width="1"/><br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0003.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-0003.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0004.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-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0005.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-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0006.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-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.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-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0008.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-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0009.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-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0010.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-0010.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0011.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-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0012.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-0012.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0013.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-0013.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.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-0016.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.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-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.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-0018.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.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-0019.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.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-0020.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.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-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.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-0022.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.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-0023.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.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-0024.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.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-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">SDL 2.512 released - Layers Support added</a><br /><span style="font-size: 10px">Tuesday, 31 August 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-EyeCandy.html" style="font-size: 10px">[EyeCandy]</a> <a href="tags-Game.html" style="font-size: 10px">[Game]</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 />The new release of SDL adds Layer support, which means that rendering surfaces by layers is a lot easier. SDL 2.512 has several other changes too. An experimental physics interface and minor fixes. Have a look at the CHANGELOG.<br />Here is an implementation of the new Layer stuff.  Solitaire .<br />        <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0002.html">Introducing SDLx::Controller::Object, with our good friend Mario!</a><br /><span style="font-size: 10px">Friday, 20 August 2010</span><br /><span style="font-size: 10px">Tags:  <a href="tags-Demo.html" style="font-size: 10px">[Demo]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Physics.html" style="font-size: 10px">[Physics]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />  Hi Folks  <br />This past week I have been working on making interfacing physics with SDL rendering a lot easier. The idea was to provide the user a callback to describe the acceleration of their object in the X, Y axis and Rotation. Using this idea I have completed a preliminary work for SDLx::Controller::Object. The demo below shows an example that was made with it. The SDLx* code is available at  http://github.com/kthakore/SDL_perl  and demo code is available at  http://github.com/kthakore/scroller .<br />     Mario Demo using SDL Perl  from  SDLPerl  on  Vimeo .   <br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0003.html">SDL 2.511 + Using SDL for quick visualizations</a><br /><span style="font-size: 10px">Monday, 09 August 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></span><br />SDL Perl 2.511 is showing great promises. The initial tests show a great deal of stability.&nbsp;<a href="http://search.cpan.org/~kthakore/SDL-2.511/">http://search.cpan.org/~kthakore/SDL-2.511/ <br />&nbsp;Moreover we are seeing more varied users of SDL Perl.<br />John.O Writes:<br /> <br />This is for a tool that we'll be providing our dealers... it measures cellular modem signal strengths out in the middle of nowhere, so dealers can evaluate if our products will work in customers' fields. And of course, I'm using Perl/SDL for the graphics... C gets on my nerves.<br />Our company is  http://smartfield.com .<br />John O.<br />        <br /> <a href="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/0/da"><img src="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/0/di" border="0" ismap="true">  <br /><a href="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/1/da"><img src="http://feedads.g.doubleclick.net/~a/4ef14C7N9N6loLPCw2LnQe-salU/1/di" border="0" ismap="true">   <img src="http://feeds.feedburner.com/~r/YetAnotherPerlGameHackeryapgh/~4/taMSrti4vNc" 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">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-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0005.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-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0006.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-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.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-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0008.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-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0009.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-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0010.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-0010.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0011.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-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0012.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-0012.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0013.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-0013.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.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-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.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-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.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-0018.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.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-0019.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.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-0020.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.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-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.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-0022.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.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-0023.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.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-0024.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.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-0025.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 49f509d..5226cb6 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Showcase</h1><div><a href="blog-0003.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-0003.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.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-0014.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-0004.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-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.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-0015.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 79f6fb0..119286e 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Surface</h1><div><a href="blog-0008.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-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: Surface</h1><div><a href="blog-0009.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-0009.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index b44594e..ee1b4dd 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Syntax</h1><div><a href="blog-0005.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-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: Syntax</h1><div><a href="blog-0006.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-0006.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 1a552c2..6437796 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: TPM</h1><div><a href="blog-0017.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-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: TPM</h1><div><a href="blog-0018.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-0018.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index e8e0b44..092228e 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: Updates</h1><div><a href="blog-0019.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-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: Updates</h1><div><a href="blog-0020.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-0020.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 04b6c38..5b7d193 100644 (file)
@@ -1 +1 @@
-<div class="blog"><h1>Results for tag: XS</h1><div><a href="blog-0008.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-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.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-0019.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.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-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: XS</h1><div><a href="blog-0009.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-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.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-0020.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.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-0025.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
index 17763a8..8168404 100644 (file)
@@ -1,26 +1,25 @@
-API: blog-0010.html-inc
-Building: blog-0006.html-inc,blog-0016.html-inc
-Demo: blog-0001.html-inc
-Design: blog-0010.html-inc
-Docs: blog-0010.html-inc,blog-0022.html-inc
-Example: blog-0005.html-inc,blog-0023.html-inc
-EyeCandy: blog-0014.html-inc
-Frozen Bubble: blog-0011.html-inc,blog-0012.html-inc
-GSOC: blog-0013.html-inc
-Game: blog-0017.html-inc
-PDL: blog-0007.html-inc
-Pack: blog-0008.html-inc
-Packaging: blog-0009.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-0013.html-inc,blog-0014.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
-Physics: blog-0001.html-inc
-Releases: blog-0004.html-inc,blog-0016.html-inc,blog-0018.html-inc,blog-0020.html-inc,blog-0021.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-0012.html-inc,blog-0013.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-0014.html-inc
-SDL Perl EyeCandy: blog-0015.html-inc
-Showcase: blog-0003.html-inc,blog-0014.html-inc
-Sneak Preview: blog-0025.html-inc
-Surface: blog-0008.html-inc
-Syntax: blog-0005.html-inc
-TPM: blog-0017.html-inc
-Updates: blog-0019.html-inc
-XS: blog-0008.html-inc,blog-0019.html-inc,blog-0024.html-inc
+API: blog-0011.html-inc
+Building: blog-0007.html-inc,blog-0017.html-inc
+Demo: blog-0002.html-inc
+Design: blog-0011.html-inc
+Docs: blog-0011.html-inc,blog-0023.html-inc
+Example: blog-0006.html-inc,blog-0024.html-inc
+EyeCandy: blog-0001.html-inc,blog-0015.html-inc
+Frozen Bubble: blog-0012.html-inc,blog-0013.html-inc
+GSOC: blog-0014.html-inc
+Game: blog-0001.html-inc,blog-0018.html-inc
+PDL: blog-0008.html-inc
+Pack: blog-0009.html-inc
+Packaging: blog-0010.html-inc
+Perl: 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-0013.html-inc,blog-0014.html-inc,blog-0015.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
+Physics: blog-0002.html-inc
+Releases: blog-0001.html-inc,blog-0005.html-inc,blog-0017.html-inc,blog-0019.html-inc,blog-0021.html-inc,blog-0022.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-0012.html-inc,blog-0013.html-inc,blog-0014.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-0015.html-inc
+SDL Perl EyeCandy: blog-0016.html-inc
+Showcase: blog-0004.html-inc,blog-0015.html-inc
+Surface: blog-0009.html-inc
+Syntax: blog-0006.html-inc
+TPM: blog-0018.html-inc
+Updates: blog-0020.html-inc
+XS: blog-0009.html-inc,blog-0020.html-inc,blog-0025.html-inc