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

PWA installs; WebGPU updates; several additions; loads of bug fixes

20 February, 2024 ()

Envoyez-moi un courriel lors de nouvelles parutions

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

Créer un compte

Notes

It's the start of a new release cycle and we have a huge update for you this week! It's hard to summarise all the changes (see the full list below), but a key highlight is you can now use Progressive web app (PWA) installation with the Browser object. While all web exports from Construct are already PWAs, this allows you to use the same 'Install as app' feature that Construct itself provides, prompting the user to create an icon on their desktop/home screen. It's currently only supported in Chrome and Edge. There's also a new ability to add screenshots in the Project Bar, which is intended for PWA installation: if you add at least one screenshot in both the wide and narrow form factors, you'll get the richer install UI for your PWA.

We've also done a lot of work on the WebGPU renderer. By now we think it is close to complete in terms of having similar features and reliability to WebGL, and soon we may start enabling it by default. While we were working in the rendering engine, we also added a new option for effects to opt-in to direct rendering with 3D objects, which potentially provides new capabilities for 3D shaders. The GPU profiler in the debugger now also includes both the self and total time for layers, which is useful when using sub-layers.

There's loads more, including new additions based on feature requests in all sorts of places, including Find All References, the Timer behavior, and the Touch plugin. We've also added autocomplete for animation frame tags to help make it easier to type them in event sheets. There's an absolute boatload of bug fixes and other changes and improvements, notably including that worker mode is now disabled by default again in Safari due to Safari bugs that cause problems with it. Happy testing!

Vous aimez cette parution ?

Faites-le nous savoir avec un pouce haut !

39
Exécuter r380

Nouvelles fonctionnalités

18 favoris
Browser object: Progressive Web App (PWA) installation

Nouveaux ajouts

13 favoris
New examples 'Chess board designer', 'Classic raycaster', 'Family tree'
9 favoris
Project Bar: 'Screenshot' image purpose under 'Icons & screenshots'
9 favoris
Context menu option for Tilemap instances to open Tilemap bar
15 favoris
Find All References: 'Show ambiguous' setting
13 favoris
Timer behavior: 'Pause/resume all timers' action
13 favoris
Touch: start/end parameter for 'On touched object'
11 favoris
ShadowLight: 'Set light position' action
11 favoris
Sprite: allow passing tag to 'Set repeat-to frame'
13 favoris
Add autocomplete for animation frame tags in relevant Sprite conditions/actions
19 favoris
WebGPU: support for GPU profiling
12 favoris
Debugger: add 'Self time' column to GPU profiler

Changements

8 favoris
Enable WebGPU for Android exports
4 favoris
Android exports: remove 'External storage write' permission, as it is no longer used on Android 11+
7 favoris
SpriteFont: default invalid colors to white
5 favoris
Windows WebView2: update WebView2 SDK to v1.0.2277.86
2 favoris
Disable worker mode in Safari due to Safari bugs

Corrections de bug

5 favoris
Project Bar: possible crash if copying too much data to clipboard
3 favoris
Project Bar: fix a link to the flowcharts section of the manual
4 favoris
Import audio: could not import tagged FLAC files
5 favoris
Properties Bar: did not always correctly apply min/max values
5 favoris
Properties Bar: incorrect initial animation could be shown while editing timelines
7 favoris
Data editor: pasting content from Microsoft Excel produced unwanted results
4 favoris
Text editor: possible crash closing a text file after making changes
3 favoris
Flowcharts: delete options not working as expected in some situations
3 favoris
Timeline bar: give same feedback as Project Bar when opening/closing folders
4 favoris
Timeline bar: ensure adding behaviour/effect properties generates unique subfolder names
4 favoris
Timelines: possible crash pasting timelines
8 favoris
Timelines: Z elevation not previewed correctly in the editor
8 favoris
Hierarchies: parents with a size of 0 where not producing useful results
7 favoris
Hierarchies: arrows sometimes not drawn correctly with global layers
5 favoris
Hierarchies: some hierarchies not restored properly from JSON
4 favoris
Tweens: tween state not restored properly when using 'Set from JSON string'
4 favoris
Tweens: runtime crash restoring value tweens from JSON
5 favoris
Tweens: looping sale tweens producing unexpected results
5 favoris
Tweens & Hierarchies: size/opacity tweens modifying hierarchy instances not restored properly from JSON
6 favoris
Tweens & Hierarchies: angle tweens not producing expected results when modified by mirrored/flipped parent
6 favoris
Tweens & Timelines: loop and ping-pong accumulating error over time
6 favoris
Particles: sometimes not restored properly when loading JSON
6 favoris
Drawing Canvas: possible jittery rendering when viewed in 3D
7 favoris
Improve precision of log10 expression
6 favoris
Background-blending effects did not always render correctly on rotated layer/layout
6 favoris
Mesh distortion with effect did not always render consistently between editor/runtime
6 favoris
'Polka dot' effect dot size could change depending on spritesheet size
8 favoris
WebGPU: possible error rendering effects with some objects
8 favoris
WebGPU: possible incorrect rendering of Particles in some specific circumstances
7 favoris
WebGPU: Lens2 and bumpmapping effects not rendering equivalently to WebGL
7 favoris
WebGPU: ensure swirl effect rotates clockwise
8 favoris
WebGPU: ensure proper handling of device loss

Amélioration des performances

13 favoris
Optimize rendering of 3D objects with certain kinds of effects

Mises à jour du SDK

10 favoris
Effects can now specify "supports-3d-direct-rendering" to skip pre-draw with 3D objects
10 favoris
WebGPU: define f16or32 type for shaders (which is f16 when supported)

Scripting updates

8 favoris
Add IShadowLightInstance.lightX/Y
8 favoris
Add ITimerBehaviorInstance.setAllTimersPaused()
8 favoris
TypeScript: fix type definition of IWorldInstance.effects
8 favoris
Add I3DCameraObjectType.rotateCamera()

Partager Construct 3 la parution r380 maintenant

  • 13 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • Wonderful news on opt-in to direct rendering with 3D objects! This will allow us some interesting effects with 3D shapes and objects.

    We need one more thing for 3d shape fragment lighting.

    Can you please add a varying output to the default vertex shadet, just passing through aPos, so we know the world position of the fragment.

    So please add in webgl2 vertex shader: out highp vec3 pos; and in main(): pos = aPos. Also, please do the equivalent for webgl and webgpu. This will get the frag shader the world coordinates needed for world based frag lighting.

    If the following shader does not use pos, it will allow the shader compiler too compile it away. Even if it does not compile it away, it would seem to have small impact.

    I will also add this to the c3 2024 suggestion platform.

    Thank you for the consideration and great beta release.

  • I love the huge amount of bug fixes and am very intrigued by the direct 3D rendering option!

    • So we have to define it in the addon.json and then should handle the depth writing ourselves (i.e. discard pixels) I guess? Sounds very useful!

      (I always wish there was some temporary documentation for some beta features so it's easier to test)

        • [-] [+]
        • 2
        • Ashley's avatar
        • Ashley
        • Construct Team Founder
        • 2 points
        • *
        • (1 child)

        Add "supports-3d-direct-rendering": true to addon.json and the effect compositor will not force a pre-draw. There could be other cases where it forces a pre-draw though, it depends on the effect.

        Load more comments (1 replies)
  • Thanks a lot for litteraly double-release :)). I appreciate the endless passion and persistence in development.

    • [-] [+]
    • 2
    • tha's avatar
    • tha
    • 2 points
    • *
    • (0 children)

    I love update. this big update. thank you :D

  • Thanks for all the QoL additions! Those really add up.

  • Thank you for so many changes and the on object touch end action! Seeing WebGPU finally arrive on android is awesome too, I‘m excited to see how it performs :)

  • Woah, that's an update and a half! I especially love the DX improvements, please keep 'em coming :)

  • Nice "touch" option.

  • Wohoo \o/ very excited about my PWA install suggestion already getting implemented.

    I didn't even know about the "richer install UI" stuff, looks really good.

  • Huge bugfix batch!