Simple2d Versions Save

:video_game: Simple, open-source 2D graphics for everyone

v1.2.0

4 years ago
  • ⚡️ 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

5 years ago
  • Install script now supports virtually all Linux package mangers (yum on Fedora and CentOS, pacman on Arch, zypper on openSUSE, and apt 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

5 years ago

Fixes a rendering issue on macOS 10.14 (Mojave) causing a blank window.

v1.0.0

5 years ago

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, like printf() 🔤 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

6 years ago
  • Adds functions S2D_AddControllerMapping and S2D_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

6 years ago
  • 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 like S2D_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

6 years ago
  • Adds iOS and tvOS support :tada:
  • 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

6 years ago
  • 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 the S2D_Event structure
  • Keyboard event types have been renamed to S2D_KEY_DOWN, S2D_KEY_HELD, and S2D_KEY_UP
  • Adds new mouse events, like button presses, scrolling, and movement
  • The on_mouse and on_controller callback now also use the S2D_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

7 years ago

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

7 years ago
  • 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 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.
  • 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.