SDL2
Getting Started
Required version: Sponge >=1.0.4
To use SDL2 functions in your Sponge program, import the module at the top of your file:
use sdl2;You can also use an alias:
use sdl2 as graphics;After importing, you can access SDL2 functions using the module name:
sdl2.init();
sdl2.create_window("My App", 800, 600);