NAME

SDL::Deprecated - Log of Deprecated items per release

CATEGORY

Core

RELEASES

2.xxx

SDLx::App had a full rewrite and SDLx::Controller was updated.

SDLx::App

Shortcut aliases in the constructor have been changed and removed. The main ones people use are still there like w, h and d. These lesser used ones no longer work: t, it, i, s, ab, db, bs, st, asyncblit.

warp was renamed to warp_cursor, but this method wasn't documented before anyway.

All OpenGL parameters for the constructor now have a gl_ prefix. These were never documented, so they're not listed here.

The OpenGL method attribute is now called gl_attribute.

delay has been removed and replaced with SDLx::Controller's sleep. ticks has been deprecated, but left in for backcompat.

SDLx::Controller

The eoq parameter and method have been removed. The exit on quit (stop on quit) action is now enabled by default. The stop_handler parameter and method are now used to change and disable the quit action of the app.

max_t will now slow the application down if it runs at less than 10 FPS, by default.

2.517

Major changes to SDLx::Controller.

quit is now stop. Event handlers no longer end run on returning false. Call stop explicitly instead.

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.

min_t will limit apps to a framerate of 60 by default.

2.513

SDLx::App

SDLx::App::loop() is deprecated.

2.502

SDLx::App

Now depends on SDLx::Surface. To get the SDL::Surface, use -surface() >. Alternatively SDLx::Surface::display().

SDLx::Surface

get_display is now called SDLx::Surface::display.

SDLx::Sprite::Animated

Has drastically changed, and is still volatile.

2.500

SDL::App

SDL::App has migrated to SDLx::App namespace. The reason for this is because it is an extension and not a 1:1 XS/Constant Module to the c library.

SDL::Game::Rect

SDL::Game::Rect has migrated to SDLx::Rect namespace. Same reasoning as above.

AUTHORS

See "AUTHORS" in SDL.