Releases: simple2d/simple2d
v1.2.0
- ⚡️ Huge performance improvements using OpenGL 3.3+, by way of batch rendering; specifically, we're seeing ~36x faster triangle draw speed, so we can draw a maximum of 21,840,000 triangles per second at 60 FPS (an increase from 600,000 triangles)
- 🖥 Added build support for BSD, #104 (thanks @compufox!)
- ⚙️ Fixed compiling C++ files, #119 (thanks @tomalakgeretkal!)
- 🔊 Added volume control for sounds and sound mixes, #113 (thanks @tlrasor!)
- 🖼 Fixes an issue with SDL 2.0.10 and macOS 10.15 (Catalina) where the viewport doesn't fill the entire window
- ⬆️ Bumped SDL versions
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.
v1.1.0
- Install script now supports virtually all Linux package mangers (
yum
on Fedora and CentOS,pacman
on Arch,zypper
on openSUSE, andapt
on Ubuntu, Debian, and Mint) 🐧 - Adds the ability to get and set the music volume 🔊
- Adds ability to take a screenshot of the window 📷
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.
v1.0.1
v1.0.0 🎉
Our 1.0 release! 😅
Major changes include:
- Draw circles 🔴
- Texture rotation for images, sprites, and text 🌀
- Set the icon for the window 🖼
- Frames per second now calculated using an exponential moving average 🖥 Thanks @Dolphindalt! — #84
S2D_SetText()
can now take formatted strings, likeprintf()
🔤 Thanks @Lincoln96 — #87- Controller detection, adding, and removing even more reliable 🎮
- Support for installation on Fedora 🐧
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.
v0.9.0
- Adds functions
S2D_AddControllerMapping
andS2D_LoadControllerMappingsFromFile
to add controller mapping strings 🎮 Thanks @andrewhavens! - Controller GUIDs now get logged, helpful for identifying make/model, not just the instance ID
- Adds ability to install Simple 2D on MinGW using the install script (similar to Linux)
- Allows install confirmation prompts to be skipped (good for CIs)
- Now enforces a minimum version of SDL (important for Linux where package managers might be out of date)
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.
v0.8.0
- Controllers axes and buttons are now mapped to names 🎮
- Adds
S2D_GetDisplayDimensions
to get the primary display's dimensions, even before a window is created - Adds a new
S2D_EXPAND
viewport scaling mode, which is just likeS2D_FIXED
, but will actually grow the viewport area (so more content can be seen) - Fixes for Raspbian Stretch (stop moving OpenGL libs around, people!)
- Fixed incorrect viewport size when requested dimensions are not available
- Updates to use latest SDL release
- Other small fixes 🐛
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.
v0.7.0
- Adds iOS and tvOS support 🎉
- Fixes for MSYS2 on Windows
- Minor cleanup
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.
v0.6.0
- Adds line drawing — thanks @killapl!
- Allows for sprite resizing, and maintains scale ratio when clipped
- In the
on_key
callback,key
has been moved to theS2D_Event
structure - Keyboard event types have been renamed to
S2D_KEY_DOWN
,S2D_KEY_HELD
, andS2D_KEY_UP
- Adds new mouse events, like button presses, scrolling, and movement
- The
on_mouse
andon_controller
callback now also use theS2D_Event
structure - Adds support for C++
- Fixed a memory leak in
S2D_SetText
- Fixed an SDL installation issue on the Raspberry Pi
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.
v0.5.1
Small release to fix a few lingering things.
- Adds
S2D_ShowCursor
to control whether mouse cursor is visible over the window. - Fixes an
S2D_FIXED
viewport which wasn't being rendered as intended, including mouse position. - Key repeats are now ignored, that is,
S2D_KEYDOWN
is now only fired once on key press. - Fixes a mistake in the Makefile, where
CFLAGS
was being overwritten on Linux. - Improvements and fixes to tests.
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.
v0.5.0
- Keyboard now just has a single event callback,
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. - Controller callback now has a button "pressed" parameter to indicate whether the button is being pressed in or released.
- Adds a new controller test with visual feedback.
S2D_PlayMusic
's repeat parameter is now just a simple loop boolean, instead of times repeated.- Renamed
tests/
directory to justtest/
, which is a bit more consistent directory structure. w
andh
has been renamed towidth
andheight
for types with those attributes, just for clarity.- Many bug fixes and internal housekeeping.
- Bump SDL to v2.0.5
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.