Thanks to various external contributors for these patches.
Canvaswith pixel size and scale.
Scale.roundToNearestPixelfor aligning things to pixel grid on scaled displays.
Assetsnow looks for higher resolution resource to scale down before looking for a lower resolution resource to scale up.
Input.focussignal which is emitted when app gains and loses focus. Note that on desktop, HTML and other platforms that support window focus, this is different from the enter app being paused and resumed.
Input.getTextnow allows you to pass in the text to use for the
Exec.invokeNextFramewhich allows an action to be queued up that will run on the next frame tick (and only the next frame tick). This also documents that
Exec.invokeLatercan possibly run your action on an OS UI thread when the app is paused and the frame tick is not running.
ImageLayernow references new texture before releasing old one. This avoids freeing and recreating the same texture in certain edge cases.
Input.getTextdialogs are popped up. Previously the user had to tap in the text entry field to show the keyboard.
closemethod for explicitly freeing GPU resources (texture) associated with
Activity.onDestroy. We no longer use the cache directory and the app might be using it for its own purposes.
Canvas.savemethods which were removed in later Android SDK versions.
payloadImage. Note: this is not available on the HTML backend.
isLoadednow only returns true if the image was successfully loaded (not if it failed). This is more likely to be what the caller wants.
touchEnabledwere not actually being honored.
createGradient(back) to Graphics. They’re also available on Canvas, but sometimes you want to create them without having a
Cliphandling different audio formats.
roboipaprofile to archetype project. Makes it easier to build IPAs.
readBytes: buffer was not being flipped.