Les versions Beta ne sont pas autant testées que les versions Stables
Lots of updates for JavaScript coding
03 June, 2019 ()
Envoyez-moi un courriel lors de nouvelles parutions
Don't miss out on the latest and greatest new features in Construct 3
Notes
We're making big strides in Construct's support for JavaScript coding. For starters this release includes lots more APIs you can call from your scripts. These will be added to the Scripting reference manual section shortly.
There's also a new Start Page category dedicated to examples using scripting. There's only two examples there at the moment, but we'll be adding more over time. To kick things off there's a version of Ghost Shooter written in pure JavaScript - no events or behaviors used at all - demonstrating how you can fully code games using JavaScript only. There's also an audio example showing how to use the new asset APIs to load, decode and play audio using JavaScript, including an AudioManager class that might come in handy in your own projects.
Code editing has also been upgraded, with a full code editor, syntax highlighting and error highlighting when editing code in event sheets. There's also error highlighting to identify syntax errors in all code editors.
Finally there's a batch of bug fixes. A few are quite significant, especially as we have been making some fairly fundamental changes to the editor recently to help optimise startup. Hopefully things will be working a lot more smoothly with this update.
Vous aimez cette parution ?
Faites-le nous savoir avec un pouce haut !
Exécuter r152
Corrections de bug
Mobile editor crashed on startup (regression in r151)
Runtime not working with worker mode enabled (regression in r151)
Possible error in console on startup in minified exports
Layout view: incorrectly allowed pasting objects from other projects with addons unsupported by current runtime
Event sheet view: possible crash dragging 'Call function' actions
Event sheet view: 'Call function' actions did not update to reflect changes after 'Replace object'
Event sheet view: failing to paste functions between projects could leave invisible function block behind (and could potentially result in a corrupt project)
Export with image deduplication could make Tiled Backgrounds show wrong image
Incorrect icon colors in themes (regression in r150)
Scripting updates
Lots of new APIs to use in scripts
New example category 'Scripting' on Start Page, with 'Ghost shooter code' and 'Audio scripting' examples (more to come)
Full code editor now used for editing code in event sheets
Syntax highlighting for code in event sheets
Error highlighting when editing code in event sheets or files
Updated default script file template, and is now only used for first script
Script files now run after the engine instead of before
Exporting projects using script files now works
Partager Construct 3 la parution r152 maintenant