@blacktm blacktm released this Sep 20, 2018

Assets 5

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.

@blacktm blacktm released this Jan 30, 2018

Assets 5
  • 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.

@blacktm blacktm released this Dec 12, 2017

Assets 5
  • 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.

@blacktm blacktm released this Sep 19, 2017

Assets 5
  • 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.

@blacktm blacktm released this Jun 4, 2017

Assets 4
  • 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.

@blacktm blacktm released this Mar 8, 2017

Assets 4

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.

@blacktm blacktm released this Jan 10, 2017

Assets 4
  • 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.

@blacktm blacktm released this Oct 8, 2016 · 105 commits to master since this release

Assets 4

Bug fixes, namely resolves an issue preventing textures from being rendered in OpenGL ES. Also other internal improvements.

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.

@blacktm blacktm released this Sep 15, 2016 · 128 commits to master since this release

Assets 4
  • Now supports Windows! ๐ŸŽ‰
  • Adds on_key_up input callback function for when a key is released
  • Updates on_controller callback to distinguish which controller or joystick was used
  • Adds brew install --HEAD simple2d to install the very latest changes from the master development branch
  • Better support for all ARM platforms (not just Raspberry Pi), including proper configuring and compiling SDL from source when using the install script

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.