This release is packed with new features such as script encrypting and a new font format but also a collection of bug fixes.
On iOS and Android it is now possible to check if another app is installed through the new sys.get_application_info()
method. Applications are identified with package name on Android and an application URL on iOS.
We have added support for BMFonts, just specify a .fnt
file instead of a regular .ttf/.otf
inside your font file. BMFonts can be created in SheoBox, Anglecode BMFont generator or Glyph Designer for example. (Make sure that the font image atlas is placed in the same project directory as the .font
file.)
Note: Font files now count as two resources in the engine. This means if you are currently close to the resource.max_resources
project setting you might need to increase this value if you have a large amount of fonts. There are no performance or memory hit for this but exposed as a convenience so that font textures can be affected by texture profiles just as regular textures/atlases.
New features
- Script files are now encrypted when a project is built
- Added BMFont support (also known as Anglecode Bitmap Fonts)
- Added method to check if an app is installed
sys.get_application_info()
Bug fixes
- Fixed bug where some Android devices got invalid coordinates on touch inputs
- Font files now create real texture resources
- Builds correctly identify
requires
calls in scripts with comments on same row - Fixed bug with the
@render
messagedraw_text
- Fixed bug affecting some distance field fonts
- Fixed bug with FB dialog
suggestions
field not being parsed as a table
ENJOY!