Simple2d

Latest version: v0.0.0

Safety actively analyzes 619504 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.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.](https://github.com/simple2d/simple2d/compare/v0.5.0...v0.5.1)
[View the documentation for this release.](https://github.com/simple2d/simple2d/blob/v0.5.1/README.md)

Download the Windows installers below for either Visual C++ or MinGW. Note, Simple 2D only supports 64-bit Windows development.

0.5.0

- Keyboard now just has a single event callback, `on_key`. Event types now included as a parameter, [see new documentation](https://github.com/simple2d/simple2d/blob/v0.5.0/README.mdkeyboard). "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](https://unity3d.com/learn/tutorials/topics/scripting/getbutton-and-getkey).
- 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](https://www.libsdl.org) to v2.0.5

[See all changes.](https://github.com/simple2d/simple2d/compare/v0.4.1...v0.5.0)
[View the documentation for this release.](https://github.com/simple2d/simple2d/blob/v0.5.0/README.md)

Download the Windows installers below for either Visual C++ or MinGW. Note, Simple 2D only supports 64-bit Windows development.

0.4.1

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

[See all changes.](https://github.com/simple2d/simple2d/compare/v0.4.0...v0.4.1)
[View the documentation for this release.](https://github.com/simple2d/simple2d/blob/v0.4.1/README.md)

Download the Windows installers below for either Visual C++ or MinGW. Note, Simple 2D only supports 64-bit Windows development.

0.4.0

- Now supports Windows! :tada:
- 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.](https://github.com/simple2d/simple2d/compare/v0.3.0...v0.4.0)
[View the documentation for this release.](https://github.com/simple2d/simple2d/blob/v0.4.0/README.md)

Download the Windows installers below for either Visual C++ or MinGW. Note, Simple 2D only supports 64-bit Windows development.

0.3.0

- Adds sprites! Now it's easy to draw a sprite sheet and clip to a single image.
- Adds ability to set the viewport size.
- And many internal improvements.

[See all changes.](https://github.com/simple2d/simple2d/compare/v0.2.1...v0.3.0)
[View the documentation for this release.](https://github.com/simple2d/simple2d/blob/v0.3.0/README.md)

0.2.1

Minor update to add automated unit tests and fix failures reported by them. Public interface is now much more resilient and friendly when handling bad inputs.

[See all changes here.](https://github.com/simple2d/simple2d/compare/v0.2.0...v0.2.1)

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.