SDL::Deprecated - Log of Deprecated items per release
Core
Major changes to SDLx::Controller.
SDLx::Controller
quit is now stop. Event handlers no longer end run on returning false. Call stop explicitly instead.
quit
stop
run
The first argument to move handlers is the step portion instead of dt. The second argument to move handlers, the t value, is now the third argument.
dt
t
min_t will limit apps to a framerate of 60 by default.
min_t
SDLx::App::loop() is depreceated.
SDLx::App::loop()
Now depends on SDLx::Surface. To get the SDL::Surface, use -surface() >. Alternatively SDLx::Surface::display().
-
get_display is now called SDLx::Surface::display.
get_display
Has drastically changed, and is still volatile.
SDL::App has migrated to SDLx::App namespace. The reason for this is because it is an extenstion and not a 1:1 XS/Constant Module to the c library.
SDL::Game::Rect has migrated to SDLx::Rect namespace. Same reasoning as above.
See "AUTHORS" in SDL.
To install SDL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SDL
CPAN shell
perl -MCPAN -e shell install SDL
For more information on module installation, please visit the detailed CPAN module installation guide.