Articles
SDL RC 2.5 decides to play with PDLTuesday, 29 June 2010Tags: [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 pixelsWednesday, 23 June 2010Tags: [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]