ImagineEngine v0.10.0 Release Notes
Release Date: 2018-04-20 // about 6 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
usinghorizontalAlignment
. - ๐
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
usingevents.clicked
. - You can now observe clicks on a
Camera
usingevents.clicked
. Block
now has a convenience initializer for a single texture (Block(size:texture:)
).- You can now observe when a
Scene
was resized usingevents.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) - You can now construct an animation with JPG textures (by passing