{"id":729,"date":"2018-09-01T05:27:24","date_gmt":"2018-09-01T05:27:24","guid":{"rendered":"https:\/\/castle-engine.io\/wp\/?p=729"},"modified":"2018-09-01T06:22:25","modified_gmt":"2018-09-01T06:22:25","slug":"castle-game-engine-editor","status":"publish","type":"post","link":"https:\/\/castle-engine.io\/wp\/2018\/09\/01\/castle-game-engine-editor\/","title":{"rendered":"Castle Game Engine Editor!"},"content":{"rendered":"<table class=\"thumbnails thumbnails-align-right\"><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/Screenshot-of-selection-at-2018-09-01-024605.png\"\n             class=\"screenshot\"\n             title=\"Screenshot of selection at 2018-09-01 02:46:05\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/Screenshot-of-selection-at-2018-09-01-024605-200x212.png\"\n             width=\"200\" height=\"212\" \n            alt=\"Screenshot of selection at 2018-09-01 02:46:05\"\n          ><\/a><\/td><\/tr><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/Screenshot-of-selection-at-2018-09-01-024615.png\"\n             class=\"screenshot\"\n             title=\"Screenshot of selection at 2018-09-01 02:46:15\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/Screenshot-of-selection-at-2018-09-01-024615-200x115.png\"\n             width=\"200\" height=\"115\" \n            alt=\"Screenshot of selection at 2018-09-01 02:46:15\"\n          ><\/a><\/td><\/tr><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/menu_1.png\"\n             class=\"screenshot\"\n             title=\"menu_1\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/menu_1-200x184.png\"\n             width=\"200\" height=\"184\" \n            alt=\"menu_1\"\n          ><\/a><\/td><\/tr><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/menu_2.png\"\n             class=\"screenshot\"\n             title=\"menu_2\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/menu_2-200x157.png\"\n             width=\"200\" height=\"157\" \n            alt=\"menu_2\"\n          ><\/a><\/td><\/tr><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/Screenshot-of-selection-at-2018-09-01-064056.png\"\n             class=\"screenshot\"\n             title=\"Screenshot of selection at 2018-09-01 06:40:56\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/Screenshot-of-selection-at-2018-09-01-064056-200x104.png\"\n             width=\"200\" height=\"104\" \n            alt=\"Screenshot of selection at 2018-09-01 06:40:56\"\n          ><\/a><\/td><\/tr><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/Screenshot-of-selection-at-2018-09-01-064127.png\"\n             class=\"screenshot\"\n             title=\"Screenshot of selection at 2018-09-01 06:41:27\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/Screenshot-of-selection-at-2018-09-01-064127-200x104.png\"\n             width=\"200\" height=\"104\" \n            alt=\"Screenshot of selection at 2018-09-01 06:41:27\"\n          ><\/a><\/td><\/tr><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/Screenshot-of-selection-at-2018-09-01-064159.png\"\n             class=\"screenshot\"\n             title=\"Screenshot of selection at 2018-09-01 06:41:59\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/Screenshot-of-selection-at-2018-09-01-064159-200x104.png\"\n             width=\"200\" height=\"104\" \n            alt=\"Screenshot of selection at 2018-09-01 06:41:59\"\n          ><\/a><\/td><\/tr><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/Screenshot-of-selection-at-2018-09-01-064327.png\"\n             class=\"screenshot\"\n             title=\"Screenshot of selection at 2018-09-01 06:43:27\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/Screenshot-of-selection-at-2018-09-01-064327-200x104.png\"\n             width=\"200\" height=\"104\" \n            alt=\"Screenshot of selection at 2018-09-01 06:43:27\"\n          ><\/a><\/td><\/tr><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/Screenshot-of-selection-at-2018-09-01-064348.png\"\n             class=\"screenshot\"\n             title=\"Screenshot of selection at 2018-09-01 06:43:48\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/Screenshot-of-selection-at-2018-09-01-064348-200x116.png\"\n             width=\"200\" height=\"116\" \n            alt=\"Screenshot of selection at 2018-09-01 06:43:48\"\n          ><\/a><\/td><\/tr><tr><td>\n          <a href=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/Screenshot-of-selection-at-2018-09-01-064356.png\"\n             class=\"screenshot\"\n             title=\"Screenshot of selection at 2018-09-01 06:43:56\"><img loading=\"lazy\" decoding=\"async\"\n            style=\"float: right\"\n            src=\"https:\/\/castle-engine.io\/wp\/wp-content\/uploads\/2018\/09\/Screenshot-of-selection-at-2018-09-01-064356-200x116.png\"\n             width=\"200\" height=\"116\" \n            alt=\"Screenshot of selection at 2018-09-01 06:43:56\"\n          ><\/a><\/td><\/tr><\/table>\n<p>I&#8217;m proud to present first public screenshots from the upcoming Castle Game Engine Editor!<\/p>\n<p>The goal of the editor is to allow you to manage CGE projects (create, build, run&#8230;), visually design hierarchies (of user interface controls and 3D\/2D models) and browse project assets. Yeah, just like those other big game engines:)<\/p>\n<p>A more precise list of features is <a href=\"https:\/\/github.com\/castle-engine\/castle-engine\/blob\/master\/tools\/castle-editor\/README.md\">in the README at the editor source code<\/a>. And this is all following my <a href=\"https:\/\/castle-engine.io\/wp\/2017\/12\/23\/plans-6-4-release-asap-visual-editor-soon-2018-roadmap\/\">plan for editor in 2018<\/a>.<\/p>\n<p>What does actually work <i>now<\/i>?<\/p>\n<ul>\n<li>You can create a project from a template, or open an existing project. Project is just any directory with <a href=\"https:\/\/github.com\/castle-engine\/castle-engine\/wiki\/CastleEngineManifest.xml-examples\">CastleEngineManifest.xml<\/a> file.\n<li>\n<p>You can compile \/ run \/ package \/ generate textures and do other usual operations on the project. The output, like compilation output, as well as program log (regardless of the OS) is displayed at the bottom. The editor calls the <a href=\"https:\/\/github.com\/castle-engine\/castle-engine\/wiki\/Build-Tool\">build tool<\/a> for these operations, which in turn calls FPC and other tools.<\/p>\n<li>\n<p>You can open and save a designed user interface (anything descending from <code>TCastleUserInterface<\/code>, formerly <code>TUIControl<\/code>) and 3D\/2D game models (anything descending from <code>TCastleTransform<\/code>). They are serialized using Pascal RTTI (JSON format produced by FpJsonRtti). The editor, as well as your own game, use <a href=\"https:\/\/castle-engine.io\/apidoc-unstable\/html\/CastleComponentSerialize.html\">CastleComponentSerialize<\/a> unit to do this. The files have extensions <code>.castle-user-interface<\/code> or <code>.castle-transform<\/code> and can be loaded with functions <code>UserInterfaceLoad<\/code> or <code>TransformLoad<\/code>.<\/p>\n<li>\n<p>You can edit the published properties of the selected component using the object inspector on the right. It&#8217;s all updated &#8220;live&#8221; in the middle window of course. If you save the edited file, and run the project, you will see that it&#8217;s actually using a new design.<\/p>\n<li>\n<p>See the screenshots for the initial stuff:)\n<\/ul>\n<p>Of course, many things are missing now, including some crucial things to make it actually useful for real applications. E.g. dropping new components on the design is not yet implemented. And dragging the UI controls, and TCastleTransform, visually (in the 3D window) is not possible yet. Well, there&#8217;s work ahead!<\/p>\n<p>I&#8217;m really pleased with the result so far \ud83d\ude42 P.S. If you like what I do, <a href=\"https:\/\/www.patreon.com\/castleengine\">please consider donating<\/a> to help in the development of the engine. Thank you!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m proud to present first public screenshots from the upcoming Castle Game Engine Editor! The goal of the editor is to allow you to manage CGE projects (create, build, run&#8230;), visually design hierarchies (of user interface controls and 3D\/2D models) and browse project assets. Yeah, just like those other big game engines:) A more precise &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/castle-engine.io\/wp\/2018\/09\/01\/castle-game-engine-editor\/\" class=\"more-link\">Continue reading  \u27a4<span class=\"screen-reader-text\"> &#8220;Castle Game Engine Editor!&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":735,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"publish_to_discourse":"","publish_post_category":"","wpdc_auto_publish_overridden":"","wpdc_topic_tags":"","wpdc_pin_topic":"","wpdc_pin_until":"","discourse_post_id":"","discourse_permalink":"","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-729","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\/2018\/09\/Screenshot-of-selection-at-2018-09-01-064127.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9IgYW-bL","jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/posts\/729","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=729"}],"version-history":[{"count":8,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/posts\/729\/revisions"}],"predecessor-version":[{"id":747,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/posts\/729\/revisions\/747"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/media\/735"}],"wp:attachment":[{"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/media?parent=729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/categories?post=729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/castle-engine.io\/wp\/wp-json\/wp\/v2\/tags?post=729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}