Skip to content

dsdl2 0.1.0-alpha

Pre-release
Pre-release
Compare
Choose a tag to compare
@avaxar avaxar released this 18 Sep 03:32
· 28 commits to main since this release

The first beta release of the dsdl2 library.

This release wraps most of the base SDL2 library in D utilizing object-oriented programming. The wrapped features include structures such as Point, Rect, FPoint, FRect, Color; utilities such as the clipboard, BlendMode, Palette, PixelFormat, Surface, Window, Texture, Renderer, access to OpenGL, most of Events, keyboard, mouse, and Cursor. This library only depends on bindbc-sdl to expose SDL2 C functions.

ddox documentationadrdox documentation

In the future, I'll plan to implement the rest of events, especially those that are related to joystick input, game controller input, as well as touch input. What is high in my to-do list currently is to wrap essential SDL2 extension libraries (honorably, SDL_image, SDL_ttf, and SDL_mixer). Hopefully, this library can reach functionality and production-ready status in the near future. Please report any issues you may find, and PRs are especially welcome.