{"id":1859,"date":"2020-11-28T19:00:13","date_gmt":"2020-11-28T19:00:13","guid":{"rendered":"https:\/\/castle-engine.io\/wp\/?p=1859"},"modified":"2020-11-28T03:08:15","modified_gmt":"2020-11-28T03:08:15","slug":"various-improvements-component-gallery-started-image-loading-optimizations-metadata-more","status":"publish","type":"post","link":"https:\/\/castle-engine.io\/wp\/2020\/11\/28\/various-improvements-component-gallery-started-image-loading-optimizations-metadata-more\/","title":{"rendered":"Various improvements (component gallery started, image loading optimizations, metadata, more)"},"content":{"rendered":"<table class=\"thumbnails thumbnails-align-right\"><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2020\/11\/Zrzut-ekranu-z-2020-11-28-04-00-17.png\"\n             class=\"screenshot\"\n             title=\"Zrzut ekranu z 2020-11-28 04-00-17\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2020\/11\/Zrzut-ekranu-z-2020-11-28-04-00-17-200x117.png\"\n             width=\"200\" height=\"117\" \n            alt=\"Zrzut ekranu z 2020-11-28 04-00-17\"\n          ><\/a><\/td><\/tr><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2020\/11\/Zrzut-ekranu-z-2020-11-28-04-00-24.png\"\n             class=\"screenshot\"\n             title=\"Zrzut ekranu z 2020-11-28 04-00-24\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2020\/11\/Zrzut-ekranu-z-2020-11-28-04-00-24-200x117.png\"\n             width=\"200\" height=\"117\" \n            alt=\"Zrzut ekranu z 2020-11-28 04-00-24\"\n          ><\/a><\/td><\/tr><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2020\/11\/Zrzut-ekranu-z-2020-11-28-04-00-12.png\"\n             class=\"screenshot\"\n             title=\"Zrzut ekranu z 2020-11-28 04-00-12\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2020\/11\/Zrzut-ekranu-z-2020-11-28-04-00-12-200x117.png\"\n             width=\"200\" height=\"117\" \n            alt=\"Zrzut ekranu z 2020-11-28 04-00-12\"\n          ><\/a><\/td><\/tr><\/table>\n<p>An unorganized list of new things implemented in <i>Castle Game Engine<\/i> lately:<\/p>\n<ol>\n<li>\n<p>I started an <a href=\"https:\/\/github.com\/castle-engine\/castle-engine\/tree\/master\/examples\/component_gallery\">important engine example: component_gallery<\/a>. Right now it&#8217;s an extensive demo of <a href=\"https:\/\/castle-engine.io\/apidoc-unstable\/html\/CastleControls.TCastleButton.html\">TCastleButton<\/a> possibilities. It will be extended with more pages soon.<\/p>\n<li>\n<p>We made significant image loading optimizations. Loading PNG is now much faster on platforms where we don&#8217;t use libpng (Android, Switch). Loading JPG is now faster everywhere.<\/p>\n<li>\n<p>We have a new API for getting\/setting metadata on X3D nodes, with example in <a href=\"https:\/\/github.com\/castle-engine\/castle-engine\/tree\/master\/examples\/short_api_samples\/metadata\/\">examples\/short_api_samples\/metadata\/<\/a>.<\/p>\n<li>\n<p>We bump our Android API to 29, to satisfy latest Google requirements. Our <a href=\"https:\/\/github.com\/castle-engine\/castle-engine\/wiki\/Docker\">Docker images<\/a> have been updated to contain the appropriate version by default.<\/p>\n<li>\n<p><a href=\"https:\/\/castle-engine.io\/apidoc-unstable\/html\/CastleUIControls.TCastleUserInterface.html#AutoSizeToChildren\">AutoSizeToChildren<\/a> reimplemented to be much more flexible, suitable for any anchor.<\/p>\n<li>\n<p>Selecting of dragon in 2D template fixed.\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>An unorganized list of new things implemented in Castle Game Engine lately: I started an important engine example: component_gallery. Right now it&#8217;s an extensive demo of TCastleButton possibilities. It will be extended with more pages soon. We made significant image loading optimizations. Loading PNG is now much faster on platforms where we don&#8217;t use libpng &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/castle-engine.io\/wp\/2020\/11\/28\/various-improvements-component-gallery-started-image-loading-optimizations-metadata-more\/\" class=\"more-link\">Continue reading  \u27a4<span class=\"screen-reader-text\"> &#8220;Various improvements (component gallery started, image loading optimizations, metadata, more)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1862,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"publish_to_discourse":"1","publish_post_category":"9","wpdc_auto_publish_overridden":"","wpdc_topic_tags":"","wpdc_pin_topic":"","wpdc_pin_until":"","discourse_post_id":"729","discourse_permalink":"https:\/\/forum.castle-engine.io\/t\/various-improvements-component-gallery-started-image-loading-optimizations-metadata-more\/258","wpdc_publishing_response":"","wpdc_publishing_error":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-1859","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2020\/11\/Zrzut-ekranu-z-2020-11-28-04-00-17.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9IgYW-tZ","jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/posts\/1859","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/comments?post=1859"}],"version-history":[{"count":5,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/posts\/1859\/revisions"}],"predecessor-version":[{"id":1867,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/posts\/1859\/revisions\/1867"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/media\/1862"}],"wp:attachment":[{"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/media?parent=1859"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/categories?post=1859"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/tags?post=1859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}