Les versions Beta ne sont pas autant testées que les versions Stables
Internationalization plugin; icons in text; animation frame tags & more
18 July, 2023 ()
Envoyez-moi un courriel lors de nouvelles parutions
Don't miss out on the latest and greatest new features in Construct 3
Notes
It's the start of a new release cycle and we have an exciting beta release for you this week! First up we have an all-new Internationalization plugin. This provides tools to help translate your project by switching between different sets of strings for different languages, including pluralisation support and loading languages from JSON files. It also has localization features such as formatting numbers and currencies, handling measurement units, and displaying language and region names, for specific locales. The Date plugin has also been extended with locale-specific date formatting. See the new Internationalization example for a demonstration!
Next there's now also support for showing icons in text! You can now choose a Sprite object in the Text object's new Icon set property. Each animation frame of the chosen Sprite is treated as a separate icon. These icons can be referred to by their animation frame index, or by the new animation frame tag feature also added in this release, e.g. [icon=0] or [icon=myicon]. See the new Icons in text example for a demonstration. For advanced uses there's even support for adjusting the vertical alignment of icons, and converting the entire text including icons in to HTML for display in the HTML Element object.
There's a few bug fixes in this release as well, and script APIs for the new features too. Happy testing!
Please note: due to staff time off there will not be a beta release next week (24-28th July). The next beta release will be the following week (31st July-4th August).
Vous aimez cette parution ?
Faites-le nous savoir avec un pouce haut !
Exécuter r351
Nouvelles fonctionnalités
Internationalization plugin
Text object: show icons in text
Nouveaux ajouts
New examples 'Icons in text' and 'Internationalization'
Sprite: 'Tag' property for animation frames
Sprite: 'AnimationFrameTag' expression; 'Compare frame tag' condition
Text: new 'iconoffsety' BBcode tag
Text: allow using percentage sizes for offset BBcode tags
Text: add 'Update HTML' action; 'AsHTML' expression
Date plugin: new localization expressions 'FormatDateWithStyles', 'FormatDateWithComponents'
Corrections de bug
Event sheet variables did not always handle quote characters properly
Find all references: did not always show disabled results with strikethrough
Find all references: possible crash navigating to plugin result
Possible folder-based project corruption after reordering function parameters
Scripting updates
Add ITextInstance.changeIconSet()
Add ITextInstance.getAsHtmlString()
Partager Construct 3 la parution r351 maintenant