############################################################################## SDL::App::FPS - base/parent class for frame rate centric SDL/OpenGL apps

This base class can be easy subclassed for your own projects. It is a basic building block for building SDL/OpenGL applications that need a fast framerate with event handling before each frame.

In examples/, there are quite a few examples, including a Mandelbrot Fractal drawing program for your perusal.

Features

This setup allows you to get away without any locking or worry about the simulation code removing and object that is currently drawn or something along these lines.

Check out the examples, they show you how simple it is to use this framework!

Installation

http://bloodgate.com/perl/sdl/sdl_perl.html

SDL_perl 2.0 beta2 (current as I write this) does not work!

tar -xzf SDL-App-FPS-0.18.tar.gz

cpansign -v

perl Makefile.PL

make

make test

        su
        [enter password]
        make install
        exit

Go to the example/ directory and run the example applications for fun. Enjoy!

Usage

Look at the files in t/ (MyFPS.pm and myfpm.t) and the examples for how to use it. Read the documentation with

perldoc SDL::App::FPS

after installing this package.

Please send me test-reports, your experiences with this and your ideas - I love to hear about my work!

Tels <http://bloodgate.com/>