{"id":756,"date":"2016-09-14T18:51:56","date_gmt":"2016-09-14T18:51:56","guid":{"rendered":"http:\/\/demensdeum.com\/blog\/?p=756"},"modified":"2024-12-16T22:32:50","modified_gmt":"2024-12-16T19:32:50","slug":"flame-steel-engine-game-toolkit-architecture","status":"publish","type":"post","link":"https:\/\/demensdeum.com\/blog\/hi\/2016\/09\/14\/flame-steel-engine-game-toolkit-architecture\/","title":{"rendered":"Flame Steel Engine Game Toolkit Architecture"},"content":{"rendered":"<p>Today I will talk about the architecture of the game development toolkit <strong>Flame Steel Engine Game Toolkit<\/strong>.<br \/><strong>Flame Steel Engine Game Toolkit<\/strong> allows you to create games based on the <strong>Flame Steel Engine<\/strong>:<br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-758\" src=\"https:\/\/demensdeum.com\/blog\/wp-content\/uploads\/2016\/09\/FlameSteelGameToolkitSchematics-1.png\" alt=\"flamesteelgametoolkitschematics\" width=\"662\" height=\"103\" srcset=\"https:\/\/demensdeum.com\/blog\/wp-content\/uploads\/2016\/09\/FlameSteelGameToolkitSchematics-1.png 662w, https:\/\/demensdeum.com\/blog\/wp-content\/uploads\/2016\/09\/FlameSteelGameToolkitSchematics-1-300x47.png 300w\" sizes=\"auto, (max-width: 662px) 100vw, 662px\" \/><\/p>\n<p>All classes of the <strong>Flame Steel Engine<\/strong> engine start with the <strong>FSE<\/strong> prefix (<strong>F<\/strong>lame <strong>S<\/strong>teel <strong>E<\/strong>ngine), and <strong>FSEGT<\/strong> (<strong>F<\/strong>lame <strong>S<\/strong>teel <strong>E<\/strong>ngine <strong>G<\/strong>ame <strong>T<\/strong>oolkit) for the toolkit.<br \/>Game scene, objects, buttons, all these are subclasses of <strong>FSEObject<\/strong> and must be inside the <strong>FSEGTGameData<\/strong> class. Each <strong>FSEObject<\/strong> must <\/strong>implement the <strong>FSESerialize<\/strong> interface, this will allow saving\/loading game data, providing a saving mechanism.<br \/><strong>FSEController<\/strong> class works with objects of the <strong>FSEObject<\/strong> class. The toolkit has a base game scene controller class &#8211; <strong>FSEGTGameSceneController<\/strong>, you can inherit this class to implement your game logic.<br \/><strong>IOSystem<\/strong> is an object of <strong>FSEGTIOSystem<\/strong> interface, this interface contains <strong>FSEGTRenderer<\/strong>, <strong>FSEGTInputController<\/strong>, <strong>FSEGTUIRenderer<\/strong>.<br \/><strong>FSEGTIOSystem<\/strong> must implement a renderer, receive data from the keyboard, joysticks (input devices) and provide rendering of interface elements for the <a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%92%D0%B2%D0%BE%D0%B4-%D0%B2%D1%8B%D0%B2%D0%BE%D0%B4\">input-output system<\/a> of this platform.<br \/>At the moment, a renderer and keyboard controller based on the <a href=\"https:\/\/ru.wikipedia.org\/wiki\/Simple_DirectMedia_Layer\">SDL<\/a> library have been implemented, it is available in the <strong>FSEGTIOSDLSystem<\/strong> class.<\/p>\n<figure id=\"attachment_759\" aria-describedby=\"caption-attachment-759\" style=\"width: 802px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-759\" src=\"https:\/\/demensdeum.com\/blog\/wp-content\/uploads\/2016\/09\/flameSteelEngine.png\" alt=\"Flame Steel Engine Raycaster Demo\" width=\"802\" height=\"625\" srcset=\"https:\/\/demensdeum.com\/blog\/wp-content\/uploads\/2016\/09\/flameSteelEngine.png 802w, https:\/\/demensdeum.com\/blog\/wp-content\/uploads\/2016\/09\/flameSteelEngine-300x234.png 300w, https:\/\/demensdeum.com\/blog\/wp-content\/uploads\/2016\/09\/flameSteelEngine-768x599.png 768w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><figcaption id=\"caption-attachment-759\" class=\"wp-caption-text\">Flame Steel Engine Raycaster Demo<\/figcaption><\/figure>\n<p>Future plans to create an IOSystem based on <a href=\"https:\/\/ru.wikipedia.org\/wiki\/OpenGL\">OpenGL<\/a>, the class will be called <strong>FSEGTIOGLSystem<\/strong>. If you want to create an IOSystem based on any platform, then you need to use the <strong>FSEGTIOSystem<\/strong> interface and implement the <strong>FSEGTRenderer<\/strong> renderer, <strong>FSEGTInputController<\/strong> input controller for this platform.<\/p>\n<p>Source code of Flame Steel Engine, toolkit, game:<br \/><a href=\"https:\/\/github.com\/demensdeum\/FlameSteelCallOfTheDeathMask\">https:\/\/github.com\/demensdeum\/FlameSteelCallOfTheDeathMask<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I will talk about the architecture of the game development toolkit Flame Steel Engine Game Toolkit.Flame Steel Engine Game Toolkit allows you to create games based on the Flame Steel Engine: All classes of the Flame Steel Engine engine start with the FSE prefix (Flame Steel Engine), and FSEGT (Flame Steel Engine Game Toolkit)<a class=\"more-link\" href=\"https:\/\/demensdeum.com\/blog\/hi\/2016\/09\/14\/flame-steel-engine-game-toolkit-architecture\/\">Continue reading <span class=\"screen-reader-text\">&#8220;Flame Steel Engine Game Toolkit Architecture&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[61],"tags":[62],"class_list":["post-756","post","type-post","status-publish","format-standard","hentry","category-techie","tag-flame-steel-engine","entry"],"translation":{"provider":"WPGlobus","version":"3.0.2","language":"hi","enabled_languages":["en","ru","zh","de","fr","ja","pt","hi"],"languages":{"en":{"title":true,"content":true,"excerpt":false},"ru":{"title":true,"content":true,"excerpt":false},"zh":{"title":true,"content":true,"excerpt":false},"de":{"title":true,"content":true,"excerpt":false},"fr":{"title":true,"content":true,"excerpt":false},"ja":{"title":true,"content":true,"excerpt":false},"pt":{"title":true,"content":true,"excerpt":false},"hi":{"title":false,"content":false,"excerpt":false}}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/demensdeum.com\/blog\/hi\/wp-json\/wp\/v2\/posts\/756","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demensdeum.com\/blog\/hi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demensdeum.com\/blog\/hi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/hi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/hi\/wp-json\/wp\/v2\/comments?post=756"}],"version-history":[{"count":14,"href":"https:\/\/demensdeum.com\/blog\/hi\/wp-json\/wp\/v2\/posts\/756\/revisions"}],"predecessor-version":[{"id":4011,"href":"https:\/\/demensdeum.com\/blog\/hi\/wp-json\/wp\/v2\/posts\/756\/revisions\/4011"}],"wp:attachment":[{"href":"https:\/\/demensdeum.com\/blog\/hi\/wp-json\/wp\/v2\/media?parent=756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/hi\/wp-json\/wp\/v2\/categories?post=756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/hi\/wp-json\/wp\/v2\/tags?post=756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}