# Various improvements (component gallery started, image loading optimizations, metadata, more)

**URL:** <https://forum.castle-engine.io/t/various-improvements-component-gallery-started-image-loading-optimizations-metadata-more/258>\
**Category:** News\
**Created:** [November 28, 2020, 7:17pm UTC](https://forum.castle-engine.io/t/various-improvements-component-gallery-started-image-loading-optimizations-metadata-more/258 "2020-11-28T19:17:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)\
**Post date:** [November 28, 2020, 7:17pm UTC](https://forum.castle-engine.io/t/various-improvements-component-gallery-started-image-loading-optimizations-metadata-more/258/1 "2020-11-28T19:17:12Z")

</div>

| [![Zrzut ekranu z 2020-11-28 04-00-17](https://castle-engine.io/wp/wp-content/uploads/2020/11/Zrzut-ekranu-z-2020-11-28-04-00-17-200x117.png)](https://castle-engine.io/wp/wp-content/uploads/2020/11/Zrzut-ekranu-z-2020-11-28-04-00-17.png "Zrzut ekranu z 2020-11-28 04-00-17") |
| [![Zrzut ekranu z 2020-11-28 04-00-24](https://castle-engine.io/wp/wp-content/uploads/2020/11/Zrzut-ekranu-z-2020-11-28-04-00-24-200x117.png)](https://castle-engine.io/wp/wp-content/uploads/2020/11/Zrzut-ekranu-z-2020-11-28-04-00-24.png "Zrzut ekranu z 2020-11-28 04-00-24") |
| [![Zrzut ekranu z 2020-11-28 04-00-12](https://castle-engine.io/wp/wp-content/uploads/2020/11/Zrzut-ekranu-z-2020-11-28-04-00-12-200x117.png)](https://castle-engine.io/wp/wp-content/uploads/2020/11/Zrzut-ekranu-z-2020-11-28-04-00-12.png "Zrzut ekranu z 2020-11-28 04-00-12") |

An unorganized list of new things implemented in _Castle Game Engine_ lately:

1. I started an [important engine example: component\_gallery](https://github.com/castle-engine/castle-engine/tree/master/examples/component_gallery). Right now it’s an extensive demo of [TCastleButton](https://castle-engine.io/apidoc-unstable/html/CastleControls.TCastleButton.html) possibilities. It will be extended with more pages soon.

2. We made significant image loading optimizations. Loading PNG is now much faster on platforms where we don’t use libpng (Android, Switch). Loading JPG is now faster everywhere.

3. We have a new API for getting/setting metadata on X3D nodes, with example in [examples/short\_api\_samples/metadata/](https://github.com/castle-engine/castle-engine/tree/master/examples/short_api_samples/metadata/).

4. We bump our Android API to 29, to satisfy latest Google requirements. Our [Docker images](https://github.com/castle-engine/castle-engine/wiki/Docker) have been updated to contain the appropriate version by default.

5. [AutoSizeToChildren](https://castle-engine.io/apidoc-unstable/html/CastleUIControls.TCastleUserInterface.html#AutoSizeToChildren) reimplemented to be much more flexible, suitable for any anchor.

6. Selecting of dragon in 2D template fixed.
