:video_game: Simple, open-source 2D graphics for everyone
See all changes. View the documentation for this release.
Windows installers for Visual C++ and MinGW are attached here. Note, Simple 2D only supports 64-bit Windows development.
yum
on Fedora and CentOS, pacman
on Arch, zypper
on openSUSE, and apt
on Ubuntu, Debian, and Mint) 🐧See all changes. View the documentation for this release.
Windows installers for Visual C++ and MinGW are attached here. Note, Simple 2D only supports 64-bit Windows development.
Fixes a rendering issue on macOS 10.14 (Mojave) causing a blank window.
Our 1.0 release! 😅
Major changes include:
S2D_SetText()
can now take formatted strings, like printf()
🔤 Thanks @lincoln96 — #87See all changes. View the documentation for this release.
Windows installers for Visual C++ and MinGW are attached here. Note, Simple 2D only supports 64-bit Windows development.
S2D_AddControllerMapping
and S2D_LoadControllerMappingsFromFile
to add controller mapping strings 🎮 Thanks @andrewhavens!See all changes. View the documentation for this release.
Windows installers for Visual C++ and MinGW are attached here. Note, Simple 2D only supports 64-bit Windows development.
S2D_GetDisplayDimensions
to get the primary display's dimensions, even before a window is createdS2D_EXPAND
viewport scaling mode, which is just like S2D_FIXED
, but will actually grow the viewport area (so more content can be seen)See all changes. View the documentation for this release.
Windows installers for Visual C++ and MinGW are attached here. Note, Simple 2D only supports 64-bit Windows development.
See all changes. View the documentation for this release.
Download the Windows installers below for either Visual C++ or MinGW. Note, Simple 2D only supports 64-bit Windows development.
on_key
callback, key
has been moved to the S2D_Event
structureS2D_KEY_DOWN
, S2D_KEY_HELD
, and S2D_KEY_UP
on_mouse
and on_controller
callback now also use the S2D_Event
structureS2D_SetText
See all changes. View the documentation for this release.
Download the Windows installers below for either Visual C++ or MinGW. Note, Simple 2D only supports 64-bit Windows development.
Small release to fix a few lingering things.
S2D_ShowCursor
to control whether mouse cursor is visible over the window.S2D_FIXED
viewport which wasn't being rendered as intended, including mouse position.S2D_KEYDOWN
is now only fired once on key press.CFLAGS
was being overwritten on Linux.See all changes. View the documentation for this release.
Download the Windows installers below for either Visual C++ or MinGW. Note, Simple 2D only supports 64-bit Windows development.
on_key
. Event types now included as a parameter, see new documentation. "Key down" also now represents a single key press (they key goes down), and "key" is for when they key is held down. This is more consistent with other game engines.S2D_PlayMusic
's repeat parameter is now just a simple loop boolean, instead of times repeated.tests/
directory to just test/
, which is a bit more consistent directory structure.w
and h
has been renamed to width
and height
for types with those attributes, just for clarity.See all changes. View the documentation for this release.
Download the Windows installers below for either Visual C++ or MinGW. Note, Simple 2D only supports 64-bit Windows development.