We're using an experimental new feature in Chrome (WebCodecs) to support the ability to import animated image formats like GIF and APNG in to Construct 3.
Where it's supported
To use the experiment you will need to use:
- Google Chrome 86+
- Construct 3 r218+
- In stable releases, tick Enable experimental features in Settings
- In beta releases, it's enabled by default
How it works
When the feature is supported, you can import animated image formats (e.g. GIF files) to Construct 3, and it will import each individual animation frame as a separate image. This includes:
- Importing image files to the Animations Editor by any means (open, import files, drag-and-drop etc.), which will import all the animation frames
- Dragging and dropping an image file directly in to the Layout View, which will create a Sprite with a default animation containing all the animation frames
The following animated image formats are currently supported in Chrome:
- GIF (.gif)
- APNG (Animated PNG, .png or .apng)
- Animated WebP (.webp)
- Animated AVIF (.avif, .avifs)
Feedback
Let us know if you have any thoughts about this! You can use this thread for general discussion about the feature. If you find a bug or a crash with it, please file an issue on the issue tracker as usual, following all the guidelines to ensure we can help.