Les versions Beta ne sont pas autant testées que les versions Stables

Les versions Beta ne sont pas autant testées que les versions Stables

Tiled background tile randomization; increase free edition scripting limits; new script APIs & more

06 December, 2022 ()

Envoyez-moi un courriel lors de nouvelles parutions

Don't miss out on the latest and greatest new features in Construct Animate

Créer un compte

Notes

This release introduces a useful new feature for Tiled Background! Tile randomization is a new option you can enable that will randomly offset and rotate each tile, while blending the edges to keep a seamless appearance. With the right art style this is a great way to break up repetitive tiling. This option is built-in to the Tiled Background object, and a similar result can be achieved for other kinds of content with the new 'Randomize tiling' effect.

We're also pleased to increase the free edition scripting limits! Previously you could only go up to 75 lines of code (50 as a guest) with the free edition, with further limits on the number of script files and scripts in event sheets. We're now increasing this to 500 lines of code in the project (250 as a guest) with no other limits on number of script files or scripts in event sheets. Construct now has fantastic support for coding which is highly competitive with other tools, and we're excited to allow more people to try out the impressive features and performance of JavaScript coding in Construct with the increased free edition limits.

Other updates include a wide range of new script APIs to set or get pairs of values at once for convenience. For example as well as setting and getting the X and Y positions of instances individually, you can now also use setPosition() and getPosition() to set and get both at the same time. There are also some new options for timelines, tweens and the Animations Editor. The Properties Bar can now autocomplete string instance variable values in a similar way as when typing expressions. And as ever there are some bug fixes!

Vous aimez cette parution ?

Faites-le nous savoir avec un pouce haut !

10
Exécuter r321

Nouvelles fonctionnalités

1 favoris
Tiled Background: tile randomization option to break up repetitive appearance

Nouveaux ajouts

0 favoris
Timelines: option to change Sprite animations via 'Initial animation' property
0 favoris
Tween behaviour: add 'Repeat count' option
0 favoris
Animations editor: option to resize all animations in an object type
0 favoris
New 'Randomize tiling' effect
0 favoris
Project statistics dialog: add total lines of JavaScript code
0 favoris
Account dialog: add allowed lines of JavaScript code when using free edition
0 favoris
Properties Bar: suggest string instance variable property values (similar to expression autocomplete)

Changements

1 favoris
Increase free edition scripting limits to 250 total lines of code in project for guests, or 500 if logged in, with no other restrictions
0 favoris
Layout view: don't show polygons of Sprite instances with disabled collisions

Corrections de bug

0 favoris
Event sheet view: could incorrectly leave behind references to deleted objects if used with a call function expression
0 favoris
Layout View: use project near/far distance, and set minimum/maximum zoom levels accordingly
0 favoris
Expressions dictionary: did not always resize correctly on first show
0 favoris
Tweens: minor error produced by some easing functions (regression r310)
0 favoris
Timelines: runtime crash using 'keyframe reached' conditions (regression r319)
0 favoris
Hierarchies: possible crash when saving a hierarchy that was generated at runtime
0 favoris
Tilemap brush editor: crash setting tiles 45 and 47 of a 47 tile auto tiling brush (regression r320)

Amélioration des performances

0 favoris
Somewhat improve performance of autocomplete in very large projects

Scripting updates

0 favoris
Add IAnimationFrame.getOrigin(), IImageInfo.getSize()
0 favoris
Add ILayer.getScrollPosition(), ILayout.getScrollPosition()
0 favoris
Add ILayout methods setSize(), getSize()
0 favoris
Add IWorldInstance methods setPosition(), getPosition(), setSize(), getSize()
0 favoris
Add IRuntime.getViewportSize()
0 favoris
Add getImageSize() for Sprite & Tiled Background interfaces
0 favoris
Add getTextSize() for Text & Sprite Font interfaces
0 favoris
Add ITiledBackgroundInstance methods setImageOffset(), getImageOffset(), setImageScale(), getImageScale()
0 favoris
Add ITilemapInstance methods getMapSize(), getMapDisplaySize(), getTileSize()
0 favoris
Add IDrawingCanvasInstance method getSurfaceDeviceSize()
0 favoris
Add "repeatCount" to the options available when starting a tween

Partager Construct Animate la parution r321 maintenant

  • 2 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • I was really hoping these free edition increased benefits would include the possibility to use more events. A beginner starting in Construct will not focus all that much on traditional coding (for me at least what stands out in Construct is the amazing event system). As a content creator it really saddens me to always have to tell how limited the free version is for new people who find my tutorials. They are always amazed by Construct, and then flabbergasted by how little they can do with events in the free edition. Since Construct is pretty costy in Brazil, it would be amazing for newcomers to have more to do with events in the free version. Why so many lines of code available with so few events, in a tool that thrives with its event system?

  • Randomized Tiling.. I have no idea how it works. All it did is made my scene blury and ripple while scrolling