ImagineEngine v0.10.0 Release Notes

Release Date: 2018-04-20 // almost 5 years ago
  • This version migrates Imagine Engine to Swift 4.1. To use the engine with Swift 4.0, please keep using version 0.9.0 until you are ready to migrate to Swift 4.1.

    🆕 New APIs

    • Sprite sheet slicing enables you to use only a select part of a sprite sheet for an animation.
    • You can now set the background color of a Block.

    🐛 Bug fixes

    • 🛠 Fixed a BAD_ACCESS crash bug when using Xcode 9.3/Swift 4.1.

    🏗 > View build details and download artifacts on buddybuild:
    🏗 > ImagineEngine (iOS, ImagineEngine-iOS)


Previous changes from v0.9.0

  • New APIs

    • You can now construct an animation with JPG textures (by passing textureFormat: .jpg).
    • You can now set the horizontal alignment mode on a Label using horizontalAlignment.
    • 🔌 Label now supports plugins.
    • 👍 Label can now support multiple lines of text (by @Alex88WH).
    • Label can now be rotated (by @jussi80).
    • Label can now be scaled (by @Loyolny).
    • You can now observe clicks on a Label using events.clicked.
    • You can now observe clicks on a Camera using events.clicked.
    • Block now has a convenience initializer for a single texture (Block(size:texture:)).
    • You can now observe when a Scene was resized using events.resized.
    • You can now check whether an actor is in contact with a given actor or block (by @pablocarmu).

    🛠 Bugfixes

    • 🛠 Fixed a bug that could cause incorrect collision detection when an actor was significantly moved (by @mattiashagstrand).
    • 🛠 Fixed a bug that would cause blocks to render incorrectly on macOS (by @mattiashagstrand).

    🏗 > View build details and download artifacts on buddybuild:
    🏗 > ImagineEngine (iOS, ImagineEngine-iOS)