SFML - Perl extension that enables the use of the SFML multimedia library.
use SFML::Window; my $window = new SFML::Window::Window(new SFML::Window::VideoMode(800, 600), "perl-sfml"); my $event = new SFML::Window::Event; while ($window->isOpen) { while ($window->pollEvent($event)) { if ($event->type == SFML::Window::Event::Closed) { $window->close; } } $window->display; }
SFML is a free multimedia C++ API that provides you low and high level access to graphics, input, audio, etc. The SFML is that, but with Perl!
None by default.
www.sfml-dev.org
github.com/jakeanq/perl-sfml/
Jake Bott, <jakeanq@gmail.com> Georgiy Tugai <georgiy.tugai@gmail.com>
Please report bugs related to the SFML bindings here:
https://github.com/jakeanq/perl-sfml/issues
Note that this is not for bugs in the Alien::SFML module or the SFML library. For those, see the module and library homepages:
https://github.com/jakeanq/perl-alien-sfml/
http://www.sfml-dev.org/
Note that I do not maintain SFML itself, only the SFML module and Alien::SFML. For that, see the above website (the sfml-dev one, not the github one)
See the LICENCE file that should have been included with this
############################################ # Copyright 2013 Jake Bott, Georgiy Tugai. # #=>--------------------------------------<=# # All Rights Reserved. Part of perl-sfml # ############################################
To install SFML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SFML
CPAN shell
perl -MCPAN -e shell install SFML
For more information on module installation, please visit the detailed CPAN module installation guide.