Les versions Beta ne sont pas autant testées que les versions Stables
Text/SpriteFont range tagging; new examples; new script APIs; performance improvements & more
04 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
This week's beta release has a lot of improvements! First of all there's a new feature to tag ranges in Text and Spritefont objects. In short this means you can use BBcode like "Hello [tag=foo]world[/tag]". This applies the tag "foo" to just the word "world". Then you can do things like detect if the mouse is over that tag (e.g. for a hover highlight), or get the size and position of that tag (e.g. to position another object by it), and more.
This release also includes 5 new examples - 'Box Breaker', 'Collect the pages', 'Snowboard 3D', 'Time travel 3D' and 'Toolbox wheel'. As ever find them in the New section of the Example Browser!
There's also new script APIs that allow loading custom image content in to Sprites, Tiled Backgrounds and Tilemaps, as well as new script APIs for the range tagging feature of Text and SpriteFont; performance improvements for timeline editing and Text objects; a new 'Random' UID numbering mode to work better with source control; and as ever a big batch of bug fixes. Happy testing!
Vous aimez cette parution ?
Faites-le nous savoir avec un pouce haut !
Exécuter r348
Nouveaux ajouts
Text/SpriteFont: 'Has tag at position' condition, 'TagAtPosition' expression
Add 5 new example projects
Text/SpriteFont: expressions to get size and position of tags by index and tag count
Project properties: 'UID numbering' property, allowing a new 'Random' UID numbering mode
Changements
Rename 'Beholder fortress' example project to 'Ancient Watcher fortress'
MobileIAP: deprecate 'Transaction' expression as not currently supported since update
Corrections de bug
Properties Bar: did not refresh container properties after deleting object folder
Platform: 'On landed' incorrectly triggered when hitting ceiling (regression r346)
Properties Bar: could incorrectly show properties after closing project
MobileIAP: did not always trigger 'On purchase failed' correctly
Layout view: possible crash after adding instance to overridden layer
Possible crash closing projects
Eases: deleting a parent folder not properly deleting a custom ease
Timelines: crash duplicating a timeline with nested content
Timeline bar: crash adding property tracks refering to plugin properties (regression r347)
Timeline bar: sometimes clicking on keyframes was not showing corresponding properties in the Properties bar
Timeline bar: crash closing a project while an audio track is still being decoded
Z Order Bar: possible crash moving instances between layers
Amélioration des performances
Layout view: improve performance when timeline editing mode is turned on
Text objects: further improve performance when scaled very small
Scripting updates
Sprite: add replaceCurrentAnimationFrame(blob)
Tiled Background & Tilemap: add replaceImage(blob)
Text/SpriteFont: added hasTagAtPosition(tag, x, y), getTagAtPosition(x, y)
Text/SpriteFont: added getTagPositionAndSize(tag, index), getTagCount(tag)
Partager Construct 3 la parution r348 maintenant