From: kthakore Date: Sun, 23 Jan 2011 00:40:35 +0000 (-0500) Subject: Updated the site X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6855e5615bff699e656bdd67be71ac965fc77f54;p=sdlgit%2FSDL-Site.git Updated the site --- diff --git a/pages/blog-0000.html-inc b/pages/blog-0000.html-inc index 8e5e123..9aad9b6 100644 --- a/pages/blog-0000.html-inc +++ b/pages/blog-0000.html-inc @@ -1,2 +1,2 @@

Articles

-
Grant Progess Reports 1-3: Sept - Nov
Monday, 22 November 2010
Tags: [Grant] [Perl] [SDL] [Updates]
As you know I have received a TPF grant to write a SDL Perl Manual.


[more]


SDL 2.518 Released: Neverhood Clone
Monday, 04 October 2010
Tags: [EyeCandy] [Perl] [Releases] [SDL]
So Blaizer started a Neverhood clone and fixed a lot of the Controller code to make it work nicely. This has been released as SDL 2.518. It does break back compat a bit, but not too much.
Have a look at http://sdl.perl.org/SDL-Deprecated.html#2_517 to see the breakages.
The documentation for Controller has also been improved considerably.
[more]


SDL Manual: Reviewers Needed
Monday, 27 September 2010
Tags: [Grant] [Manual] [SDL]
Work has begun on the 4th chapter of the SDL Manual. The code is on github , and I regularly update the pdf on our server.
Writing manuals is not of my greatest skills, so I would love some review of my work. Any problems can be reported in the issues .
If you want to help with writing the manual, please join me on #sdl irc.perl.org or email us at
[more]


SDL 2.512 released - Layers Support added
Tuesday, 31 August 2010
Tags: [EyeCandy] [Game] [Releases] [SDL]
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.
Here is an implementation of the new Layer stuff. Solitaire .

[more]


Introducing SDLx::Controller::Object, with our good friend Mario!
Friday, 20 August 2010
Tags: [Demo] [Perl] [Physics] [SDL]
Hi Folks
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 .
Mario Demo using SDL Perl from SDLPerl on Vimeo .
[more]


SDL 2.511 + Using SDL for quick visualizations
Monday, 09 August 2010
Tags: [Perl] [SDL]
SDL Perl 2.511 is showing great promises. The initial tests show a great deal of stability. http://search.cpan.org/~kthakore/SDL-2.511/
 Moreover we are seeing more varied users of SDL Perl.
John.O Writes:

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.
Our company is http://smartfield.com .
John O.



[more]


Perl+SDL 3D Rendering
Saturday, 31 July 2010
Tags: [Perl] [SDL] [Showcase]
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.
--yapgh
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.
[more]


SDL 2.503 Released!
Thursday, 22 July 2010
Tags: [Perl] [Releases] [SDL]
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.
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.
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 .
[more]


Huge World Maps in less then 100 lines
Friday, 16 July 2010
Tags: [Example] [Perl] [SDL] [Syntax]

Hello folks,
Recently we have been working on making the Perl syntax 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.  The code is at  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  'Simple Games Easy. Complex Games Possible.' 
UPDATE: with some help, and newcomer jtpalmer's help we have added Link
 

--caio yapgh


[more]


The Build Process of SDL Perl
Wednesday, 07 July 2010
Tags: [Building] [Perl] [SDL]
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.
The Build Process
Alien::SDL
[more]


SDL RC 2.5 decides to play with PDL
Tuesday, 29 June 2010
Tags: [PDL] [Perl] [SDL]
PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.
You can use PDL and SDL together to create real-time,
responsive animations and simulations.
[more]


Providing direct memory access to SDL_Surface's pixels
Wednesday, 23 June 2010
Tags: [Pack] [Perl] [SDL] [Surface] [XS]
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.
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:
SV * get_pixel32 ( SDL_Surface * surface , int x , int y )
[more]


SDLpp.pl: Packaging SDL Scripts Alpha
Friday, 14 May 2010
Tags: [Packaging] [Perl] [SDL]
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.
Here is the shooter.pl packaged up:

[more]


Getting people to use SDL Perl: Docs, API, and Distribution
Friday, 07 May 2010
Tags: [API] [Design] [Docs] [Perl] [SDL]
The road so far
Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. Alien::SDL 1.405 is behaving well. This foundational stability will start to show results in SDL too I believe. Most excitingly the main developer of frozen-bubble is reviewing our Games::FrozenBubble port to CPAN. All good and well, but to keep this project going we need to improve.
Getting people to use SDL Perl
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.
Tutorials/Documentation

We have more docs now on http://sdl.perl.org but they suck
What type of tutorials do you think will be good for beginners?
A project start to finish?
Individual tutorials for various topics?
What needs to go in SDL::CookBook?

API sweetness
SDL Perl depends on distinct C libraries
This makes naming conventions, data formats different the SDL:: namespaces
How do people design this stuff?
We are hackers and we just go do stuff but I think this needs some prior thought
Any takers?

Distribution
If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus
One way is a Wx::Perl::Packer clone
Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games? 
If anyone wants to help in these areas please talk to us on sdl-devel@perl.org. 


[more]


Games::FrozenBubble: It is a start!
Monday, 12 April 2010
Tags: [Frozen Bubble] [Perl] [SDL]
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.



[more]


Release SDL 2.4: Frozen-Bubble begins to go to CPAN
Tuesday, 06 April 2010
Tags: [Frozen Bubble] [Perl] [SDL]

SDL 2.4 is released!
After 8 months of work this picture begins to sum it up:
[more]


A summer of possibilities (SDL_perl and GSOC 2010 )
Tuesday, 30 March 2010
Tags: [GSOC] [Perl] [SDL]
GSOC 2010
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.
Process to Apply
[more]


SDL Perl Showcase
Friday, 12 March 2010
Tags: [EyeCandy] [Perl] [SDL Perl] [Showcase]

SDL_Mixer and Effects

[more]


Eye Candy
Wednesday, 24 February 2010
Tags: [SDL Perl EyeCandy]

clang
With each imperfect hit
[more]


New build system! Needs testing!
Thursday, 18 February 2010
Tags: [Building] [Releases] [SDL]



[more]


Quick Game for Toronto Perl Mongers
Thursday, 11 February 2010
Tags: [Game] [SDL] [TPM]

Beep ... Boop

[more]


SDL_perl 2.3_5 is out!
Monday, 01 February 2010
Tags: [Releases] [SDL]
We keep on rolling,
rolling,
waiting on the world to turn.
[more]


Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]

Dragged down from the lofty isles,
into the guts and gore of the monster,
[more]


SDL Alpha 2: A sneak preview
Sunday, 06 December 2009
Tags: [Perl] [Releases] [SDL]
Pretty or Ugly,
Code is Code
New or Old,
[more]


Developer Release of SDL 2.3_1
Monday, 30 November 2009
Tags: [Perl] [Releases] [SDL]

The city of Rome was built,
with the first brick.
[more]


+
Closing the Grant
Tuesday, 18 January 2011
Tags: [Grant] [Manual] [SDL]
With the following commit I am closing the grant.
This is what has been accomplished from each of the objectives:
Cleaner Code and a lot of memory and performance improvements ( SDL 2.527 released Jan 18th )
[more]


Grant Progess Reports 1-3: Sept - Nov
Monday, 22 November 2010
Tags: [Grant] [Perl] [SDL] [Updates]
As you know I have received a TPF grant to write a SDL Perl Manual.


[more]


SDL 2.518 Released: Neverhood Clone
Monday, 04 October 2010
Tags: [EyeCandy] [Perl] [Releases] [SDL]
So Blaizer started a Neverhood clone and fixed a lot of the Controller code to make it work nicely. This has been released as SDL 2.518. It does break back compat a bit, but not too much.
Have a look at http://sdl.perl.org/SDL-Deprecated.html#2_517 to see the breakages.
The documentation for Controller has also been improved considerably.
[more]


SDL Manual: Reviewers Needed
Monday, 27 September 2010
Tags: [Grant] [Manual] [SDL]
Work has begun on the 4th chapter of the SDL Manual. The code is on github , and I regularly update the pdf on our server.
Writing manuals is not of my greatest skills, so I would love some review of my work. Any problems can be reported in the issues .
If you want to help with writing the manual, please join me on #sdl irc.perl.org or email us at
[more]


SDL 2.512 released - Layers Support added
Tuesday, 31 August 2010
Tags: [EyeCandy] [Game] [Releases] [SDL]
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.
Here is an implementation of the new Layer stuff. Solitaire .

[more]


Introducing SDLx::Controller::Object, with our good friend Mario!
Friday, 20 August 2010
Tags: [Demo] [Perl] [Physics] [SDL]
Hi Folks
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 .
Mario Demo using SDL Perl from SDLPerl on Vimeo .
[more]


SDL 2.511 + Using SDL for quick visualizations
Monday, 09 August 2010
Tags: [Perl] [SDL]
SDL Perl 2.511 is showing great promises. The initial tests show a great deal of stability. http://search.cpan.org/~kthakore/SDL-2.511/
 Moreover we are seeing more varied users of SDL Perl.
John.O Writes:

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.
Our company is http://smartfield.com .
John O.



[more]


Perl+SDL 3D Rendering
Saturday, 31 July 2010
Tags: [Perl] [SDL] [Showcase]
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.
--yapgh
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.
[more]


SDL 2.503 Released!
Thursday, 22 July 2010
Tags: [Perl] [Releases] [SDL]
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.
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.
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 .
[more]


Huge World Maps in less then 100 lines
Friday, 16 July 2010
Tags: [Example] [Perl] [SDL] [Syntax]

Hello folks,
Recently we have been working on making the Perl syntax 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.  The code is at  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  'Simple Games Easy. Complex Games Possible.' 
UPDATE: with some help, and newcomer jtpalmer's help we have added Link
 

--caio yapgh


[more]


The Build Process of SDL Perl
Wednesday, 07 July 2010
Tags: [Building] [Perl] [SDL]
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.
The Build Process
Alien::SDL
[more]


SDL RC 2.5 decides to play with PDL
Tuesday, 29 June 2010
Tags: [PDL] [Perl] [SDL]
PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.
You can use PDL and SDL together to create real-time,
responsive animations and simulations.
[more]


Providing direct memory access to SDL_Surface's pixels
Wednesday, 23 June 2010
Tags: [Pack] [Perl] [SDL] [Surface] [XS]
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.
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:
SV * get_pixel32 ( SDL_Surface * surface , int x , int y )
[more]


SDLpp.pl: Packaging SDL Scripts Alpha
Friday, 14 May 2010
Tags: [Packaging] [Perl] [SDL]
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.
Here is the shooter.pl packaged up:

[more]


Getting people to use SDL Perl: Docs, API, and Distribution
Friday, 07 May 2010
Tags: [API] [Design] [Docs] [Perl] [SDL]
The road so far
Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. Alien::SDL 1.405 is behaving well. This foundational stability will start to show results in SDL too I believe. Most excitingly the main developer of frozen-bubble is reviewing our Games::FrozenBubble port to CPAN. All good and well, but to keep this project going we need to improve.
Getting people to use SDL Perl
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.
Tutorials/Documentation

We have more docs now on http://sdl.perl.org but they suck
What type of tutorials do you think will be good for beginners?
A project start to finish?
Individual tutorials for various topics?
What needs to go in SDL::CookBook?

API sweetness
SDL Perl depends on distinct C libraries
This makes naming conventions, data formats different the SDL:: namespaces
How do people design this stuff?
We are hackers and we just go do stuff but I think this needs some prior thought
Any takers?

Distribution
If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus
One way is a Wx::Perl::Packer clone
Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games? 
If anyone wants to help in these areas please talk to us on sdl-devel@perl.org. 


[more]


Games::FrozenBubble: It is a start!
Monday, 12 April 2010
Tags: [Frozen Bubble] [Perl] [SDL]
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.



[more]


Release SDL 2.4: Frozen-Bubble begins to go to CPAN
Tuesday, 06 April 2010
Tags: [Frozen Bubble] [Perl] [SDL]

SDL 2.4 is released!
After 8 months of work this picture begins to sum it up:
[more]


A summer of possibilities (SDL_perl and GSOC 2010 )
Tuesday, 30 March 2010
Tags: [GSOC] [Perl] [SDL]
GSOC 2010
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.
Process to Apply
[more]


SDL Perl Showcase
Friday, 12 March 2010
Tags: [EyeCandy] [Perl] [SDL Perl] [Showcase]

SDL_Mixer and Effects

[more]


Eye Candy
Wednesday, 24 February 2010
Tags: [SDL Perl EyeCandy]

clang
With each imperfect hit
[more]


New build system! Needs testing!
Thursday, 18 February 2010
Tags: [Building] [Releases] [SDL]



[more]


Quick Game for Toronto Perl Mongers
Thursday, 11 February 2010
Tags: [Game] [SDL] [TPM]

Beep ... Boop

[more]


SDL_perl 2.3_5 is out!
Monday, 01 February 2010
Tags: [Releases] [SDL]
We keep on rolling,
rolling,
waiting on the world to turn.
[more]


Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]

Dragged down from the lofty isles,
into the guts and gore of the monster,
[more]


SDL Alpha 2: A sneak preview
Sunday, 06 December 2009
Tags: [Perl] [Releases] [SDL]
Pretty or Ugly,
Code is Code
New or Old,
[more]


diff --git a/pages/blog-0001.html-inc b/pages/blog-0001.html-inc index 317d824..34e5e0c 100644 --- a/pages/blog-0001.html-inc +++ b/pages/blog-0001.html-inc @@ -1,78 +1,20 @@

-Grant Progess Reports 1-3: Sept - Nov +Closing the Grant

-As you know I have received a TPF grant to write a SDL Perl Manual.
-
-

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

-
  • 1st drafts
    • Preface
    • -
    • Chapter 2: First SDL Application
    • -
  • -
  • Started work on Chapter 3: Drawing
  • -
  • Outlines for the first 7 chapters have been completed
  • -
  • Book build framework has been setup
  • -
  • Released SDL 2.514 (2.515 will be released on 16th of September)
    • This code is the one that will be used in the book for chapter 02
    • -
  • -
  • Got more of the Drawing chapter done (It will be done by the end of the week)
  • -
  • Added several more code examples for other chapters
  • -
Progress: 2.75 chapters / 11 chapters = approx 25%
-Kartik's work can be followed at:
-
-
-
REPORT 2: October 2010

-
Since last time:
-
  • We have released SDL 2.518
    • Game Loop support completed
    • -
  • -
Chapters:
-
  • 2nd Drafts for:
    • Preface to Game Loop ( Chapter 0 - Chapter 04)
    • -
  • -
  • Chapters completed: 5/11 => 45%
  • -
Extra:
-
  • cfedde has made a script to extract code listings for readers to try examples with out having to retype them.
  • -
Coments:
-
  • I am receiving a lot more help from the community, most notable from cfedde for proofreading.
  • -
  • I will be fleshing out the next 6 chapters shortly and work will begin on them soon
  • -
  • I am pleased with the progress so far, and I feel the quality is improving due to the pacing.
  • -
Our work can be seen at:
-

-
REPORT 3: November 2010

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

-Regards,
-YAPGH
-


-

\ No newline at end of file +With the following commit I am closing the grant.
+
+This is what has been accomplished from each of the objectives:
+Next Steps:
+
+


+

\ No newline at end of file diff --git a/pages/blog-0002.html-inc b/pages/blog-0002.html-inc index ad8658d..317d824 100644 --- a/pages/blog-0002.html-inc +++ b/pages/blog-0002.html-inc @@ -1,18 +1,78 @@

-SDL 2.518 Released: Neverhood Clone +Grant Progess Reports 1-3: Sept - Nov

-So Blaizer started a Neverhood clone and fixed a lot of the Controller code to make it work nicely. This has been released as SDL 2.518. It does break back compat a bit, but not too much.
+As you know I have received a TPF grant to write a SDL Perl Manual.
+
+

+http://news.perlfoundation.org/2010/08/2010q3-grant-proposal-manual-f.html

-Have a look at http://sdl.perl.org/SDL-Deprecated.html#2_517 to see the breakages.
+http://news.perlfoundation.org/2010/08/accepted-grants-for-2010q3.html

-The documentation for Controller has also been improved considerably.
+I have been a bit busy with that and not been able to update my blog. Anyway here are some of the back dated Grant Updates. These updates where also posted on http://news.perlfoundation.org/

-http://sdl.perl.org/SDLx-Controller.html

-Finally here is a video of the neverhood clone so far
+

- -


-

\ No newline at end of file +
REPORT 1: Sept 2010

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

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

+
REPORT 3: November 2010

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

+Regards,
+YAPGH
+


+

\ No newline at end of file diff --git a/pages/blog-0003.html-inc b/pages/blog-0003.html-inc index 2110aad..ad8658d 100644 --- a/pages/blog-0003.html-inc +++ b/pages/blog-0003.html-inc @@ -1,15 +1,18 @@

-SDL Manual: Reviewers Needed +SDL 2.518 Released: Neverhood Clone

-Work has begun on the 4th chapter of the SDL Manual. The code is on github, and I regularly update the pdf on our server.
+So Blaizer started a Neverhood clone and fixed a lot of the Controller code to make it work nicely. This has been released as SDL 2.518. It does break back compat a bit, but not too much.

-Writing manuals is not of my greatest skills, so I would love some review of my work. Any problems can be reported in the issues.
+Have a look at http://sdl.perl.org/SDL-Deprecated.html#2_517 to see the breakages.

-If you want to help with writing the manual, please join me on #sdl irc.perl.org or email us at
-sdl-devel@perl.org
+The documentation for Controller has also been improved considerably.

---yapgh -


-

\ No newline at end of file +http://sdl.perl.org/SDLx-Controller.html
+
+Finally here is a video of the neverhood clone so far
+
+
+


+

\ No newline at end of file diff --git a/pages/blog-0004.html-inc b/pages/blog-0004.html-inc index c077315..2110aad 100644 --- a/pages/blog-0004.html-inc +++ b/pages/blog-0004.html-inc @@ -1,14 +1,15 @@

-SDL 2.512 released - Layers Support added +SDL Manual: Reviewers Needed

-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.
+Work has begun on the 4th chapter of the SDL Manual. The code is on github, and I regularly update the pdf on our server.

+Writing manuals is not of my greatest skills, so I would love some review of my work. Any problems can be reported in the issues.

-Here is an implementation of the new Layer stuff. Solitaire.
+If you want to help with writing the manual, please join me on #sdl irc.perl.org or email us at
+sdl-devel@perl.org

-
-
-


-

\ No newline at end of file +--yapgh
+


+

\ No newline at end of file diff --git a/pages/blog-0005.html-inc b/pages/blog-0005.html-inc index f5164b6..c077315 100644 --- a/pages/blog-0005.html-inc +++ b/pages/blog-0005.html-inc @@ -1,12 +1,14 @@

-Introducing SDLx::Controller::Object, with our good friend Mario! +SDL 2.512 released - Layers Support added

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

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

-
Mario Demo using SDL Perl from SDLPerl on Vimeo. -


-

\ No newline at end of file +Here is an implementation of the new Layer stuff. Solitaire.
+
+
+
+


+

\ No newline at end of file diff --git a/pages/blog-0006.html-inc b/pages/blog-0006.html-inc index 33ffb48..f5164b6 100644 --- a/pages/blog-0006.html-inc +++ b/pages/blog-0006.html-inc @@ -1,20 +1,12 @@

-SDL 2.511 + Using SDL for quick visualizations +Introducing SDLx::Controller::Object, with our good friend Mario!

-SDL Perl 2.511 is showing great promises. The initial tests show a great deal of stability. http://search.cpan.org/~kthakore/SDL-2.511/
+ Hi Folks

- Moreover we are seeing more varied users of SDL Perl.
+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.

-John.O Writes:
-

-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.
-
-Our company is http://smartfield.com.
-
-John O.
-
-
-


-

\ No newline at end of file +
Mario Demo using SDL Perl from SDLPerl on Vimeo.
+


+

\ No newline at end of file diff --git a/pages/blog-0007.html-inc b/pages/blog-0007.html-inc index 21af3c6..33ffb48 100644 --- a/pages/blog-0007.html-inc +++ b/pages/blog-0007.html-inc @@ -1,38 +1,20 @@

-Perl+SDL 3D Rendering +SDL 2.511 + Using SDL for quick visualizations

-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.
+SDL Perl 2.511 is showing great promises. The initial tests show a great deal of stability. http://search.cpan.org/~kthakore/SDL-2.511/

---yapgh
+ Moreover we are seeing more varied users of SDL Perl.

-
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.
+John.O Writes:
+

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

-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 here. You can rotate the objects with the mouse, or keyboard arrows. Also press shift to toggle shading and space to switch objects.
+Our company is http://smartfield.com.

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

-
Standard Cube:
-

-

Standard Cube with Pseudo Shading:
-
-

-

Standard Diamond:
-
-

-

Standard Diamond with Pseudo Shading:
-
-

-

Textured Cube:
-
-

-

Perspectively Correct Textured Cube:
-
-

-

Perspectively Correct Textured Cube with shading:
-
-

-
-


-

\ No newline at end of file +
+


+

\ No newline at end of file diff --git a/pages/blog-0008.html-inc b/pages/blog-0008.html-inc index b877a58..21af3c6 100644 --- a/pages/blog-0008.html-inc +++ b/pages/blog-0008.html-inc @@ -1,13 +1,38 @@

-SDL 2.503 Released! +Perl+SDL 3D Rendering

-

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.


-

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.


-

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.


-The detailed changelog are provided at CPAN.
-
-Kartik Thakore -


-

\ No newline at end of file +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.
+
+--yapgh
+
+
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.
+
+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 here. You can rotate the objects with the mouse, or keyboard arrows. Also press shift to toggle shading and space to switch objects.
+
+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.
+
+
Standard Cube:
+

+

Standard Cube with Pseudo Shading:
+
+

+

Standard Diamond:
+
+

+

Standard Diamond with Pseudo Shading:
+
+

+

Textured Cube:
+
+

+

Perspectively Correct Textured Cube:
+
+

+

Perspectively Correct Textured Cube with shading:
+
+

+
+


+

\ No newline at end of file diff --git a/pages/blog-0009.html-inc b/pages/blog-0009.html-inc index b1abc1d..b877a58 100644 --- a/pages/blog-0009.html-inc +++ b/pages/blog-0009.html-inc @@ -1,23 +1,13 @@

-Huge World Maps in less then 100 lines +SDL 2.503 Released!

-

-Hello folks,
-
-Recently we have been working on making the Perl syntax 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.  The code is at 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  'Simple Games Easy. Complex Games Possible.' 
-
-
-UPDATE: with some help, and newcomer jtpalmer's help we have added Link
- 
-
-

-
-
-
-

-
---caio yapgh -


-

\ No newline at end of file +

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.


+

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.


+

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.


+The detailed changelog are provided at CPAN.
+
+Kartik Thakore
+


+

\ No newline at end of file diff --git a/pages/blog-0010.html-inc b/pages/blog-0010.html-inc index 4c366da..b1abc1d 100644 --- a/pages/blog-0010.html-inc +++ b/pages/blog-0010.html-inc @@ -1,26 +1,23 @@

-The Build Process of SDL Perl +Huge World Maps in less then 100 lines

-

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.


+

+Hello folks,

-

The Build Process


- Alien::SDL
+Recently we have been working on making the Perl syntax 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.  The code is at 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  'Simple Games Easy. Complex Games Possible.' 

-

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 File::Find 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.


-

For windows we have a simpler process. We download prebuilt 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.


-

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 here. During the compile process we also apply patches as needed for the sources. Once this is done we can head to SDL Build.PL


- SDL Perl dependency resolution

-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).
+UPDATE: with some help, and newcomer jtpalmer's help we have added Link
+ 

-

For example to build Image.xs 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.


-

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 defined and used. The availability of the module is then available from SDL::Config->has()
+


+

- Conclusion
-

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

-


-

\ No newline at end of file +

+
+--caio yapgh
+


+

\ No newline at end of file diff --git a/pages/blog-0011.html-inc b/pages/blog-0011.html-inc index 706ea53..4c366da 100644 --- a/pages/blog-0011.html-inc +++ b/pages/blog-0011.html-inc @@ -1,77 +1,26 @@

-SDL RC 2.5 decides to play with PDL +The Build Process of SDL Perl

-PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.
-You can use PDL and SDL together to create real-time,
-responsive animations and simulations.
-In this section we will go through the pleasures and pitfalls of working with both powerhouse libraries.
-- David Mertnes
+

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.



+

The Build Process


+ Alien::SDL

-

Creating a SDL Surface piddle


-PDL's core type is a piddle.
-Once a piddle is provided to PDL it can go do a numerous amounts of things.
-Please see the example in 'examples/cookbook/pdl.pl' in github.
+

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 File::Find 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.


+

For windows we have a simpler process. We download prebuilt 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.


+

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 here. During the compile process we also apply patches as needed for the sources. Once this is done we can head to SDL Build.PL


+ SDL Perl dependency resolution

-

Creating a simple piddle


-First lets get the right modules.
+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).

-
  use PDL;
-  use SDL::Rect;
-  use SDL::Video;
-  use SDL::Surface;
-  use SDL::PixelFormat;
-

-Suppose you want a surface of size (200,400) and 32 bit (RGBA).
+

For example to build Image.xs 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.


+

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 defined and used. The availability of the module is then available from SDL::Config->has()

-

my ( $bytes_per_pixel, $width, $height ) = ( 4, 200, 400 );
-

-Define the $width, $height and $bytes_per_pixel. Your $bytes_per_pixel is the number of bits (in this case 32) divided by 8 bits per byte. Therefore for our 32 bpp we have 4 Bpp;

-
my $piddle  = zeros( byte, $bytes_per_pixel, $width, $height );
-

-Create a normal $piddle with zeros, byte format and the Bpp x width x height dimensions.
-
-
my $pointer = $piddle->get_dataref();
-

-Here is where we get the acutal data the piddle is pointing to. We will have SDL create a new surface from this function.
-
-
my $surface = SDL::Surface->new_from( $pointer, $width, $height, 32,
-        $width * $bytes_per_pixel );
-

-Using the same dimensions we create the surface using SDL::Surface->new_form(). The $width * $Bpp is the scanline (pitch) of the surface in bytes.
-
-
warn "Made surface of $width, $height and ". $surface->format->BytesPerPixel;
-   return ( $piddle, $surface );
-

-Finally make sure that the surface acutally has the correct dimensions we gave.
-
-NOTE: $surface->format->BytesPerPixel must return 1,2,3,4. !!
-
-Now you can blit and use the surface as needed; and do PDL operations as required.
-
-

Operating on the Surface safely


-To make sure SDL is in sync with the data. You must call SDL::Video::lock before doing PDL operations on the piddle.
-
-
SDL::Video::lock_surface($surface);
- 
-    $piddle ( :, 0 : rand(400), 0 : rand(200) ) .=   pdl( rand(225), rand(225), rand(255), 255 );
-

-After that you can unlock the surface to blit.
-
-
SDL::Video::unlock_surface($surface);
-

-

Errors due to BPP at blitting


-When blitting the new surface check for the return value to see if there has been a problem.
-
-
my $b = SDL::Video::blit_surface(
-        $surface,  SDL::Rect->new( 0, 0, $surface->w, $surface->h ),
-        $app, SDL::Rect->new(  ( $app->w - $surface->w ) / 2, ( $app->h - $surface->h ) / 2, $app->w, $app->h )
-       );
- 
-    die "Could not blit: " . SDL::get_error() if ( $b == -1 );
-

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


-

\ No newline at end of file + Conclusion
+

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

+


+

\ No newline at end of file diff --git a/pages/blog-0012.html-inc b/pages/blog-0012.html-inc index 2e202e7..706ea53 100644 --- a/pages/blog-0012.html-inc +++ b/pages/blog-0012.html-inc @@ -1,81 +1,77 @@

-Providing direct memory access to SDL_Surface's pixels +SDL RC 2.5 decides to play with PDL

-

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.


-

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:


-
SV * get_pixel32 (SDL_Surface *surface, int x, int y)
-{
- //Convert the pixels to 32 bit 
- Uint32 *pixels = (Uint32 *)surface->pixels; 
-
- //Get the requested pixel  
- Uint32* u_ptr =  pixels + ( y * surface->w ) + x ; 
-
-        SV* sv = newSVpv("a",1); //Make a temp SV* value on the go
-        SvCUR_set(sv, sizeof(Uint32)); //Specify the new CUR length
- SvLEN_set(sv, sizeof(Uint32)); //Specify the LEN length
-        SvPV_set(sv,(char*)u_ptr); // set the actual pixel's pointer as the memory space to use
-
- return sv; //make a modifiable reference using u_ptr's place as the memory :)
-
-}
+PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.
+You can use PDL and SDL together to create real-time,
+responsive animations and simulations.
+In this section we will go through the pleasures and pitfalls of working with both powerhouse libraries.
-- David Mertnes
+
+
+

Creating a SDL Surface piddle


+PDL's core type is a piddle.
+Once a piddle is provided to PDL it can go do a numerous amounts of things.
+Please see the example in 'examples/cookbook/pdl.pl' in github.
+
+

Creating a simple piddle


+First lets get the right modules.
+
+
  use PDL;
+  use SDL::Rect;
+  use SDL::Video;
+  use SDL::Surface;
+  use SDL::PixelFormat;
 

-

Next I loop through all the pixels and put them in a 2D array format, shown below:

AV * construct_p_matrix ( SDL_Surface *surface )
-{
-    AV * matrix = newAV();
-     int i, j;
-     for(  i =0 ; i < surface->w; i++)
-      {
-        AV * matrix_row = newAV();
-        for( j =0 ; j < surface->h; j++)
-        {
-           av_push(matrix_row, get_pixel32(surface, i,j) );
-        }
-        av_push(matrix, newRV_noinc((SV*) matrix_row) );
-      }
-
- return matrix;
-}
+Suppose you want a surface of size (200,400) and 32 bit (RGBA).
+
+
my ( $bytes_per_pixel, $width, $height ) = ( 4, 200, 400 );
 

-

You can see the complete here.


-

In Perl I can do a get access on this pixel using:


+Define the $width, $height and $bytes_per_pixel. Your $bytes_per_pixel is the number of bits (in this case 32) divided by 8 bits per byte. Therefore for our 32 bpp we have 4 Bpp;

-
my $surf32_matrix = SDLx::Surface::pixel_array($screen_surface);
-   print unpack 'b*', $surf32_matrix->[0][0]; # pixel value at x = 0 and y =0
-#OUTPUT:
-# 11111111000000000000000000000000
+
my $piddle  = zeros( byte, $bytes_per_pixel, $width, $height );
 

-

The structure of the PV is using Devel::Peek is :


-
print Dump $surf32_matrix->[0][0];
-#OUTPUT:
-#SV = PV(0xed0dbc) at 0xeb5344
-#  REFCNT = 1
-#  FLAGS = (POK,pPOK)
-#  PV = 0x9e04ac "\0\0\377\0"
-#  CUR = 4
-#  LEN = 4
+Create a normal $piddle with zeros, byte format and the Bpp x width x height dimensions.
+
+
my $pointer = $piddle->get_dataref();
+

+Here is where we get the acutal data the piddle is pointing to. We will have SDL create a new surface from this function.
+
+
my $surface = SDL::Surface->new_from( $pointer, $width, $height, 32,
+        $width * $bytes_per_pixel );
 

-

The problem is in setting the value of this pointer value. I have tried the following things with no success:


-
if ( SDL::Video::MUSTLOCK($screen_surface) ) {
-    return if ( SDL::Video::lock_surface($screen_surface) < 0 ); #required for pixel operations
-}
-
-#USING pack
-
-my $green = pack 'b*', '11111111000000000000000000000000';
-substr( $surf32_matrix->[0][0], 0, 8 * 4, $green); #no change
-#substr( $surf32_matrix->[0][0], 0, 8 * 4, 0xFF000000); segfault
-substr( ${$surf32_matrix->[0][0]}, 0, 8 * 4, 0xFF000000); #no change
-#$surf32_matrix->[0][0] = $green; SEGFAULT's cannot write to memory
-${$surf32_matrix->[0][0]} = $green; #no change
-
-
-SDL::Video::unlock_surface($screen_surface)
-  if ( SDL::Video::MUSTLOCK($screen_surface) );
+Using the same dimensions we create the surface using SDL::Surface->new_form(). The $width * $Bpp is the scanline (pitch) of the surface in bytes.
+
+
warn "Made surface of $width, $height and ". $surface->format->BytesPerPixel;
+   return ( $piddle, $surface );
+

+Finally make sure that the surface acutally has the correct dimensions we gave.
+
+NOTE: $surface->format->BytesPerPixel must return 1,2,3,4. !!
+
+Now you can blit and use the surface as needed; and do PDL operations as required.
+
+

Operating on the Surface safely


+To make sure SDL is in sync with the data. You must call SDL::Video::lock before doing PDL operations on the piddle.
+
+
SDL::Video::lock_surface($surface);
+ 
+    $piddle ( :, 0 : rand(400), 0 : rand(200) ) .=   pdl( rand(225), rand(225), rand(255), 255 );
+

+After that you can unlock the surface to blit.
+
+
SDL::Video::unlock_surface($surface);
+

+

Errors due to BPP at blitting


+When blitting the new surface check for the return value to see if there has been a problem.
+
+
my $b = SDL::Video::blit_surface(
+        $surface,  SDL::Rect->new( 0, 0, $surface->w, $surface->h ),
+        $app, SDL::Rect->new(  ( $app->w - $surface->w ) / 2, ( $app->h - $surface->h ) / 2, $app->w, $app->h )
+       );
+ 
+    die "Could not blit: " . SDL::get_error() if ( $b == -1 );
 

-

You can see an example here.


-

Any help will be greatly appreciated.

-


-

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


+

\ No newline at end of file diff --git a/pages/blog-0013.html-inc b/pages/blog-0013.html-inc index 5cffcd0..2e202e7 100644 --- a/pages/blog-0013.html-inc +++ b/pages/blog-0013.html-inc @@ -1,18 +1,81 @@

-SDLpp.pl: Packaging SDL Scripts Alpha +Providing direct memory access to SDL_Surface's pixels

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

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.


+

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:


+
SV * get_pixel32 (SDL_Surface *surface, int x, int y)
+{
+ //Convert the pixels to 32 bit 
+ Uint32 *pixels = (Uint32 *)surface->pixels; 
+
+ //Get the requested pixel  
+ Uint32* u_ptr =  pixels + ( y * surface->w ) + x ; 
+
+        SV* sv = newSVpv("a",1); //Make a temp SV* value on the go
+        SvCUR_set(sv, sizeof(Uint32)); //Specify the new CUR length
+ SvLEN_set(sv, sizeof(Uint32)); //Specify the LEN length
+        SvPV_set(sv,(char*)u_ptr); // set the actual pixel's pointer as the memory space to use
+
+ return sv; //make a modifiable reference using u_ptr's place as the memory :)
+
+}
+

+

Next I loop through all the pixels and put them in a 2D array format, shown below:

AV * construct_p_matrix ( SDL_Surface *surface )
+{
+    AV * matrix = newAV();
+     int i, j;
+     for(  i =0 ; i < surface->w; i++)
+      {
+        AV * matrix_row = newAV();
+        for( j =0 ; j < surface->h; j++)
+        {
+           av_push(matrix_row, get_pixel32(surface, i,j) );
+        }
+        av_push(matrix, newRV_noinc((SV*) matrix_row) );
+      }
+
+ return matrix;
+}
+

+

You can see the complete here.


+

In Perl I can do a get access on this pixel using:



-Here is the shooter.pl packaged up:
-
-
  1. win32/64
  2. -
  3. Linux 5.88
  4. -
  5. Linux 5.10
  6. -

-We are looking into testing this on a Mac Build server.
-
-Caio -


-

\ No newline at end of file +
my $surf32_matrix = SDLx::Surface::pixel_array($screen_surface);
+   print unpack 'b*', $surf32_matrix->[0][0]; # pixel value at x = 0 and y =0
+#OUTPUT:
+# 11111111000000000000000000000000
+

+

The structure of the PV is using Devel::Peek is :


+
print Dump $surf32_matrix->[0][0];
+#OUTPUT:
+#SV = PV(0xed0dbc) at 0xeb5344
+#  REFCNT = 1
+#  FLAGS = (POK,pPOK)
+#  PV = 0x9e04ac "\0\0\377\0"
+#  CUR = 4
+#  LEN = 4
+

+

The problem is in setting the value of this pointer value. I have tried the following things with no success:


+
if ( SDL::Video::MUSTLOCK($screen_surface) ) {
+    return if ( SDL::Video::lock_surface($screen_surface) < 0 ); #required for pixel operations
+}
+
+#USING pack
+
+my $green = pack 'b*', '11111111000000000000000000000000';
+substr( $surf32_matrix->[0][0], 0, 8 * 4, $green); #no change
+#substr( $surf32_matrix->[0][0], 0, 8 * 4, 0xFF000000); segfault
+substr( ${$surf32_matrix->[0][0]}, 0, 8 * 4, 0xFF000000); #no change
+#$surf32_matrix->[0][0] = $green; SEGFAULT's cannot write to memory
+${$surf32_matrix->[0][0]} = $green; #no change
+
+
+SDL::Video::unlock_surface($screen_surface)
+  if ( SDL::Video::MUSTLOCK($screen_surface) );
+

+

You can see an example here.


+

Any help will be greatly appreciated.

+


+

\ No newline at end of file diff --git a/pages/blog-0014.html-inc b/pages/blog-0014.html-inc index 2bd84fc..5cffcd0 100644 --- a/pages/blog-0014.html-inc +++ b/pages/blog-0014.html-inc @@ -1,40 +1,18 @@

-Getting people to use SDL Perl: Docs, API, and Distribution +SDLpp.pl: Packaging SDL Scripts Alpha

-

The road so far


-Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. Alien::SDL 1.405 is behaving well. This foundational stability will start to show results in SDL too I believe. Most excitingly the main developer of frozen-bubble is reviewing our Games::FrozenBubble port to CPAN. All good and well, but to keep this project going we need to improve.
+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.

-

Getting people to use SDL Perl


-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.
+Here is the shooter.pl packaged up:
+
+
  1. win32/64
  2. +
  3. Linux 5.88
  4. +
  5. Linux 5.10
  6. +

+We are looking into testing this on a Mac Build server.

-
  • Tutorials/Documentation
    -
  • - -
    • We have more docs now on http://sdl.perl.org but they suck
    • -
    • What type of tutorials do you think will be good for beginners?
    • - -
      • A project start to finish?
      • -
      • Individual tutorials for various topics?
      • -
      • What needs to go in SDL::CookBook?
      • -
    -
  • API sweetness
  • - -
    • SDL Perl depends on distinct C libraries
    • - -
      • This makes naming conventions, data formats different the SDL:: namespaces
      • -
      • How do people design this stuff?
      • - -
        • We are hackers and we just go do stuff but I think this needs some prior thought
        • -
        • Any takers?
        • -
    -
  • Distribution
  • - -
    • If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus
    • - -
      • One way is a Wx::Perl::Packer clone
      • -
      • Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games? 
      • -
If anyone wants to help in these areas please talk to us on sdl-devel@perl.org. 
-


-

\ No newline at end of file +Caio
+


+

\ No newline at end of file diff --git a/pages/blog-0015.html-inc b/pages/blog-0015.html-inc index ef14036..2bd84fc 100644 --- a/pages/blog-0015.html-inc +++ b/pages/blog-0015.html-inc @@ -1,10 +1,40 @@

-Games::FrozenBubble: It is a start! +Getting people to use SDL Perl: Docs, API, and Distribution

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

The road so far


+Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. Alien::SDL 1.405 is behaving well. This foundational stability will start to show results in SDL too I believe. Most excitingly the main developer of frozen-bubble is reviewing our Games::FrozenBubble port to CPAN. All good and well, but to keep this project going we need to improve.

-
-


-

\ No newline at end of file +

Getting people to use SDL Perl


+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.
+
+
If anyone wants to help in these areas please talk to us on sdl-devel@perl.org. 
+


+

\ No newline at end of file diff --git a/pages/blog-0016.html-inc b/pages/blog-0016.html-inc index 3bbdb8b..ef14036 100644 --- a/pages/blog-0016.html-inc +++ b/pages/blog-0016.html-inc @@ -1,15 +1,10 @@

-Release SDL 2.4: Frozen-Bubble begins to go to CPAN +Games::FrozenBubble: It is a start!

-
-SDL 2.4 is released!

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

-After 8 months of work this picture begins to sum it up:
-
-

-

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 repo. Disclaimer the branch will be volatile for a bit.


---yapgh -


-

\ No newline at end of file +
+


+

\ No newline at end of file diff --git a/pages/blog-0017.html-inc b/pages/blog-0017.html-inc index 6e3de57..3bbdb8b 100644 --- a/pages/blog-0017.html-inc +++ b/pages/blog-0017.html-inc @@ -1,21 +1,15 @@

-A summer of possibilities (SDL_perl and GSOC 2010 ) +Release SDL 2.4: Frozen-Bubble begins to go to CPAN

-

GSOC 2010


-

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.


+
+SDL 2.4 is released!


-Process to Apply
-

  • Sign in as a student here http://socghop.appspot.com/
  • -
  • Submit a proposal before April 5th
  • -
  • Usually it helps to discuss the idea with us on irc (#sdl irc.perl.org)
  • -

+After 8 months of work this picture begins to sum it up:

-

Ideas


-

Here are some ideas for SDL perl but we happily accepted student ideas.
- Make a student wiki page on this site of your ideas! We look forward to helping you guys with your ideas :)


-
---yapgh -


-

\ No newline at end of file +

+

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 repo. Disclaimer the branch will be volatile for a bit.


+--yapgh
+


+

\ No newline at end of file diff --git a/pages/blog-0018.html-inc b/pages/blog-0018.html-inc index 8978342..6e3de57 100644 --- a/pages/blog-0018.html-inc +++ b/pages/blog-0018.html-inc @@ -1,36 +1,21 @@

-SDL Perl Showcase +A summer of possibilities (SDL_perl and GSOC 2010 )

-
-SDL_Mixer and Effects

+

GSOC 2010


+

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.



-


-This demo shows the new work we have finished for SDL_Mixer support in SDL_perl . (FROGGS++)
-
-
-
  •  Plays ogg files in local directory
  • -
  •  Uses threads and SDL_Mixer effects to extract realtime stereo stream data
  • -
  •  Visulizes stream data as an oscilloscope
  • +Process to Apply
    +
    • Sign in as a student here http://socghop.appspot.com/
    • +
    • Submit a proposal before April 5th
    • +
    • Usually it helps to discuss the idea with us on irc (#sdl irc.perl.org)


    -Get it at: playlist.pl, you need some .ogg files to play in the same directory. Use the down key to go through them.
    -
    -
    -SDL_TTF support

    -
    -
    -

    -
    -This shows the current work on SDL_TTF support. UTF8 and Uncicode are supported.
    -
    -See the t/ttf.t test in github SDL_perl.
    -
    +

    Ideas


    +

    Here are some ideas for SDL perl but we happily accepted student ideas.
    + Make a student wiki page on this site of your ideas! We look forward to helping you guys with your ideas :)



    -
    -Spinner (Destiny Swirl) Arcade Game

    -

    -
    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 Spinner repo. This wiki page will help you set up for your platforms. 
    -


    -

\ No newline at end of file +--yapgh
+


+

\ No newline at end of file diff --git a/pages/blog-0019.html-inc b/pages/blog-0019.html-inc index 7f9c593..8978342 100644 --- a/pages/blog-0019.html-inc +++ b/pages/blog-0019.html-inc @@ -1,25 +1,36 @@

-Eye Candy +SDL Perl Showcase

-
-clang
-With each imperfect hit
-a legendary blade forms
-

+
+SDL_Mixer and Effects


+

+This demo shows the new work we have finished for SDL_Mixer support in SDL_perl . (FROGGS++)

-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
-is some eye candy to tide you guys over.

+
  •  Plays ogg files in local directory
  • +
  •  Uses threads and SDL_Mixer effects to extract realtime stereo stream data
  • +
  •  Visulizes stream data as an oscilloscope
  • +


-This is shooter.pl finally working in MacOSX and 64 bit.
+Get it at: playlist.pl, you need some .ogg files to play in the same directory. Use the down key to go through them.

-

+
+SDL_TTF support


-k23z_ mentioned I should get some more SDL_perl videos out to attract some devs. So here goes.

-Walking Guy from SDLPerl on Vimeo. -


-

\ No newline at end of file +

+
+This shows the current work on SDL_TTF support. UTF8 and Uncicode are supported.
+
+See the t/ttf.t test in github SDL_perl.
+
+
+
+Spinner (Destiny Swirl) Arcade Game

+

+
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 Spinner repo. This wiki page will help you set up for your platforms. 
+


+

\ No newline at end of file diff --git a/pages/blog-0020.html-inc b/pages/blog-0020.html-inc index 1945937..7f9c593 100644 --- a/pages/blog-0020.html-inc +++ b/pages/blog-0020.html-inc @@ -1,38 +1,25 @@

-New build system! Needs testing! +Eye Candy

-
-
-
-
-
Rome was not built,
-in one day,
 feature creep,
-existed back then too.
-
-

-
kmx++ 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 environments. However none of us have a shiny Mac to try this on. So if you have a Mac please consider testing the following:

-
  • Download Alien::SDL 
  • - -
    • install it
    • -
    • select build by source
    • -
    -
  • Download SDL::perl
  • - -
    • Extract it
    • -
    • perl Build.PL
    • -
    • perl Build
    • -
    • See if Bundling works ( Maybe Brian's article may help )
    • -
Thank you very much!
+
+clang
+With each imperfect hit
+a legendary blade forms
+


-EDIT: 
- After some  reports back we have found out that SDL_gfx needs 
-
-

-http://cblfs.cross-lfs.org/index.php/SDL_gfx#64Bit
-
-

-We are working to get this done.
-


-

\ No newline at end of file +
+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
+is some eye candy to tide you guys over.
+
+
+This is shooter.pl finally working in MacOSX and 64 bit.
+
+

+
+k23z_ mentioned I should get some more SDL_perl videos out to attract some devs. So here goes.
+
+Walking Guy from SDLPerl on Vimeo.
+


+

\ No newline at end of file diff --git a/pages/blog-0021.html-inc b/pages/blog-0021.html-inc index bdf8c94..1945937 100644 --- a/pages/blog-0021.html-inc +++ b/pages/blog-0021.html-inc @@ -1,31 +1,38 @@

-Quick Game for Toronto Perl Mongers +New build system! Needs testing!

-
-
Beep ... Boop
-

+
+
+
+
+
Rome was not built,
+in one day,
 feature creep,
+existed back then too.
+
+

+
kmx++ 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 environments. However none of us have a shiny Mac to try this on. So if you have a Mac please consider testing the following:

+
  • Download Alien::SDL 
  • + +
    • install it
    • +
    • select build by source
    • +
    +
  • Download SDL::perl
  • + +
    • Extract it
    • +
    • perl Build.PL
    • +
    • perl Build
    • +
    • See if Bundling works ( Maybe Brian's article may help )
    • +
Thank you very much!

-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?
-
-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.
-
-Take a look at it here. Download that and call it[Shooter.pl]. To win click the balls.
-
-To play this game you need the following:
-
-
  • Only for Linux) sudo apt-get install libsdl-dev libsdl_gfx-dev
  • -
  • cpan Alien::SDL
  • -
  • Click Download Source http://github.com/kthakore/SDL_perl/tree/redesign
  • -
  • Extract it
  • -
  • perl Build.PL; perl Build; perl Build install
  • -
  • perl Shooter.pl
  • -

-I will put up binaries soon-ish.
-
-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.
-
-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. -


-

\ No newline at end of file +EDIT: 
+ After some  reports back we have found out that SDL_gfx needs 
+
+

+http://cblfs.cross-lfs.org/index.php/SDL_gfx#64Bit
+
+

+We are working to get this done.
+


+

\ No newline at end of file diff --git a/pages/blog-0022.html-inc b/pages/blog-0022.html-inc index 1cfd8ae..bdf8c94 100644 --- a/pages/blog-0022.html-inc +++ b/pages/blog-0022.html-inc @@ -1,14 +1,31 @@

-SDL_perl 2.3_5 is out! +Quick Game for Toronto Perl Mongers

-
We keep on rolling,
-rolling,
-waiting on the world to turn.

-

-So a new alpha is out on CPAN, 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 Daniel Ruoso 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!
-
-More to come --yapgh -


-

\ No newline at end of file +
+
Beep ... Boop
+

+
+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?
+
+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.
+
+Take a look at it here. Download that and call it[Shooter.pl]. To win click the balls.
+
+To play this game you need the following:
+
+
+I will put up binaries soon-ish.
+
+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.
+
+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.
+


+

\ No newline at end of file diff --git a/pages/blog-0023.html-inc b/pages/blog-0023.html-inc index 64faf76..1cfd8ae 100644 --- a/pages/blog-0023.html-inc +++ b/pages/blog-0023.html-inc @@ -1,23 +1,14 @@

-Threaded XS callback finally gets solved. +SDL_perl 2.3_5 is out!

-

-Dragged down from the lofty isles,
-into the guts and gore of the monster,
-a welcoming cringe in the gut approaches.
-

+
We keep on rolling,
+rolling,
+waiting on the world to turn.


+So a new alpha is out on CPAN, 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 Daniel Ruoso 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!

-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 problem we were having.
-
-The new callbacks capability in audiospec allow you to procedurally generate sound now. If you would like a simple example take a look at t/core_audiospec.t. However a more fun example may be ruoso++'s tecla (a game for toddlers). Myself and Garu think it is a work of art but that is only because we are toddlers.
-
-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.
-
-More information on the CHANGELOG.
-
-Also a shout out to FROGGS for his new SON!!!. Congrats buddy! -


-

\ No newline at end of file +More to come --yapgh +


+

\ No newline at end of file diff --git a/pages/blog-0024.html-inc b/pages/blog-0024.html-inc index 21daaf4..64faf76 100644 --- a/pages/blog-0024.html-inc +++ b/pages/blog-0024.html-inc @@ -1,18 +1,23 @@

-SDL Alpha 2: A sneak preview +Threaded XS callback finally gets solved.

-
Pretty or Ugly,
-
Code is Code
-
New or Old,
-
Code is Code
-
Fast or Slow
-
Code is Code 
+

+Dragged down from the lofty isles,
+into the guts and gore of the monster,
+a welcoming cringe in the gut approaches.
+


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

-

-
-


-

\ 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 problem we were having.
+
+The new callbacks capability in audiospec allow you to procedurally generate sound now. If you would like a simple example take a look at t/core_audiospec.t. However a more fun example may be ruoso++'s tecla (a game for toddlers). Myself and Garu think it is a work of art but that is only because we are toddlers.
+
+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.
+
+More information on the CHANGELOG.
+
+Also a shout out to FROGGS for his new SON!!!. Congrats buddy! +


+

\ No newline at end of file diff --git a/pages/blog-0025.html-inc b/pages/blog-0025.html-inc index c3b4a76..21daaf4 100644 --- a/pages/blog-0025.html-inc +++ b/pages/blog-0025.html-inc @@ -1,22 +1,18 @@

-Developer Release of SDL 2.3_1 +SDL Alpha 2: A sneak preview

-

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

+
Pretty or Ugly,
+
Code is Code
+
New or Old,
+
Code is Code
+
Fast or Slow
+
Code is Code 

-

Alpha Release of new API

After a considerable amount of hacking and rewriting we have release the first development release of SDL perl on CPAN.
+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.

-

Overview of 2.3_1

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

Next steps

  • Complete bindings for Image, Mixer, ... so on
  • -
  • Come up with a method to provide threading in callbacks
  • -
  • Maintain and improve SDL Core as results for CPANTS come in
  • -

---yapgh -


-

\ No newline at end of file +

+
+


+

\ No newline at end of file diff --git a/pages/documentation.html-inc b/pages/documentation.html-inc index fb3ba97..0205125 100644 --- a/pages/documentation.html-inc +++ b/pages/documentation.html-inc @@ -1,2 +1,2 @@
-

Documentation (latest development branch)

Core
thumbSDL- Simple DirectMedia Layer for Perl
thumbSDL::Credits- Authors and contributors of the SDL Perl project
thumbSDL::Deprecated- Log of Deprecated items per release
thumbSDL::Time- An SDL Perl extension for managing timers
Audio
thumbSDL::Audio- SDL Bindings for Audio
Structure
thumbSDL::AudioCVT- Audio Conversion Structure
thumbSDL::AudioSpec- SDL Bindings for structure SDL::AudioSpec
CDROM
thumbSDL::CDROM- SDL Bindings for the CDROM device
Structure
thumbSDL::CD- SDL Bindings for structure SDL_CD
thumbSDL::CDTrack- SDL Bindings for structure SDL_CDTrack
Events
thumbSDL::Events- Bindings to the Events Category in SDL API
Structure
thumbSDL::Event- General event structure
Joystick
thumbSDL::Joystick- SDL Bindings for the Joystick device
Mouse
thumbSDL::Mouse- SDL Bindings for the Mouse device
Structure
thumbSDL::Cursor- Mouse cursor structure
Structure
thumbSDL::Version- SDL Bindings for structure SDL_Version
Video
thumbSDL::Video- Bindings to the video category in SDL API
Structure
thumbSDL::Color- Format independent color description
thumbSDL::Overlay- YUV Video overlay
thumbSDL::Palette- Color palette for 8-bit pixel formats
thumbSDL::PixelFormat- Stores surface format information
thumbSDL::Rect- Defines a rectangular area
thumbSDL::Surface- Graphic surface structure
thumbSDL::VideoInfo- Video Target Information

Cookbook
thumbSDL::Cookbook
thumbSDL::Cookbook::OpenGL- Using SDL with OpenGL
thumbSDL::Cookbook::PDL

Extension
thumbSDLx::App- a SDL perl extension
thumbSDLx::Layer- Storage object for surface and position information
thumbSDLx::LayerManager- Extension for managing layers in a 2D world
thumbSDLx::Rect- SDL extension for storing and manipulating rectangular coordinates
thumbSDLx::SFont- Extension making fonts out of images and printing them
thumbSDLx::Sound
thumbSDLx::Sprite- interact with images quick and easily in SDL
thumbSDLx::Sprite::Animated- create animated SDL sprites easily!
thumbSDLx::Surface- Graphic surface matrix extension
Controller
thumbSDLx::Controller- Handles the loops for events, movement and rendering
thumbSDLx::Controller::Interface- Interface Physics and Rendering with the Controller with callbacks
thumbSDLx::Controller::State- the state of a SDLx::Controller::Interface

GFX
thumbSDL::GFX::Framerate- framerate calculating functions
thumbSDL::GFX::Primitives- basic drawing functions
Structure
thumbSDL::GFX::FPSManager- data structure used by SDL::GFX::Framerate

Image
thumbSDL::Image- Bindings for the SDL_Image library

Mixer
thumbSDL::Mixer- Sound and music functions
thumbSDL::Mixer::Channels- SDL::Mixer channel functions and bindings
thumbSDL::Mixer::Effects- sound effect functions
thumbSDL::Mixer::Groups- Audio channel group functions
thumbSDL::Mixer::Music- functions for music
thumbSDL::Mixer::Samples- functions for loading sound samples
Structure
thumbSDL::Mixer::MixChunk- SDL Bindings for structure SDL_MixChunk
thumbSDL::Mixer::MixMusic- SDL Bindings for structure SDL_MixMusic

Pango
thumbSDL::Pango- Text rendering engine
Structure
thumbSDL::Pango::Context- Context object for SDL::Pango

TODO
thumbSDL::MPEG- a SDL perl extension
thumbSDL::SMPEG- a SDL perl extension
MultiThread
thumbSDL::MultiThread- Bindings to the MultiThread category in SDL API
Structure
thumbSDL::RWOps- SDL Bindings to SDL_RWOPs
GFX
thumbSDL::GFX::BlitFunc- blitting functions
thumbSDL::GFX::ImageFilter- image filtering functions
thumbSDL::GFX::Rotozoom- rotation and zooming functions for surfaces

TTF
thumbSDL::TTF- True Type Font functions (libfreetype)
Structure
thumbSDL::TTF::Font- Font object type for SDL_ttf

Tutorials
thumbSDL::Tutorial- introduction to Perl SDL
thumbSDL::Tutorial::Animation
thumbSDL::Tutorial::LunarLander- a small tutorial on Perl SDL
+

Documentation (latest development branch)

Core
thumbblib::lib::pods::SDL- Simple DirectMedia Layer for Perl
thumbblib::lib::pods::SDL::Credits- Authors and contributors of the SDL Perl project
thumbblib::lib::pods::SDL::Deprecated- Log of Deprecated items per release
thumbblib::lib::pods::SDL::Time- An SDL Perl extension for managing timers
thumblib::pods::SDL- Simple DirectMedia Layer for Perl
thumblib::pods::SDL::Credits- Authors and contributors of the SDL Perl project
thumblib::pods::SDL::Deprecated- Log of Deprecated items per release
thumblib::pods::SDL::Time- An SDL Perl extension for managing timers
Audio
thumbblib::lib::pods::SDL::Audio- SDL Bindings for Audio
thumblib::pods::SDL::Audio- SDL Bindings for Audio
Structure
thumbblib::lib::pods::SDL::AudioCVT- Audio Conversion Structure
thumbblib::lib::pods::SDL::AudioSpec- SDL Bindings for structure SDL::AudioSpec
thumblib::pods::SDL::AudioCVT- Audio Conversion Structure
thumblib::pods::SDL::AudioSpec- SDL Bindings for structure SDL::AudioSpec
CDROM
thumbblib::lib::pods::SDL::CDROM- SDL Bindings for the CDROM device
thumblib::pods::SDL::CDROM- SDL Bindings for the CDROM device
Structure
thumbblib::lib::pods::SDL::CD- SDL Bindings for structure SDL_CD
thumbblib::lib::pods::SDL::CDTrack- SDL Bindings for structure SDL_CDTrack
thumblib::pods::SDL::CD- SDL Bindings for structure SDL_CD
thumblib::pods::SDL::CDTrack- SDL Bindings for structure SDL_CDTrack
Events
thumbblib::lib::pods::SDL::Events- Bindings to the Events Category in SDL API
thumblib::pods::SDL::Events- Bindings to the Events Category in SDL API
Structure
thumbblib::lib::pods::SDL::Event- General event structure
thumblib::pods::SDL::Event- General event structure
Joystick
thumbblib::lib::pods::SDL::Joystick- SDL Bindings for the Joystick device
thumblib::pods::SDL::Joystick- SDL Bindings for the Joystick device
Mouse
thumbblib::lib::pods::SDL::Mouse- SDL Bindings for the Mouse device
thumblib::pods::SDL::Mouse- SDL Bindings for the Mouse device
Structure
thumbblib::lib::pods::SDL::Cursor- Mouse cursor structure
thumblib::pods::SDL::Cursor- Mouse cursor structure
Structure
thumbblib::lib::pods::SDL::Version- SDL Bindings for structure SDL_Version
thumblib::pods::SDL::Version- SDL Bindings for structure SDL_Version
Video
thumbblib::lib::pods::SDL::Video- Bindings to the video category in SDL API
thumblib::pods::SDL::Video- Bindings to the video category in SDL API
Structure
thumbblib::lib::pods::SDL::Color- Format independent color description
thumbblib::lib::pods::SDL::Overlay- YUV Video overlay
thumbblib::lib::pods::SDL::Palette- Color palette for 8-bit pixel formats
thumbblib::lib::pods::SDL::PixelFormat- Stores surface format information
thumbblib::lib::pods::SDL::Rect- Defines a rectangular area
thumbblib::lib::pods::SDL::Surface- Graphic surface structure
thumbblib::lib::pods::SDL::VideoInfo- Video Target Information
thumblib::pods::SDL::Color- Format independent color description
thumblib::pods::SDL::Overlay- YUV Video overlay
thumblib::pods::SDL::Palette- Color palette for 8-bit pixel formats
thumblib::pods::SDL::PixelFormat- Stores surface format information
thumblib::pods::SDL::Rect- Defines a rectangular area
thumblib::pods::SDL::Surface- Graphic surface structure
thumblib::pods::SDL::VideoInfo- Video Target Information

Cookbook
thumbblib::lib::pods::SDL::Cookbook
thumbblib::lib::pods::SDL::Cookbook::OpenGL- Using SDL with OpenGL
thumbblib::lib::pods::SDL::Cookbook::PDL
thumblib::pods::SDL::Cookbook
thumblib::pods::SDL::Cookbook::OpenGL- Using SDL with OpenGL
thumblib::pods::SDL::Cookbook::PDL

Extension
thumbblib::lib::pods::SDLx::App- a SDL perl extension
thumbblib::lib::pods::SDLx::Layer- Storage object for surface and position information
thumbblib::lib::pods::SDLx::LayerManager- Extension for managing layers in a 2D world
thumbblib::lib::pods::SDLx::Rect- SDL extension for storing and manipulating rectangular coordinates
thumbblib::lib::pods::SDLx::SFont- Extension making fonts out of images and printing them
thumbblib::lib::pods::SDLx::Sound
thumbblib::lib::pods::SDLx::Sprite- interact with images quick and easily in SDL
thumbblib::lib::pods::SDLx::Sprite::Animated- create animated SDL sprites easily!
thumbblib::lib::pods::SDLx::Surface- Graphic surface matrix extension
thumblib::pods::SDLx::App- a SDL perl extension
thumblib::pods::SDLx::Layer- Storage object for surface and position information
thumblib::pods::SDLx::LayerManager- Extension for managing layers in a 2D world
thumblib::pods::SDLx::Rect- SDL extension for storing and manipulating rectangular coordinates
thumblib::pods::SDLx::SFont- Extension making fonts out of images and printing them
thumblib::pods::SDLx::Sound
thumblib::pods::SDLx::Sprite- interact with images quick and easily in SDL
thumblib::pods::SDLx::Sprite::Animated- create animated SDL sprites easily!
thumblib::pods::SDLx::Surface- Graphic surface matrix extension
Controller
thumbblib::lib::pods::SDLx::Controller- Handles the loops for events, movement and rendering
thumbblib::lib::pods::SDLx::Controller::Interface- Interface Physics and Rendering with the Controller with callbacks
thumbblib::lib::pods::SDLx::Controller::State- the state of a SDLx::Controller::Interface
thumblib::pods::SDLx::Controller- Handles the loops for events, movement and rendering
thumblib::pods::SDLx::Controller::Interface- Interface Physics and Rendering with the Controller with callbacks
thumblib::pods::SDLx::Controller::State- the state of a SDLx::Controller::Interface

GFX
thumbblib::lib::pods::SDL::GFX::Framerate- framerate calculating functions
thumbblib::lib::pods::SDL::GFX::Primitives- basic drawing functions
thumblib::pods::SDL::GFX::Framerate- framerate calculating functions
thumblib::pods::SDL::GFX::Primitives- basic drawing functions
Structure
thumbblib::lib::pods::SDL::GFX::FPSManager- data structure used by SDL::GFX::Framerate
thumblib::pods::SDL::GFX::FPSManager- data structure used by SDL::GFX::Framerate

Image
thumbblib::lib::pods::SDL::Image- Bindings for the SDL_Image library
thumblib::pods::SDL::Image- Bindings for the SDL_Image library

Mixer
thumbblib::lib::pods::SDL::Mixer- Sound and music functions
thumbblib::lib::pods::SDL::Mixer::Channels- SDL::Mixer channel functions and bindings
thumbblib::lib::pods::SDL::Mixer::Effects- sound effect functions
thumbblib::lib::pods::SDL::Mixer::Groups- Audio channel group functions
thumbblib::lib::pods::SDL::Mixer::Music- functions for music
thumbblib::lib::pods::SDL::Mixer::Samples- functions for loading sound samples
thumblib::pods::SDL::Mixer- Sound and music functions
thumblib::pods::SDL::Mixer::Channels- SDL::Mixer channel functions and bindings
thumblib::pods::SDL::Mixer::Effects- sound effect functions
thumblib::pods::SDL::Mixer::Groups- Audio channel group functions
thumblib::pods::SDL::Mixer::Music- functions for music
thumblib::pods::SDL::Mixer::Samples- functions for loading sound samples
Structure
thumbblib::lib::pods::SDL::Mixer::MixChunk- SDL Bindings for structure SDL_MixChunk
thumbblib::lib::pods::SDL::Mixer::MixMusic- SDL Bindings for structure SDL_MixMusic
thumblib::pods::SDL::Mixer::MixChunk- SDL Bindings for structure SDL_MixChunk
thumblib::pods::SDL::Mixer::MixMusic- SDL Bindings for structure SDL_MixMusic

Pango
thumbblib::lib::pods::SDL::Pango- Text rendering engine
thumblib::pods::SDL::Pango- Text rendering engine
Structure
thumbblib::lib::pods::SDL::Pango::Context- Context object for SDL::Pango
thumblib::pods::SDL::Pango::Context- Context object for SDL::Pango

TODO
thumbblib::lib::pods::SDL::MPEG- a SDL perl extension
thumbblib::lib::pods::SDL::SMPEG- a SDL perl extension
thumblib::pods::SDL::MPEG- a SDL perl extension
thumblib::pods::SDL::SMPEG- a SDL perl extension
MultiThread
thumbblib::lib::pods::SDL::MultiThread- Bindings to the MultiThread category in SDL API
thumblib::pods::SDL::MultiThread- Bindings to the MultiThread category in SDL API
Structure
thumbblib::lib::pods::SDL::RWOps- SDL Bindings to SDL_RWOPs
thumblib::pods::SDL::RWOps- SDL Bindings to SDL_RWOPs
GFX
thumbblib::lib::pods::SDL::GFX::BlitFunc- blitting functions
thumbblib::lib::pods::SDL::GFX::ImageFilter- image filtering functions
thumbblib::lib::pods::SDL::GFX::Rotozoom- rotation and zooming functions for surfaces
thumblib::pods::SDL::GFX::BlitFunc- blitting functions
thumblib::pods::SDL::GFX::ImageFilter- image filtering functions
thumblib::pods::SDL::GFX::Rotozoom- rotation and zooming functions for surfaces

TTF
thumbblib::lib::pods::SDL::TTF- True Type Font functions (libfreetype)
thumblib::pods::SDL::TTF- True Type Font functions (libfreetype)
Structure
thumbblib::lib::pods::SDL::TTF::Font- Font object type for SDL_ttf
thumblib::pods::SDL::TTF::Font- Font object type for SDL_ttf

Tutorials
thumbblib::lib::pods::SDL::Tutorial- introduction to Perl SDL
thumbblib::lib::pods::SDL::Tutorial::Animation
thumbblib::lib::pods::SDL::Tutorial::LunarLander- a small tutorial on Perl SDL
thumblib::pods::SDL::Tutorial- introduction to Perl SDL
thumblib::pods::SDL::Tutorial::Animation
thumblib::pods::SDL::Tutorial::LunarLander- a small tutorial on Perl SDL
diff --git a/pages/tags-API.html-inc b/pages/tags-API.html-inc index 2ece70a..6defb2f 100644 --- a/pages/tags-API.html-inc +++ b/pages/tags-API.html-inc @@ -1 +1 @@ -

Results for tag: API

Getting people to use SDL Perl: Docs, API, and Distribution
Friday, 07 May 2010
Tags: [API] [Design] [Docs] [Perl] [SDL]
The road so far
Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. Alien::SDL 1.405 is behaving well. This foundational stability will start to show results in SDL too I believe. Most excitingly the main developer of frozen-bubble is reviewing our Games::FrozenBubble port to CPAN. All good and well, but to keep this project going we need to improve.
Getting people to use SDL Perl
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.
Tutorials/Documentation

We have more docs now on http://sdl.perl.org but they suck
What type of tutorials do you think will be good for beginners?
A project start to finish?
Individual tutorials for various topics?
What needs to go in SDL::CookBook?

API sweetness
SDL Perl depends on distinct C libraries
This makes naming conventions, data formats different the SDL:: namespaces
How do people design this stuff?
We are hackers and we just go do stuff but I think this needs some prior thought
Any takers?

Distribution
If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus
One way is a Wx::Perl::Packer clone
Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games? 
If anyone wants to help in these areas please talk to us on sdl-devel@perl.org. 


[more]

\ No newline at end of file +

Results for tag: API

Getting people to use SDL Perl: Docs, API, and Distribution
Friday, 07 May 2010
Tags: [API] [Design] [Docs] [Perl] [SDL]
The road so far
Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. Alien::SDL 1.405 is behaving well. This foundational stability will start to show results in SDL too I believe. Most excitingly the main developer of frozen-bubble is reviewing our Games::FrozenBubble port to CPAN. All good and well, but to keep this project going we need to improve.
Getting people to use SDL Perl
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.
Tutorials/Documentation

We have more docs now on http://sdl.perl.org but they suck
What type of tutorials do you think will be good for beginners?
A project start to finish?
Individual tutorials for various topics?
What needs to go in SDL::CookBook?

API sweetness
SDL Perl depends on distinct C libraries
This makes naming conventions, data formats different the SDL:: namespaces
How do people design this stuff?
We are hackers and we just go do stuff but I think this needs some prior thought
Any takers?

Distribution
If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus
One way is a Wx::Perl::Packer clone
Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games? 
If anyone wants to help in these areas please talk to us on sdl-devel@perl.org. 


[more]

\ No newline at end of file diff --git a/pages/tags-Building.html-inc b/pages/tags-Building.html-inc index 1fde9ee..f1c42f8 100644 --- a/pages/tags-Building.html-inc +++ b/pages/tags-Building.html-inc @@ -1 +1 @@ -

Results for tag: Building

The Build Process of SDL Perl
Wednesday, 07 July 2010
Tags: [Building] [Perl] [SDL]
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.
The Build Process
Alien::SDL
[more]


New build system! Needs testing!
Thursday, 18 February 2010
Tags: [Building] [Releases] [SDL]



[more]

\ No newline at end of file +

Results for tag: Building

The Build Process of SDL Perl
Wednesday, 07 July 2010
Tags: [Building] [Perl] [SDL]
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.
The Build Process
Alien::SDL
[more]


New build system! Needs testing!
Thursday, 18 February 2010
Tags: [Building] [Releases] [SDL]



[more]

\ No newline at end of file diff --git a/pages/tags-Demo.html-inc b/pages/tags-Demo.html-inc index b6029ae..15b8599 100644 --- a/pages/tags-Demo.html-inc +++ b/pages/tags-Demo.html-inc @@ -1 +1 @@ -

Results for tag: Demo

Introducing SDLx::Controller::Object, with our good friend Mario!
Friday, 20 August 2010
Tags: [Demo] [Perl] [Physics] [SDL]
Hi Folks
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 .
Mario Demo using SDL Perl from SDLPerl on Vimeo .
[more]

\ No newline at end of file +

Results for tag: Demo

Introducing SDLx::Controller::Object, with our good friend Mario!
Friday, 20 August 2010
Tags: [Demo] [Perl] [Physics] [SDL]
Hi Folks
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 .
Mario Demo using SDL Perl from SDLPerl on Vimeo .
[more]

\ No newline at end of file diff --git a/pages/tags-Design.html-inc b/pages/tags-Design.html-inc index 0157f11..d8bcf7f 100644 --- a/pages/tags-Design.html-inc +++ b/pages/tags-Design.html-inc @@ -1 +1 @@ -

Results for tag: Design

Getting people to use SDL Perl: Docs, API, and Distribution
Friday, 07 May 2010
Tags: [API] [Design] [Docs] [Perl] [SDL]
The road so far
Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. Alien::SDL 1.405 is behaving well. This foundational stability will start to show results in SDL too I believe. Most excitingly the main developer of frozen-bubble is reviewing our Games::FrozenBubble port to CPAN. All good and well, but to keep this project going we need to improve.
Getting people to use SDL Perl
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.
Tutorials/Documentation

We have more docs now on http://sdl.perl.org but they suck
What type of tutorials do you think will be good for beginners?
A project start to finish?
Individual tutorials for various topics?
What needs to go in SDL::CookBook?

API sweetness
SDL Perl depends on distinct C libraries
This makes naming conventions, data formats different the SDL:: namespaces
How do people design this stuff?
We are hackers and we just go do stuff but I think this needs some prior thought
Any takers?

Distribution
If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus
One way is a Wx::Perl::Packer clone
Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games? 
If anyone wants to help in these areas please talk to us on sdl-devel@perl.org. 


[more]

\ No newline at end of file +

Results for tag: Design

Getting people to use SDL Perl: Docs, API, and Distribution
Friday, 07 May 2010
Tags: [API] [Design] [Docs] [Perl] [SDL]
The road so far
Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. Alien::SDL 1.405 is behaving well. This foundational stability will start to show results in SDL too I believe. Most excitingly the main developer of frozen-bubble is reviewing our Games::FrozenBubble port to CPAN. All good and well, but to keep this project going we need to improve.
Getting people to use SDL Perl
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.
Tutorials/Documentation

We have more docs now on http://sdl.perl.org but they suck
What type of tutorials do you think will be good for beginners?
A project start to finish?
Individual tutorials for various topics?
What needs to go in SDL::CookBook?

API sweetness
SDL Perl depends on distinct C libraries
This makes naming conventions, data formats different the SDL:: namespaces
How do people design this stuff?
We are hackers and we just go do stuff but I think this needs some prior thought
Any takers?

Distribution
If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus
One way is a Wx::Perl::Packer clone
Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games? 
If anyone wants to help in these areas please talk to us on sdl-devel@perl.org. 


[more]

\ No newline at end of file diff --git a/pages/tags-Docs.html-inc b/pages/tags-Docs.html-inc index ed12273..c556b52 100644 --- a/pages/tags-Docs.html-inc +++ b/pages/tags-Docs.html-inc @@ -1 +1 @@ -

Results for tag: Docs

Getting people to use SDL Perl: Docs, API, and Distribution
Friday, 07 May 2010
Tags: [API] [Design] [Docs] [Perl] [SDL]
The road so far
Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. Alien::SDL 1.405 is behaving well. This foundational stability will start to show results in SDL too I believe. Most excitingly the main developer of frozen-bubble is reviewing our Games::FrozenBubble port to CPAN. All good and well, but to keep this project going we need to improve.
Getting people to use SDL Perl
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.
Tutorials/Documentation

We have more docs now on http://sdl.perl.org but they suck
What type of tutorials do you think will be good for beginners?
A project start to finish?
Individual tutorials for various topics?
What needs to go in SDL::CookBook?

API sweetness
SDL Perl depends on distinct C libraries
This makes naming conventions, data formats different the SDL:: namespaces
How do people design this stuff?
We are hackers and we just go do stuff but I think this needs some prior thought
Any takers?

Distribution
If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus
One way is a Wx::Perl::Packer clone
Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games? 
If anyone wants to help in these areas please talk to us on sdl-devel@perl.org. 


[more]

\ No newline at end of file +

Results for tag: Docs

Getting people to use SDL Perl: Docs, API, and Distribution
Friday, 07 May 2010
Tags: [API] [Design] [Docs] [Perl] [SDL]
The road so far
Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. Alien::SDL 1.405 is behaving well. This foundational stability will start to show results in SDL too I believe. Most excitingly the main developer of frozen-bubble is reviewing our Games::FrozenBubble port to CPAN. All good and well, but to keep this project going we need to improve.
Getting people to use SDL Perl
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.
Tutorials/Documentation

We have more docs now on http://sdl.perl.org but they suck
What type of tutorials do you think will be good for beginners?
A project start to finish?
Individual tutorials for various topics?
What needs to go in SDL::CookBook?

API sweetness
SDL Perl depends on distinct C libraries
This makes naming conventions, data formats different the SDL:: namespaces
How do people design this stuff?
We are hackers and we just go do stuff but I think this needs some prior thought
Any takers?

Distribution
If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus
One way is a Wx::Perl::Packer clone
Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games? 
If anyone wants to help in these areas please talk to us on sdl-devel@perl.org. 


[more]

\ No newline at end of file diff --git a/pages/tags-Example.html-inc b/pages/tags-Example.html-inc index 506f43e..752add1 100644 --- a/pages/tags-Example.html-inc +++ b/pages/tags-Example.html-inc @@ -1 +1 @@ -

Results for tag: Example

Huge World Maps in less then 100 lines
Friday, 16 July 2010
Tags: [Example] [Perl] [SDL] [Syntax]

Hello folks,
Recently we have been working on making the Perl syntax 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.  The code is at  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  'Simple Games Easy. Complex Games Possible.' 
UPDATE: with some help, and newcomer jtpalmer's help we have added Link
 

--caio yapgh


[more]

\ No newline at end of file +

Results for tag: Example

Huge World Maps in less then 100 lines
Friday, 16 July 2010
Tags: [Example] [Perl] [SDL] [Syntax]

Hello folks,
Recently we have been working on making the Perl syntax 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.  The code is at  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  'Simple Games Easy. Complex Games Possible.' 
UPDATE: with some help, and newcomer jtpalmer's help we have added Link
 

--caio yapgh


[more]

\ No newline at end of file diff --git a/pages/tags-EyeCandy.html-inc b/pages/tags-EyeCandy.html-inc index 8fe3a39..1f56009 100644 --- a/pages/tags-EyeCandy.html-inc +++ b/pages/tags-EyeCandy.html-inc @@ -1 +1 @@ -

Results for tag: EyeCandy

SDL 2.518 Released: Neverhood Clone
Monday, 04 October 2010
Tags: [EyeCandy] [Perl] [Releases] [SDL]
So Blaizer started a Neverhood clone and fixed a lot of the Controller code to make it work nicely. This has been released as SDL 2.518. It does break back compat a bit, but not too much.
Have a look at http://sdl.perl.org/SDL-Deprecated.html#2_517 to see the breakages.
The documentation for Controller has also been improved considerably.
[more]


SDL 2.512 released - Layers Support added
Tuesday, 31 August 2010
Tags: [EyeCandy] [Game] [Releases] [SDL]
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.
Here is an implementation of the new Layer stuff. Solitaire .

[more]


SDL Perl Showcase
Friday, 12 March 2010
Tags: [EyeCandy] [Perl] [SDL Perl] [Showcase]

SDL_Mixer and Effects

[more]

\ No newline at end of file +

Results for tag: EyeCandy

SDL 2.518 Released: Neverhood Clone
Monday, 04 October 2010
Tags: [EyeCandy] [Perl] [Releases] [SDL]
So Blaizer started a Neverhood clone and fixed a lot of the Controller code to make it work nicely. This has been released as SDL 2.518. It does break back compat a bit, but not too much.
Have a look at http://sdl.perl.org/SDL-Deprecated.html#2_517 to see the breakages.
The documentation for Controller has also been improved considerably.
[more]


SDL 2.512 released - Layers Support added
Tuesday, 31 August 2010
Tags: [EyeCandy] [Game] [Releases] [SDL]
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.
Here is an implementation of the new Layer stuff. Solitaire .

[more]


SDL Perl Showcase
Friday, 12 March 2010
Tags: [EyeCandy] [Perl] [SDL Perl] [Showcase]

SDL_Mixer and Effects

[more]

\ No newline at end of file diff --git a/pages/tags-Frozen-Bubble.html-inc b/pages/tags-Frozen-Bubble.html-inc index 567c3e1..20e7fab 100644 --- a/pages/tags-Frozen-Bubble.html-inc +++ b/pages/tags-Frozen-Bubble.html-inc @@ -1 +1 @@ -

Results for tag: Frozen Bubble

Games::FrozenBubble: It is a start!
Monday, 12 April 2010
Tags: [Frozen Bubble] [Perl] [SDL]
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.



[more]


Release SDL 2.4: Frozen-Bubble begins to go to CPAN
Tuesday, 06 April 2010
Tags: [Frozen Bubble] [Perl] [SDL]

SDL 2.4 is released!
After 8 months of work this picture begins to sum it up:
[more]

\ No newline at end of file +

Results for tag: Frozen Bubble

Games::FrozenBubble: It is a start!
Monday, 12 April 2010
Tags: [Frozen Bubble] [Perl] [SDL]
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.



[more]


Release SDL 2.4: Frozen-Bubble begins to go to CPAN
Tuesday, 06 April 2010
Tags: [Frozen Bubble] [Perl] [SDL]

SDL 2.4 is released!
After 8 months of work this picture begins to sum it up:
[more]

\ No newline at end of file diff --git a/pages/tags-GSOC.html-inc b/pages/tags-GSOC.html-inc index 6537d8c..6061d11 100644 --- a/pages/tags-GSOC.html-inc +++ b/pages/tags-GSOC.html-inc @@ -1 +1 @@ -

Results for tag: GSOC

A summer of possibilities (SDL_perl and GSOC 2010 )
Tuesday, 30 March 2010
Tags: [GSOC] [Perl] [SDL]
GSOC 2010
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.
Process to Apply
[more]

\ No newline at end of file +

Results for tag: GSOC

A summer of possibilities (SDL_perl and GSOC 2010 )
Tuesday, 30 March 2010
Tags: [GSOC] [Perl] [SDL]
GSOC 2010
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.
Process to Apply
[more]

\ No newline at end of file diff --git a/pages/tags-Game.html-inc b/pages/tags-Game.html-inc index d5546d7..01b4235 100644 --- a/pages/tags-Game.html-inc +++ b/pages/tags-Game.html-inc @@ -1 +1 @@ -

Results for tag: Game

SDL 2.512 released - Layers Support added
Tuesday, 31 August 2010
Tags: [EyeCandy] [Game] [Releases] [SDL]
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.
Here is an implementation of the new Layer stuff. Solitaire .

[more]


Quick Game for Toronto Perl Mongers
Thursday, 11 February 2010
Tags: [Game] [SDL] [TPM]

Beep ... Boop

[more]

\ No newline at end of file +

Results for tag: Game

SDL 2.512 released - Layers Support added
Tuesday, 31 August 2010
Tags: [EyeCandy] [Game] [Releases] [SDL]
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.
Here is an implementation of the new Layer stuff. Solitaire .

[more]


Quick Game for Toronto Perl Mongers
Thursday, 11 February 2010
Tags: [Game] [SDL] [TPM]

Beep ... Boop

[more]

\ No newline at end of file diff --git a/pages/tags-Grant.html-inc b/pages/tags-Grant.html-inc index 4d87c23..1a6602e 100644 --- a/pages/tags-Grant.html-inc +++ b/pages/tags-Grant.html-inc @@ -1 +1 @@ -

Results for tag: Grant

Grant Progess Reports 1-3: Sept - Nov
Monday, 22 November 2010
Tags: [Grant] [Perl] [SDL] [Updates]
As you know I have received a TPF grant to write a SDL Perl Manual.


[more]


SDL Manual: Reviewers Needed
Monday, 27 September 2010
Tags: [Grant] [Manual] [SDL]
Work has begun on the 4th chapter of the SDL Manual. The code is on github , and I regularly update the pdf on our server.
Writing manuals is not of my greatest skills, so I would love some review of my work. Any problems can be reported in the issues .
If you want to help with writing the manual, please join me on #sdl irc.perl.org or email us at
[more]

\ No newline at end of file +

Results for tag: Grant

Closing the Grant
Tuesday, 18 January 2011
Tags: [Grant] [Manual] [SDL]
With the following commit I am closing the grant.
This is what has been accomplished from each of the objectives:
Cleaner Code and a lot of memory and performance improvements ( SDL 2.527 released Jan 18th )
[more]


Grant Progess Reports 1-3: Sept - Nov
Monday, 22 November 2010
Tags: [Grant] [Perl] [SDL] [Updates]
As you know I have received a TPF grant to write a SDL Perl Manual.


[more]


SDL Manual: Reviewers Needed
Monday, 27 September 2010
Tags: [Grant] [Manual] [SDL]
Work has begun on the 4th chapter of the SDL Manual. The code is on github , and I regularly update the pdf on our server.
Writing manuals is not of my greatest skills, so I would love some review of my work. Any problems can be reported in the issues .
If you want to help with writing the manual, please join me on #sdl irc.perl.org or email us at
[more]

\ No newline at end of file diff --git a/pages/tags-Manual.html-inc b/pages/tags-Manual.html-inc index 72de305..0343517 100644 --- a/pages/tags-Manual.html-inc +++ b/pages/tags-Manual.html-inc @@ -1 +1 @@ -

Results for tag: Manual

SDL Manual: Reviewers Needed
Monday, 27 September 2010
Tags: [Grant] [Manual] [SDL]
Work has begun on the 4th chapter of the SDL Manual. The code is on github , and I regularly update the pdf on our server.
Writing manuals is not of my greatest skills, so I would love some review of my work. Any problems can be reported in the issues .
If you want to help with writing the manual, please join me on #sdl irc.perl.org or email us at
[more]

\ No newline at end of file +

Results for tag: Manual

Closing the Grant
Tuesday, 18 January 2011
Tags: [Grant] [Manual] [SDL]
With the following commit I am closing the grant.
This is what has been accomplished from each of the objectives:
Cleaner Code and a lot of memory and performance improvements ( SDL 2.527 released Jan 18th )
[more]


SDL Manual: Reviewers Needed
Monday, 27 September 2010
Tags: [Grant] [Manual] [SDL]
Work has begun on the 4th chapter of the SDL Manual. The code is on github , and I regularly update the pdf on our server.
Writing manuals is not of my greatest skills, so I would love some review of my work. Any problems can be reported in the issues .
If you want to help with writing the manual, please join me on #sdl irc.perl.org or email us at
[more]

\ No newline at end of file diff --git a/pages/tags-PDL.html-inc b/pages/tags-PDL.html-inc index 2ea74fc..3163cfd 100644 --- a/pages/tags-PDL.html-inc +++ b/pages/tags-PDL.html-inc @@ -1 +1 @@ -

Results for tag: PDL

SDL RC 2.5 decides to play with PDL
Tuesday, 29 June 2010
Tags: [PDL] [Perl] [SDL]
PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.
You can use PDL and SDL together to create real-time,
responsive animations and simulations.
[more]

\ No newline at end of file +

Results for tag: PDL

SDL RC 2.5 decides to play with PDL
Tuesday, 29 June 2010
Tags: [PDL] [Perl] [SDL]
PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.
You can use PDL and SDL together to create real-time,
responsive animations and simulations.
[more]

\ No newline at end of file diff --git a/pages/tags-Pack.html-inc b/pages/tags-Pack.html-inc index c37e2be..26a45f3 100644 --- a/pages/tags-Pack.html-inc +++ b/pages/tags-Pack.html-inc @@ -1 +1 @@ -

Results for tag: Pack

Providing direct memory access to SDL_Surface's pixels
Wednesday, 23 June 2010
Tags: [Pack] [Perl] [SDL] [Surface] [XS]
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.
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:
SV * get_pixel32 ( SDL_Surface * surface , int x , int y )
[more]

\ No newline at end of file +

Results for tag: Pack

Providing direct memory access to SDL_Surface's pixels
Wednesday, 23 June 2010
Tags: [Pack] [Perl] [SDL] [Surface] [XS]
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.
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:
SV * get_pixel32 ( SDL_Surface * surface , int x , int y )
[more]

\ No newline at end of file diff --git a/pages/tags-Packaging.html-inc b/pages/tags-Packaging.html-inc index d30740e..caa6151 100644 --- a/pages/tags-Packaging.html-inc +++ b/pages/tags-Packaging.html-inc @@ -1 +1 @@ -

Results for tag: Packaging

SDLpp.pl: Packaging SDL Scripts Alpha
Friday, 14 May 2010
Tags: [Packaging] [Perl] [SDL]
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.
Here is the shooter.pl packaged up:

[more]

\ No newline at end of file +

Results for tag: Packaging

SDLpp.pl: Packaging SDL Scripts Alpha
Friday, 14 May 2010
Tags: [Packaging] [Perl] [SDL]
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.
Here is the shooter.pl packaged up:

[more]

\ No newline at end of file diff --git a/pages/tags-Perl.html-inc b/pages/tags-Perl.html-inc index 0ccdaa3..9eab89a 100644 --- a/pages/tags-Perl.html-inc +++ b/pages/tags-Perl.html-inc @@ -1 +1 @@ -

Results for tag: Perl

Grant Progess Reports 1-3: Sept - Nov
Monday, 22 November 2010
Tags: [Grant] [Perl] [SDL] [Updates]
As you know I have received a TPF grant to write a SDL Perl Manual.


[more]


SDL 2.518 Released: Neverhood Clone
Monday, 04 October 2010
Tags: [EyeCandy] [Perl] [Releases] [SDL]
So Blaizer started a Neverhood clone and fixed a lot of the Controller code to make it work nicely. This has been released as SDL 2.518. It does break back compat a bit, but not too much.
Have a look at http://sdl.perl.org/SDL-Deprecated.html#2_517 to see the breakages.
The documentation for Controller has also been improved considerably.
[more]


Introducing SDLx::Controller::Object, with our good friend Mario!
Friday, 20 August 2010
Tags: [Demo] [Perl] [Physics] [SDL]
Hi Folks
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 .
Mario Demo using SDL Perl from SDLPerl on Vimeo .
[more]


SDL 2.511 + Using SDL for quick visualizations
Monday, 09 August 2010
Tags: [Perl] [SDL]
SDL Perl 2.511 is showing great promises. The initial tests show a great deal of stability. http://search.cpan.org/~kthakore/SDL-2.511/
 Moreover we are seeing more varied users of SDL Perl.
John.O Writes:

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.
Our company is http://smartfield.com .
John O.



[more]


Perl+SDL 3D Rendering
Saturday, 31 July 2010
Tags: [Perl] [SDL] [Showcase]
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.
--yapgh
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.
[more]


SDL 2.503 Released!
Thursday, 22 July 2010
Tags: [Perl] [Releases] [SDL]
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.
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.
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 .
[more]


Huge World Maps in less then 100 lines
Friday, 16 July 2010
Tags: [Example] [Perl] [SDL] [Syntax]

Hello folks,
Recently we have been working on making the Perl syntax 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.  The code is at  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  'Simple Games Easy. Complex Games Possible.' 
UPDATE: with some help, and newcomer jtpalmer's help we have added Link
 

--caio yapgh


[more]


The Build Process of SDL Perl
Wednesday, 07 July 2010
Tags: [Building] [Perl] [SDL]
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.
The Build Process
Alien::SDL
[more]


SDL RC 2.5 decides to play with PDL
Tuesday, 29 June 2010
Tags: [PDL] [Perl] [SDL]
PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.
You can use PDL and SDL together to create real-time,
responsive animations and simulations.
[more]


Providing direct memory access to SDL_Surface's pixels
Wednesday, 23 June 2010
Tags: [Pack] [Perl] [SDL] [Surface] [XS]
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.
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:
SV * get_pixel32 ( SDL_Surface * surface , int x , int y )
[more]


SDLpp.pl: Packaging SDL Scripts Alpha
Friday, 14 May 2010
Tags: [Packaging] [Perl] [SDL]
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.
Here is the shooter.pl packaged up:

[more]


Getting people to use SDL Perl: Docs, API, and Distribution
Friday, 07 May 2010
Tags: [API] [Design] [Docs] [Perl] [SDL]
The road so far
Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. Alien::SDL 1.405 is behaving well. This foundational stability will start to show results in SDL too I believe. Most excitingly the main developer of frozen-bubble is reviewing our Games::FrozenBubble port to CPAN. All good and well, but to keep this project going we need to improve.
Getting people to use SDL Perl
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.
Tutorials/Documentation

We have more docs now on http://sdl.perl.org but they suck
What type of tutorials do you think will be good for beginners?
A project start to finish?
Individual tutorials for various topics?
What needs to go in SDL::CookBook?

API sweetness
SDL Perl depends on distinct C libraries
This makes naming conventions, data formats different the SDL:: namespaces
How do people design this stuff?
We are hackers and we just go do stuff but I think this needs some prior thought
Any takers?

Distribution
If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus
One way is a Wx::Perl::Packer clone
Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games? 
If anyone wants to help in these areas please talk to us on sdl-devel@perl.org. 


[more]


Games::FrozenBubble: It is a start!
Monday, 12 April 2010
Tags: [Frozen Bubble] [Perl] [SDL]
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.



[more]


Release SDL 2.4: Frozen-Bubble begins to go to CPAN
Tuesday, 06 April 2010
Tags: [Frozen Bubble] [Perl] [SDL]

SDL 2.4 is released!
After 8 months of work this picture begins to sum it up:
[more]


A summer of possibilities (SDL_perl and GSOC 2010 )
Tuesday, 30 March 2010
Tags: [GSOC] [Perl] [SDL]
GSOC 2010
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.
Process to Apply
[more]


SDL Perl Showcase
Friday, 12 March 2010
Tags: [EyeCandy] [Perl] [SDL Perl] [Showcase]

SDL_Mixer and Effects

[more]


Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]

Dragged down from the lofty isles,
into the guts and gore of the monster,
[more]


SDL Alpha 2: A sneak preview
Sunday, 06 December 2009
Tags: [Perl] [Releases] [SDL]
Pretty or Ugly,
Code is Code
New or Old,
[more]


Developer Release of SDL 2.3_1
Monday, 30 November 2009
Tags: [Perl] [Releases] [SDL]

The city of Rome was built,
with the first brick.
[more]

\ No newline at end of file +

Results for tag: Perl

Grant Progess Reports 1-3: Sept - Nov
Monday, 22 November 2010
Tags: [Grant] [Perl] [SDL] [Updates]
As you know I have received a TPF grant to write a SDL Perl Manual.


[more]


SDL 2.518 Released: Neverhood Clone
Monday, 04 October 2010
Tags: [EyeCandy] [Perl] [Releases] [SDL]
So Blaizer started a Neverhood clone and fixed a lot of the Controller code to make it work nicely. This has been released as SDL 2.518. It does break back compat a bit, but not too much.
Have a look at http://sdl.perl.org/SDL-Deprecated.html#2_517 to see the breakages.
The documentation for Controller has also been improved considerably.
[more]


Introducing SDLx::Controller::Object, with our good friend Mario!
Friday, 20 August 2010
Tags: [Demo] [Perl] [Physics] [SDL]
Hi Folks
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 .
Mario Demo using SDL Perl from SDLPerl on Vimeo .
[more]


SDL 2.511 + Using SDL for quick visualizations
Monday, 09 August 2010
Tags: [Perl] [SDL]
SDL Perl 2.511 is showing great promises. The initial tests show a great deal of stability. http://search.cpan.org/~kthakore/SDL-2.511/
 Moreover we are seeing more varied users of SDL Perl.
John.O Writes:

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.
Our company is http://smartfield.com .
John O.



[more]


Perl+SDL 3D Rendering
Saturday, 31 July 2010
Tags: [Perl] [SDL] [Showcase]
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.
--yapgh
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.
[more]


SDL 2.503 Released!
Thursday, 22 July 2010
Tags: [Perl] [Releases] [SDL]
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.
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.
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 .
[more]


Huge World Maps in less then 100 lines
Friday, 16 July 2010
Tags: [Example] [Perl] [SDL] [Syntax]

Hello folks,
Recently we have been working on making the Perl syntax 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.  The code is at  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  'Simple Games Easy. Complex Games Possible.' 
UPDATE: with some help, and newcomer jtpalmer's help we have added Link
 

--caio yapgh


[more]


The Build Process of SDL Perl
Wednesday, 07 July 2010
Tags: [Building] [Perl] [SDL]
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.
The Build Process
Alien::SDL
[more]


SDL RC 2.5 decides to play with PDL
Tuesday, 29 June 2010
Tags: [PDL] [Perl] [SDL]
PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.
You can use PDL and SDL together to create real-time,
responsive animations and simulations.
[more]


Providing direct memory access to SDL_Surface's pixels
Wednesday, 23 June 2010
Tags: [Pack] [Perl] [SDL] [Surface] [XS]
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.
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:
SV * get_pixel32 ( SDL_Surface * surface , int x , int y )
[more]


SDLpp.pl: Packaging SDL Scripts Alpha
Friday, 14 May 2010
Tags: [Packaging] [Perl] [SDL]
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.
Here is the shooter.pl packaged up:

[more]


Getting people to use SDL Perl: Docs, API, and Distribution
Friday, 07 May 2010
Tags: [API] [Design] [Docs] [Perl] [SDL]
The road so far
Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. Alien::SDL 1.405 is behaving well. This foundational stability will start to show results in SDL too I believe. Most excitingly the main developer of frozen-bubble is reviewing our Games::FrozenBubble port to CPAN. All good and well, but to keep this project going we need to improve.
Getting people to use SDL Perl
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.
Tutorials/Documentation

We have more docs now on http://sdl.perl.org but they suck
What type of tutorials do you think will be good for beginners?
A project start to finish?
Individual tutorials for various topics?
What needs to go in SDL::CookBook?

API sweetness
SDL Perl depends on distinct C libraries
This makes naming conventions, data formats different the SDL:: namespaces
How do people design this stuff?
We are hackers and we just go do stuff but I think this needs some prior thought
Any takers?

Distribution
If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus
One way is a Wx::Perl::Packer clone
Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games? 
If anyone wants to help in these areas please talk to us on sdl-devel@perl.org. 


[more]


Games::FrozenBubble: It is a start!
Monday, 12 April 2010
Tags: [Frozen Bubble] [Perl] [SDL]
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.



[more]


Release SDL 2.4: Frozen-Bubble begins to go to CPAN
Tuesday, 06 April 2010
Tags: [Frozen Bubble] [Perl] [SDL]

SDL 2.4 is released!
After 8 months of work this picture begins to sum it up:
[more]


A summer of possibilities (SDL_perl and GSOC 2010 )
Tuesday, 30 March 2010
Tags: [GSOC] [Perl] [SDL]
GSOC 2010
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.
Process to Apply
[more]


SDL Perl Showcase
Friday, 12 March 2010
Tags: [EyeCandy] [Perl] [SDL Perl] [Showcase]

SDL_Mixer and Effects

[more]


Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]

Dragged down from the lofty isles,
into the guts and gore of the monster,
[more]


SDL Alpha 2: A sneak preview
Sunday, 06 December 2009
Tags: [Perl] [Releases] [SDL]
Pretty or Ugly,
Code is Code
New or Old,
[more]

\ No newline at end of file diff --git a/pages/tags-Physics.html-inc b/pages/tags-Physics.html-inc index 004c788..2c45b59 100644 --- a/pages/tags-Physics.html-inc +++ b/pages/tags-Physics.html-inc @@ -1 +1 @@ -

Results for tag: Physics

Introducing SDLx::Controller::Object, with our good friend Mario!
Friday, 20 August 2010
Tags: [Demo] [Perl] [Physics] [SDL]
Hi Folks
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 .
Mario Demo using SDL Perl from SDLPerl on Vimeo .
[more]

\ No newline at end of file +

Results for tag: Physics

Introducing SDLx::Controller::Object, with our good friend Mario!
Friday, 20 August 2010
Tags: [Demo] [Perl] [Physics] [SDL]
Hi Folks
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 .
Mario Demo using SDL Perl from SDLPerl on Vimeo .
[more]

\ No newline at end of file diff --git a/pages/tags-Releases.html-inc b/pages/tags-Releases.html-inc index beec54c..3e870c1 100644 --- a/pages/tags-Releases.html-inc +++ b/pages/tags-Releases.html-inc @@ -1 +1 @@ -

Results for tag: Releases

SDL 2.518 Released: Neverhood Clone
Monday, 04 October 2010
Tags: [EyeCandy] [Perl] [Releases] [SDL]
So Blaizer started a Neverhood clone and fixed a lot of the Controller code to make it work nicely. This has been released as SDL 2.518. It does break back compat a bit, but not too much.
Have a look at http://sdl.perl.org/SDL-Deprecated.html#2_517 to see the breakages.
The documentation for Controller has also been improved considerably.
[more]


SDL 2.512 released - Layers Support added
Tuesday, 31 August 2010
Tags: [EyeCandy] [Game] [Releases] [SDL]
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.
Here is an implementation of the new Layer stuff. Solitaire .

[more]


SDL 2.503 Released!
Thursday, 22 July 2010
Tags: [Perl] [Releases] [SDL]
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.
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.
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 .
[more]


New build system! Needs testing!
Thursday, 18 February 2010
Tags: [Building] [Releases] [SDL]



[more]


SDL_perl 2.3_5 is out!
Monday, 01 February 2010
Tags: [Releases] [SDL]
We keep on rolling,
rolling,
waiting on the world to turn.
[more]


SDL Alpha 2: A sneak preview
Sunday, 06 December 2009
Tags: [Perl] [Releases] [SDL]
Pretty or Ugly,
Code is Code
New or Old,
[more]


Developer Release of SDL 2.3_1
Monday, 30 November 2009
Tags: [Perl] [Releases] [SDL]

The city of Rome was built,
with the first brick.
[more]

\ No newline at end of file +

Results for tag: Releases

SDL 2.518 Released: Neverhood Clone
Monday, 04 October 2010
Tags: [EyeCandy] [Perl] [Releases] [SDL]
So Blaizer started a Neverhood clone and fixed a lot of the Controller code to make it work nicely. This has been released as SDL 2.518. It does break back compat a bit, but not too much.
Have a look at http://sdl.perl.org/SDL-Deprecated.html#2_517 to see the breakages.
The documentation for Controller has also been improved considerably.
[more]


SDL 2.512 released - Layers Support added
Tuesday, 31 August 2010
Tags: [EyeCandy] [Game] [Releases] [SDL]
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.
Here is an implementation of the new Layer stuff. Solitaire .

[more]


SDL 2.503 Released!
Thursday, 22 July 2010
Tags: [Perl] [Releases] [SDL]
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.
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.
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 .
[more]


New build system! Needs testing!
Thursday, 18 February 2010
Tags: [Building] [Releases] [SDL]



[more]


SDL_perl 2.3_5 is out!
Monday, 01 February 2010
Tags: [Releases] [SDL]
We keep on rolling,
rolling,
waiting on the world to turn.
[more]


SDL Alpha 2: A sneak preview
Sunday, 06 December 2009
Tags: [Perl] [Releases] [SDL]
Pretty or Ugly,
Code is Code
New or Old,
[more]

\ No newline at end of file diff --git a/pages/tags-SDL-Perl-EyeCandy.html-inc b/pages/tags-SDL-Perl-EyeCandy.html-inc index 7a9b2f0..06a2e98 100644 --- a/pages/tags-SDL-Perl-EyeCandy.html-inc +++ b/pages/tags-SDL-Perl-EyeCandy.html-inc @@ -1 +1 @@ -

Results for tag: SDL Perl EyeCandy

Eye Candy
Wednesday, 24 February 2010
Tags: [SDL Perl EyeCandy]

clang
With each imperfect hit
[more]

\ No newline at end of file +

Results for tag: SDL Perl EyeCandy

Eye Candy
Wednesday, 24 February 2010
Tags: [SDL Perl EyeCandy]

clang
With each imperfect hit
[more]

\ No newline at end of file diff --git a/pages/tags-SDL-Perl.html-inc b/pages/tags-SDL-Perl.html-inc index 75ca804..74748fc 100644 --- a/pages/tags-SDL-Perl.html-inc +++ b/pages/tags-SDL-Perl.html-inc @@ -1 +1 @@ -

Results for tag: SDL Perl

SDL Perl Showcase
Friday, 12 March 2010
Tags: [EyeCandy] [Perl] [SDL Perl] [Showcase]

SDL_Mixer and Effects

[more]

\ No newline at end of file +

Results for tag: SDL Perl

SDL Perl Showcase
Friday, 12 March 2010
Tags: [EyeCandy] [Perl] [SDL Perl] [Showcase]

SDL_Mixer and Effects

[more]

\ No newline at end of file diff --git a/pages/tags-SDL.html-inc b/pages/tags-SDL.html-inc index 8a06c3b..a2fe92e 100644 --- a/pages/tags-SDL.html-inc +++ b/pages/tags-SDL.html-inc @@ -1 +1 @@ -

Results for tag: SDL

Grant Progess Reports 1-3: Sept - Nov
Monday, 22 November 2010
Tags: [Grant] [Perl] [SDL] [Updates]
As you know I have received a TPF grant to write a SDL Perl Manual.


[more]


SDL 2.518 Released: Neverhood Clone
Monday, 04 October 2010
Tags: [EyeCandy] [Perl] [Releases] [SDL]
So Blaizer started a Neverhood clone and fixed a lot of the Controller code to make it work nicely. This has been released as SDL 2.518. It does break back compat a bit, but not too much.
Have a look at http://sdl.perl.org/SDL-Deprecated.html#2_517 to see the breakages.
The documentation for Controller has also been improved considerably.
[more]


SDL Manual: Reviewers Needed
Monday, 27 September 2010
Tags: [Grant] [Manual] [SDL]
Work has begun on the 4th chapter of the SDL Manual. The code is on github , and I regularly update the pdf on our server.
Writing manuals is not of my greatest skills, so I would love some review of my work. Any problems can be reported in the issues .
If you want to help with writing the manual, please join me on #sdl irc.perl.org or email us at
[more]


SDL 2.512 released - Layers Support added
Tuesday, 31 August 2010
Tags: [EyeCandy] [Game] [Releases] [SDL]
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.
Here is an implementation of the new Layer stuff. Solitaire .

[more]


Introducing SDLx::Controller::Object, with our good friend Mario!
Friday, 20 August 2010
Tags: [Demo] [Perl] [Physics] [SDL]
Hi Folks
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 .
Mario Demo using SDL Perl from SDLPerl on Vimeo .
[more]


SDL 2.511 + Using SDL for quick visualizations
Monday, 09 August 2010
Tags: [Perl] [SDL]
SDL Perl 2.511 is showing great promises. The initial tests show a great deal of stability. http://search.cpan.org/~kthakore/SDL-2.511/
 Moreover we are seeing more varied users of SDL Perl.
John.O Writes:

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.
Our company is http://smartfield.com .
John O.



[more]


Perl+SDL 3D Rendering
Saturday, 31 July 2010
Tags: [Perl] [SDL] [Showcase]
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.
--yapgh
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.
[more]


SDL 2.503 Released!
Thursday, 22 July 2010
Tags: [Perl] [Releases] [SDL]
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.
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.
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 .
[more]


Huge World Maps in less then 100 lines
Friday, 16 July 2010
Tags: [Example] [Perl] [SDL] [Syntax]

Hello folks,
Recently we have been working on making the Perl syntax 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.  The code is at  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  'Simple Games Easy. Complex Games Possible.' 
UPDATE: with some help, and newcomer jtpalmer's help we have added Link
 

--caio yapgh


[more]


The Build Process of SDL Perl
Wednesday, 07 July 2010
Tags: [Building] [Perl] [SDL]
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.
The Build Process
Alien::SDL
[more]


SDL RC 2.5 decides to play with PDL
Tuesday, 29 June 2010
Tags: [PDL] [Perl] [SDL]
PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.
You can use PDL and SDL together to create real-time,
responsive animations and simulations.
[more]


Providing direct memory access to SDL_Surface's pixels
Wednesday, 23 June 2010
Tags: [Pack] [Perl] [SDL] [Surface] [XS]
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.
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:
SV * get_pixel32 ( SDL_Surface * surface , int x , int y )
[more]


SDLpp.pl: Packaging SDL Scripts Alpha
Friday, 14 May 2010
Tags: [Packaging] [Perl] [SDL]
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.
Here is the shooter.pl packaged up:

[more]


Getting people to use SDL Perl: Docs, API, and Distribution
Friday, 07 May 2010
Tags: [API] [Design] [Docs] [Perl] [SDL]
The road so far
Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. Alien::SDL 1.405 is behaving well. This foundational stability will start to show results in SDL too I believe. Most excitingly the main developer of frozen-bubble is reviewing our Games::FrozenBubble port to CPAN. All good and well, but to keep this project going we need to improve.
Getting people to use SDL Perl
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.
Tutorials/Documentation

We have more docs now on http://sdl.perl.org but they suck
What type of tutorials do you think will be good for beginners?
A project start to finish?
Individual tutorials for various topics?
What needs to go in SDL::CookBook?

API sweetness
SDL Perl depends on distinct C libraries
This makes naming conventions, data formats different the SDL:: namespaces
How do people design this stuff?
We are hackers and we just go do stuff but I think this needs some prior thought
Any takers?

Distribution
If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus
One way is a Wx::Perl::Packer clone
Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games? 
If anyone wants to help in these areas please talk to us on sdl-devel@perl.org. 


[more]


Games::FrozenBubble: It is a start!
Monday, 12 April 2010
Tags: [Frozen Bubble] [Perl] [SDL]
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.



[more]


Release SDL 2.4: Frozen-Bubble begins to go to CPAN
Tuesday, 06 April 2010
Tags: [Frozen Bubble] [Perl] [SDL]

SDL 2.4 is released!
After 8 months of work this picture begins to sum it up:
[more]


A summer of possibilities (SDL_perl and GSOC 2010 )
Tuesday, 30 March 2010
Tags: [GSOC] [Perl] [SDL]
GSOC 2010
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.
Process to Apply
[more]


New build system! Needs testing!
Thursday, 18 February 2010
Tags: [Building] [Releases] [SDL]



[more]


Quick Game for Toronto Perl Mongers
Thursday, 11 February 2010
Tags: [Game] [SDL] [TPM]

Beep ... Boop

[more]


SDL_perl 2.3_5 is out!
Monday, 01 February 2010
Tags: [Releases] [SDL]
We keep on rolling,
rolling,
waiting on the world to turn.
[more]


Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]

Dragged down from the lofty isles,
into the guts and gore of the monster,
[more]


SDL Alpha 2: A sneak preview
Sunday, 06 December 2009
Tags: [Perl] [Releases] [SDL]
Pretty or Ugly,
Code is Code
New or Old,
[more]


Developer Release of SDL 2.3_1
Monday, 30 November 2009
Tags: [Perl] [Releases] [SDL]

The city of Rome was built,
with the first brick.
[more]

\ No newline at end of file +

Results for tag: SDL

Closing the Grant
Tuesday, 18 January 2011
Tags: [Grant] [Manual] [SDL]
With the following commit I am closing the grant.
This is what has been accomplished from each of the objectives:
Cleaner Code and a lot of memory and performance improvements ( SDL 2.527 released Jan 18th )
[more]


Grant Progess Reports 1-3: Sept - Nov
Monday, 22 November 2010
Tags: [Grant] [Perl] [SDL] [Updates]
As you know I have received a TPF grant to write a SDL Perl Manual.


[more]


SDL 2.518 Released: Neverhood Clone
Monday, 04 October 2010
Tags: [EyeCandy] [Perl] [Releases] [SDL]
So Blaizer started a Neverhood clone and fixed a lot of the Controller code to make it work nicely. This has been released as SDL 2.518. It does break back compat a bit, but not too much.
Have a look at http://sdl.perl.org/SDL-Deprecated.html#2_517 to see the breakages.
The documentation for Controller has also been improved considerably.
[more]


SDL Manual: Reviewers Needed
Monday, 27 September 2010
Tags: [Grant] [Manual] [SDL]
Work has begun on the 4th chapter of the SDL Manual. The code is on github , and I regularly update the pdf on our server.
Writing manuals is not of my greatest skills, so I would love some review of my work. Any problems can be reported in the issues .
If you want to help with writing the manual, please join me on #sdl irc.perl.org or email us at
[more]


SDL 2.512 released - Layers Support added
Tuesday, 31 August 2010
Tags: [EyeCandy] [Game] [Releases] [SDL]
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.
Here is an implementation of the new Layer stuff. Solitaire .

[more]


Introducing SDLx::Controller::Object, with our good friend Mario!
Friday, 20 August 2010
Tags: [Demo] [Perl] [Physics] [SDL]
Hi Folks
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 .
Mario Demo using SDL Perl from SDLPerl on Vimeo .
[more]


SDL 2.511 + Using SDL for quick visualizations
Monday, 09 August 2010
Tags: [Perl] [SDL]
SDL Perl 2.511 is showing great promises. The initial tests show a great deal of stability. http://search.cpan.org/~kthakore/SDL-2.511/
 Moreover we are seeing more varied users of SDL Perl.
John.O Writes:

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.
Our company is http://smartfield.com .
John O.



[more]


Perl+SDL 3D Rendering
Saturday, 31 July 2010
Tags: [Perl] [SDL] [Showcase]
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.
--yapgh
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.
[more]


SDL 2.503 Released!
Thursday, 22 July 2010
Tags: [Perl] [Releases] [SDL]
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.
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.
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 .
[more]


Huge World Maps in less then 100 lines
Friday, 16 July 2010
Tags: [Example] [Perl] [SDL] [Syntax]

Hello folks,
Recently we have been working on making the Perl syntax 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.  The code is at  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  'Simple Games Easy. Complex Games Possible.' 
UPDATE: with some help, and newcomer jtpalmer's help we have added Link
 

--caio yapgh


[more]


The Build Process of SDL Perl
Wednesday, 07 July 2010
Tags: [Building] [Perl] [SDL]
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.
The Build Process
Alien::SDL
[more]


SDL RC 2.5 decides to play with PDL
Tuesday, 29 June 2010
Tags: [PDL] [Perl] [SDL]
PDL provides great number crunching capabilities to Perl and SDL provides game-developer quality real-time bitmapping and sound.
You can use PDL and SDL together to create real-time,
responsive animations and simulations.
[more]


Providing direct memory access to SDL_Surface's pixels
Wednesday, 23 June 2010
Tags: [Pack] [Perl] [SDL] [Surface] [XS]
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.
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:
SV * get_pixel32 ( SDL_Surface * surface , int x , int y )
[more]


SDLpp.pl: Packaging SDL Scripts Alpha
Friday, 14 May 2010
Tags: [Packaging] [Perl] [SDL]
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.
Here is the shooter.pl packaged up:

[more]


Getting people to use SDL Perl: Docs, API, and Distribution
Friday, 07 May 2010
Tags: [API] [Design] [Docs] [Perl] [SDL]
The road so far
Things have been busy but fruitful. Our two core modules are getting to be a bit more stable. Alien::SDL 1.405 is behaving well. This foundational stability will start to show results in SDL too I believe. Most excitingly the main developer of frozen-bubble is reviewing our Games::FrozenBubble port to CPAN. All good and well, but to keep this project going we need to improve.
Getting people to use SDL Perl
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.
Tutorials/Documentation

We have more docs now on http://sdl.perl.org but they suck
What type of tutorials do you think will be good for beginners?
A project start to finish?
Individual tutorials for various topics?
What needs to go in SDL::CookBook?

API sweetness
SDL Perl depends on distinct C libraries
This makes naming conventions, data formats different the SDL:: namespaces
How do people design this stuff?
We are hackers and we just go do stuff but I think this needs some prior thought
Any takers?

Distribution
If SDL scripts can be packaged up simply for game developers to distribute their games it will be a big plus
One way is a Wx::Perl::Packer clone
Another is a CPAN/Steam clone that game devs can upload games too and people can point and click download games? 
If anyone wants to help in these areas please talk to us on sdl-devel@perl.org. 


[more]


Games::FrozenBubble: It is a start!
Monday, 12 April 2010
Tags: [Frozen Bubble] [Perl] [SDL]
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.



[more]


Release SDL 2.4: Frozen-Bubble begins to go to CPAN
Tuesday, 06 April 2010
Tags: [Frozen Bubble] [Perl] [SDL]

SDL 2.4 is released!
After 8 months of work this picture begins to sum it up:
[more]


A summer of possibilities (SDL_perl and GSOC 2010 )
Tuesday, 30 March 2010
Tags: [GSOC] [Perl] [SDL]
GSOC 2010
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.
Process to Apply
[more]


New build system! Needs testing!
Thursday, 18 February 2010
Tags: [Building] [Releases] [SDL]



[more]


Quick Game for Toronto Perl Mongers
Thursday, 11 February 2010
Tags: [Game] [SDL] [TPM]

Beep ... Boop

[more]


SDL_perl 2.3_5 is out!
Monday, 01 February 2010
Tags: [Releases] [SDL]
We keep on rolling,
rolling,
waiting on the world to turn.
[more]


Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]

Dragged down from the lofty isles,
into the guts and gore of the monster,
[more]


SDL Alpha 2: A sneak preview
Sunday, 06 December 2009
Tags: [Perl] [Releases] [SDL]
Pretty or Ugly,
Code is Code
New or Old,
[more]

\ No newline at end of file diff --git a/pages/tags-Showcase.html-inc b/pages/tags-Showcase.html-inc index b88735d..fb15e04 100644 --- a/pages/tags-Showcase.html-inc +++ b/pages/tags-Showcase.html-inc @@ -1 +1 @@ -

Results for tag: Showcase

Perl+SDL 3D Rendering
Saturday, 31 July 2010
Tags: [Perl] [SDL] [Showcase]
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.
--yapgh
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.
[more]


SDL Perl Showcase
Friday, 12 March 2010
Tags: [EyeCandy] [Perl] [SDL Perl] [Showcase]

SDL_Mixer and Effects

[more]

\ No newline at end of file +

Results for tag: Showcase

Perl+SDL 3D Rendering
Saturday, 31 July 2010
Tags: [Perl] [SDL] [Showcase]
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.
--yapgh
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.
[more]


SDL Perl Showcase
Friday, 12 March 2010
Tags: [EyeCandy] [Perl] [SDL Perl] [Showcase]

SDL_Mixer and Effects

[more]

\ No newline at end of file diff --git a/pages/tags-Surface.html-inc b/pages/tags-Surface.html-inc index 00ebaaa..5c2b84a 100644 --- a/pages/tags-Surface.html-inc +++ b/pages/tags-Surface.html-inc @@ -1 +1 @@ -

Results for tag: Surface

Providing direct memory access to SDL_Surface's pixels
Wednesday, 23 June 2010
Tags: [Pack] [Perl] [SDL] [Surface] [XS]
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.
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:
SV * get_pixel32 ( SDL_Surface * surface , int x , int y )
[more]

\ No newline at end of file +

Results for tag: Surface

Providing direct memory access to SDL_Surface's pixels
Wednesday, 23 June 2010
Tags: [Pack] [Perl] [SDL] [Surface] [XS]
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.
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:
SV * get_pixel32 ( SDL_Surface * surface , int x , int y )
[more]

\ No newline at end of file diff --git a/pages/tags-Syntax.html-inc b/pages/tags-Syntax.html-inc index 3952006..4f4767d 100644 --- a/pages/tags-Syntax.html-inc +++ b/pages/tags-Syntax.html-inc @@ -1 +1 @@ -

Results for tag: Syntax

Huge World Maps in less then 100 lines
Friday, 16 July 2010
Tags: [Example] [Perl] [SDL] [Syntax]

Hello folks,
Recently we have been working on making the Perl syntax 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.  The code is at  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  'Simple Games Easy. Complex Games Possible.' 
UPDATE: with some help, and newcomer jtpalmer's help we have added Link
 

--caio yapgh


[more]

\ No newline at end of file +

Results for tag: Syntax

Huge World Maps in less then 100 lines
Friday, 16 July 2010
Tags: [Example] [Perl] [SDL] [Syntax]

Hello folks,
Recently we have been working on making the Perl syntax 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.  The code is at  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  'Simple Games Easy. Complex Games Possible.' 
UPDATE: with some help, and newcomer jtpalmer's help we have added Link
 

--caio yapgh


[more]

\ No newline at end of file diff --git a/pages/tags-TPM.html-inc b/pages/tags-TPM.html-inc index 3d2c655..5d8a72a 100644 --- a/pages/tags-TPM.html-inc +++ b/pages/tags-TPM.html-inc @@ -1 +1 @@ -

Results for tag: TPM

Quick Game for Toronto Perl Mongers
Thursday, 11 February 2010
Tags: [Game] [SDL] [TPM]

Beep ... Boop

[more]

\ No newline at end of file +

Results for tag: TPM

Quick Game for Toronto Perl Mongers
Thursday, 11 February 2010
Tags: [Game] [SDL] [TPM]

Beep ... Boop

[more]

\ No newline at end of file diff --git a/pages/tags-Updates.html-inc b/pages/tags-Updates.html-inc index b4a2d90..13efb13 100644 --- a/pages/tags-Updates.html-inc +++ b/pages/tags-Updates.html-inc @@ -1 +1 @@ -

Results for tag: Updates

Grant Progess Reports 1-3: Sept - Nov
Monday, 22 November 2010
Tags: [Grant] [Perl] [SDL] [Updates]
As you know I have received a TPF grant to write a SDL Perl Manual.


[more]


Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]

Dragged down from the lofty isles,
into the guts and gore of the monster,
[more]

\ No newline at end of file +

Results for tag: Updates

Grant Progess Reports 1-3: Sept - Nov
Monday, 22 November 2010
Tags: [Grant] [Perl] [SDL] [Updates]
As you know I have received a TPF grant to write a SDL Perl Manual.


[more]


Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]

Dragged down from the lofty isles,
into the guts and gore of the monster,
[more]

\ No newline at end of file diff --git a/pages/tags-XS.html-inc b/pages/tags-XS.html-inc index 9690f75..39a8b52 100644 --- a/pages/tags-XS.html-inc +++ b/pages/tags-XS.html-inc @@ -1 +1 @@ -

Results for tag: XS

Providing direct memory access to SDL_Surface's pixels
Wednesday, 23 June 2010
Tags: [Pack] [Perl] [SDL] [Surface] [XS]
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.
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:
SV * get_pixel32 ( SDL_Surface * surface , int x , int y )
[more]


Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]

Dragged down from the lofty isles,
into the guts and gore of the monster,
[more]

\ No newline at end of file +

Results for tag: XS

Providing direct memory access to SDL_Surface's pixels
Wednesday, 23 June 2010
Tags: [Pack] [Perl] [SDL] [Surface] [XS]
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.
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:
SV * get_pixel32 ( SDL_Surface * surface , int x , int y )
[more]


Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]

Dragged down from the lofty isles,
into the guts and gore of the monster,
[more]

\ No newline at end of file diff --git a/pages/tags-index b/pages/tags-index index 5c7598f..fdfe313 100644 --- a/pages/tags-index +++ b/pages/tags-index @@ -1,27 +1,27 @@ -API: blog-0014.html-inc -Building: blog-0010.html-inc,blog-0020.html-inc -Demo: blog-0005.html-inc -Design: blog-0014.html-inc -Docs: blog-0014.html-inc -Example: blog-0009.html-inc -EyeCandy: blog-0002.html-inc,blog-0004.html-inc,blog-0018.html-inc -Frozen Bubble: blog-0015.html-inc,blog-0016.html-inc -GSOC: blog-0017.html-inc -Game: blog-0004.html-inc,blog-0021.html-inc -Grant: blog-0001.html-inc,blog-0003.html-inc -Manual: blog-0003.html-inc -PDL: blog-0011.html-inc -Pack: blog-0012.html-inc -Packaging: blog-0013.html-inc -Perl: blog-0001.html-inc,blog-0002.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-0016.html-inc,blog-0017.html-inc,blog-0018.html-inc,blog-0023.html-inc,blog-0024.html-inc,blog-0025.html-inc -Physics: blog-0005.html-inc -Releases: blog-0002.html-inc,blog-0004.html-inc,blog-0008.html-inc,blog-0020.html-inc,blog-0022.html-inc,blog-0024.html-inc,blog-0025.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-0015.html-inc,blog-0016.html-inc,blog-0017.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-0018.html-inc -SDL Perl EyeCandy: blog-0019.html-inc -Showcase: blog-0007.html-inc,blog-0018.html-inc -Surface: blog-0012.html-inc -Syntax: blog-0009.html-inc -TPM: blog-0021.html-inc -Updates: blog-0001.html-inc,blog-0023.html-inc -XS: blog-0012.html-inc,blog-0023.html-inc +API: blog-0015.html-inc +Building: blog-0011.html-inc,blog-0021.html-inc +Demo: blog-0006.html-inc +Design: blog-0015.html-inc +Docs: blog-0015.html-inc +Example: blog-0010.html-inc +EyeCandy: blog-0003.html-inc,blog-0005.html-inc,blog-0019.html-inc +Frozen Bubble: blog-0016.html-inc,blog-0017.html-inc +GSOC: blog-0018.html-inc +Game: blog-0005.html-inc,blog-0022.html-inc +Grant: blog-0001.html-inc,blog-0002.html-inc,blog-0004.html-inc +Manual: blog-0001.html-inc,blog-0004.html-inc +PDL: blog-0012.html-inc +Pack: blog-0013.html-inc +Packaging: blog-0014.html-inc +Perl: blog-0002.html-inc,blog-0003.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-0016.html-inc,blog-0017.html-inc,blog-0018.html-inc,blog-0019.html-inc,blog-0024.html-inc,blog-0025.html-inc +Physics: blog-0006.html-inc +Releases: blog-0003.html-inc,blog-0005.html-inc,blog-0009.html-inc,blog-0021.html-inc,blog-0023.html-inc,blog-0025.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-0015.html-inc,blog-0016.html-inc,blog-0017.html-inc,blog-0018.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-0019.html-inc +SDL Perl EyeCandy: blog-0020.html-inc +Showcase: blog-0008.html-inc,blog-0019.html-inc +Surface: blog-0013.html-inc +Syntax: blog-0010.html-inc +TPM: blog-0022.html-inc +Updates: blog-0002.html-inc,blog-0024.html-inc +XS: blog-0013.html-inc,blog-0024.html-inc