{"id":5905,"date":"2025-03-18T19:15:25","date_gmt":"2025-03-18T10:15:25","guid":{"rendered":"https:\/\/blog.criware.com\/?p=5905"},"modified":"2025-08-06T17:32:48","modified_gmt":"2025-08-06T08:32:48","slug":"using-sofdec-with-fungus","status":"publish","type":"post","link":"https:\/\/blog.criware.com\/index.php\/2025\/03\/18\/using-sofdec-with-fungus\/","title":{"rendered":"Using Sofdec with Fungus"},"content":{"rendered":"<p>In stealth or action games, an officer often explains the mission before the actual gameplay. Static scenes like this, where interactivity is not required, can be implemented simply by displaying one or more video files.<\/p>\n<p><a href=\"https:\/\/fungusgames.com\/\">Fungus<\/a> is a free, open-source visual scripting tool for interactive storytelling and narrative-driven games in Unity. In this post, we will use Fungus to automatically play a different video during each narrative event. This is a great way to easily implement a mission briefing with Sofdec!<\/p>\n<div style=\"max-width: 700px; margin: 0 auto; margin-bottom: 30px;\">\n<div style=\"width: 800px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-5905-1\" width=\"800\" height=\"448\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/03\/Using-Sofdec-with-Fungus_1.mp4?_=1\" \/><a href=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/03\/Using-Sofdec-with-Fungus_1.mp4\">https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/03\/Using-Sofdec-with-Fungus_1.mp4<\/a><\/video><\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<p>After installing the library within Unity, let&#8217;s create a simple narration within a game scene. By adding the Flowchart and SayDialog objects, we can implement a simple conversation scene.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5908\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/03\/1.png\" alt=\"\" width=\"230\" height=\"281\" style=\"\n    display: block;\n    margin: 0 auto;\n\"\/><\/p>\n<p>For this demo, we will only create two conversation blocks in the FlowChart, Block1 and Block2, as shown in the diagram below, with the following conditions: \u2018Game Started\u2019 and \u2018Message Received\u2019, respectively.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5907\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/03\/2.png\" alt=\"\" width=\"1485\" height=\"544\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/03\/2.png 1485w, https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/03\/2-300x110.png 300w, https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/03\/2-1024x375.png 1024w, https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/03\/2-768x281.png 768w\" sizes=\"auto, (max-width: 1485px) 100vw, 1485px\" \/><\/p>\n<p>Notice parts surrounded by a purple border. In <strong>\u2460<\/strong>, the method of the external script that plays the Sofdec video file is triggered, and in <strong>\u2461<\/strong>, the message sent from the external script at the end of the video playback is received, which causes Block2 to play. In other words, the conversation proceeds as following:<\/p>\n<ul style=\"font-size: 14px;\">\n<li>The conversation event Block 1 starts automatically at the start of the scene.<\/li>\n<li>When the conversation event reaches (A), the playback of the Sofdec video is triggered.<\/li>\n<li>When the Sofdec video finishes, the next conversation event is triggered (B).<\/li>\n<li>The final conversation event in Block2 proceeds.<\/li>\n<\/ul>\n<p>The timing of the conversation events and the videos are synchronized. For A, the process is straightforward as you simply need to trigger the Play() method provided by CriMana, Sofdec\u2019s runtime library. For B, you need a script that will send a message to Fungus once the video has finished playing. For example:<\/p>\n<pre style=\"width: 94%; margin-bottom: 0px; padding-bottom: 40px;\"><code class=\"hljs php\">\r\nvoid Update()\r\n{\r\n    \/\/ If the video has ended\r\n    if (currentStatus == CriWare.CriMana.Player.Status.PlayEnd)\r\n    {\r\n        \/\/ Call the Fungus block\r\n        Flowchart.BroadcastFungusMessage(messageName);\r\n        \/\/ Disable this script to prevent re-execution\r\n        this.enabled = false;\r\n    }\r\n}\r\n<\/code><\/pre>\n<p>In this example, for simplicity, we just monitor the status of the Sofdec player in the Update() function. Once it switches to PlayEnd, a message is sent to the Flowchart of Fungus.<\/p>\n<p>In addition to Fungus, many storytelling\/narration tools developed by third parties are available for Unity. Maybe you are already using one of them. If you can create a similar system, where CRIMana\u2019s playback functions can be called and the tool can receive a signal based on the video playback status, you will be able to synchronize the events and the Sofdec videos, just as we did above.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In stealth or action games, an officer often explains the mission before the actual gameplay. Static scenes like this, where<\/p>\n","protected":false},"author":2,"featured_media":5918,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[6,7,23],"tags":[],"class_list":["post-5905","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sofdec","category-tutorials","category-unity"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"In stealth or action games, an officer often explains the mission before the actual gameplay. Static scenes like this, where interactivity is not required, can be implemented simply by displaying one or more video files. Fungus is a free, open-source visual scripting tool for interactive storytelling and narrative-driven games in Unity. In this post, we\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"criware\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/blog.criware.com\/index.php\/2025\/03\/18\/using-sofdec-with-fungus\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\n\t\t<!-- Google tag (gtag.js) --> <script async src=\"https:\/\/www.googletagmanager.com\/gtag\/js?id=G-3KHVJQ0K75\"><\/script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-3KHVJQ0K75'); <\/script>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"CRI Middleware Blog - Unleash creativity, boost productivity.\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Using Sofdec with Fungus - CRI Middleware Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"In stealth or action games, an officer often explains the mission before the actual gameplay. Static scenes like this, where interactivity is not required, can be implemented simply by displaying one or more video files. Fungus is a free, open-source visual scripting tool for interactive storytelling and narrative-driven games in Unity. In this post, we\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/blog.criware.com\/index.php\/2025\/03\/18\/using-sofdec-with-fungus\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2025-03-18T10:15:25+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-08-06T08:32:48+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Using Sofdec with Fungus - CRI Middleware Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In stealth or action games, an officer often explains the mission before the actual gameplay. Static scenes like this, where interactivity is not required, can be implemented simply by displaying one or more video files. Fungus is a free, open-source visual scripting tool for interactive storytelling and narrative-driven games in Unity. In this post, we\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/18\\\/using-sofdec-with-fungus\\\/#blogposting\",\"name\":\"Using Sofdec with Fungus - CRI Middleware Blog\",\"headline\":\"Using Sofdec with Fungus\",\"author\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/author\\\/crich2_admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/Blog-Picture-20250318-Sofdec-Fungus-1.jpg\",\"width\":800,\"height\":445},\"datePublished\":\"2025-03-18T19:15:25+09:00\",\"dateModified\":\"2025-08-06T17:32:48+09:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/18\\\/using-sofdec-with-fungus\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/18\\\/using-sofdec-with-fungus\\\/#webpage\"},\"articleSection\":\"Sofdec, Tutorials, Unity\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/18\\\/using-sofdec-with-fungus\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.criware.com\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/category\\\/sofdec\\\/#listItem\",\"name\":\"Sofdec\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/category\\\/sofdec\\\/#listItem\",\"position\":2,\"name\":\"Sofdec\",\"item\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/category\\\/sofdec\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/18\\\/using-sofdec-with-fungus\\\/#listItem\",\"name\":\"Using Sofdec with Fungus\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/18\\\/using-sofdec-with-fungus\\\/#listItem\",\"position\":3,\"name\":\"Using Sofdec with Fungus\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/category\\\/sofdec\\\/#listItem\",\"name\":\"Sofdec\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/#organization\",\"name\":\"CRI Middleware Blog\",\"description\":\"Unleash creativity, boost productivity.\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/CRI-Blog_Title-banner_03.png\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/18\\\/using-sofdec-with-fungus\\\/#organizationLogo\",\"width\":262,\"height\":81},\"image\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/18\\\/using-sofdec-with-fungus\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/author\\\/crich2_admin\\\/#author\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/author\\\/crich2_admin\\\/\",\"name\":\"criware\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/18\\\/using-sofdec-with-fungus\\\/#webpage\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/18\\\/using-sofdec-with-fungus\\\/\",\"name\":\"Using Sofdec with Fungus - CRI Middleware Blog\",\"description\":\"In stealth or action games, an officer often explains the mission before the actual gameplay. Static scenes like this, where interactivity is not required, can be implemented simply by displaying one or more video files. Fungus is a free, open-source visual scripting tool for interactive storytelling and narrative-driven games in Unity. In this post, we\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/18\\\/using-sofdec-with-fungus\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/author\\\/crich2_admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/author\\\/crich2_admin\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/Blog-Picture-20250318-Sofdec-Fungus-1.jpg\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/18\\\/using-sofdec-with-fungus\\\/#mainImage\",\"width\":800,\"height\":445},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/18\\\/using-sofdec-with-fungus\\\/#mainImage\"},\"datePublished\":\"2025-03-18T19:15:25+09:00\",\"dateModified\":\"2025-08-06T17:32:48+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/#website\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/\",\"name\":\"CRI Middleware Blog\",\"description\":\"Unleash creativity, boost productivity.\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Using Sofdec with Fungus - CRI Middleware Blog","description":"In stealth or action games, an officer often explains the mission before the actual gameplay. Static scenes like this, where interactivity is not required, can be implemented simply by displaying one or more video files. Fungus is a free, open-source visual scripting tool for interactive storytelling and narrative-driven games in Unity. In this post, we","canonical_url":"https:\/\/blog.criware.com\/index.php\/2025\/03\/18\/using-sofdec-with-fungus\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":"&lt;!-- Google tag (gtag.js) --&gt; &lt;script async src=\"https:\/\/www.googletagmanager.com\/gtag\/js?id=G-3KHVJQ0K75\"&gt;&lt;\/script&gt; &lt;script&gt; window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-3KHVJQ0K75'); &lt;\/script&gt;"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/18\/using-sofdec-with-fungus\/#blogposting","name":"Using Sofdec with Fungus - CRI Middleware Blog","headline":"Using Sofdec with Fungus","author":{"@id":"https:\/\/blog.criware.com\/index.php\/author\/crich2_admin\/#author"},"publisher":{"@id":"https:\/\/blog.criware.com\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/03\/Blog-Picture-20250318-Sofdec-Fungus-1.jpg","width":800,"height":445},"datePublished":"2025-03-18T19:15:25+09:00","dateModified":"2025-08-06T17:32:48+09:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/18\/using-sofdec-with-fungus\/#webpage"},"isPartOf":{"@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/18\/using-sofdec-with-fungus\/#webpage"},"articleSection":"Sofdec, Tutorials, Unity"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/18\/using-sofdec-with-fungus\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/blog.criware.com#listItem","position":1,"name":"Home","item":"https:\/\/blog.criware.com","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.criware.com\/index.php\/category\/sofdec\/#listItem","name":"Sofdec"}},{"@type":"ListItem","@id":"https:\/\/blog.criware.com\/index.php\/category\/sofdec\/#listItem","position":2,"name":"Sofdec","item":"https:\/\/blog.criware.com\/index.php\/category\/sofdec\/","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/18\/using-sofdec-with-fungus\/#listItem","name":"Using Sofdec with Fungus"},"previousItem":{"@type":"ListItem","@id":"https:\/\/blog.criware.com#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/18\/using-sofdec-with-fungus\/#listItem","position":3,"name":"Using Sofdec with Fungus","previousItem":{"@type":"ListItem","@id":"https:\/\/blog.criware.com\/index.php\/category\/sofdec\/#listItem","name":"Sofdec"}}]},{"@type":"Organization","@id":"https:\/\/blog.criware.com\/#organization","name":"CRI Middleware Blog","description":"Unleash creativity, boost productivity.","url":"https:\/\/blog.criware.com\/","logo":{"@type":"ImageObject","url":"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png","@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/18\/using-sofdec-with-fungus\/#organizationLogo","width":262,"height":81},"image":{"@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/18\/using-sofdec-with-fungus\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/blog.criware.com\/index.php\/author\/crich2_admin\/#author","url":"https:\/\/blog.criware.com\/index.php\/author\/crich2_admin\/","name":"criware"},{"@type":"WebPage","@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/18\/using-sofdec-with-fungus\/#webpage","url":"https:\/\/blog.criware.com\/index.php\/2025\/03\/18\/using-sofdec-with-fungus\/","name":"Using Sofdec with Fungus - CRI Middleware Blog","description":"In stealth or action games, an officer often explains the mission before the actual gameplay. Static scenes like this, where interactivity is not required, can be implemented simply by displaying one or more video files. Fungus is a free, open-source visual scripting tool for interactive storytelling and narrative-driven games in Unity. In this post, we","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/blog.criware.com\/#website"},"breadcrumb":{"@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/18\/using-sofdec-with-fungus\/#breadcrumblist"},"author":{"@id":"https:\/\/blog.criware.com\/index.php\/author\/crich2_admin\/#author"},"creator":{"@id":"https:\/\/blog.criware.com\/index.php\/author\/crich2_admin\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/03\/Blog-Picture-20250318-Sofdec-Fungus-1.jpg","@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/18\/using-sofdec-with-fungus\/#mainImage","width":800,"height":445},"primaryImageOfPage":{"@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/18\/using-sofdec-with-fungus\/#mainImage"},"datePublished":"2025-03-18T19:15:25+09:00","dateModified":"2025-08-06T17:32:48+09:00"},{"@type":"WebSite","@id":"https:\/\/blog.criware.com\/#website","url":"https:\/\/blog.criware.com\/","name":"CRI Middleware Blog","description":"Unleash creativity, boost productivity.","inLanguage":"en-GB","publisher":{"@id":"https:\/\/blog.criware.com\/#organization"}}]},"og:locale":"en_GB","og:site_name":"CRI Middleware Blog - Unleash creativity, boost productivity.","og:type":"article","og:title":"Using Sofdec with Fungus - CRI Middleware Blog","og:description":"In stealth or action games, an officer often explains the mission before the actual gameplay. Static scenes like this, where interactivity is not required, can be implemented simply by displaying one or more video files. Fungus is a free, open-source visual scripting tool for interactive storytelling and narrative-driven games in Unity. In this post, we","og:url":"https:\/\/blog.criware.com\/index.php\/2025\/03\/18\/using-sofdec-with-fungus\/","og:image":"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png","og:image:secure_url":"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png","article:published_time":"2025-03-18T10:15:25+00:00","article:modified_time":"2025-08-06T08:32:48+00:00","twitter:card":"summary_large_image","twitter:title":"Using Sofdec with Fungus - CRI Middleware Blog","twitter:description":"In stealth or action games, an officer often explains the mission before the actual gameplay. Static scenes like this, where interactivity is not required, can be implemented simply by displaying one or more video files. Fungus is a free, open-source visual scripting tool for interactive storytelling and narrative-driven games in Unity. In this post, we","twitter:image":"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png"},"aioseo_meta_data":{"post_id":"5905","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2025-03-18 09:11:18","updated":"2025-08-06 08:38:01","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.criware.com\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.criware.com\/index.php\/category\/sofdec\/\" title=\"Sofdec\">Sofdec<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tUsing Sofdec with Fungus\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/blog.criware.com"},{"label":"Sofdec","link":"https:\/\/blog.criware.com\/index.php\/category\/sofdec\/"},{"label":"Using Sofdec with Fungus","link":"https:\/\/blog.criware.com\/index.php\/2025\/03\/18\/using-sofdec-with-fungus\/"}],"_links":{"self":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/5905","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/comments?post=5905"}],"version-history":[{"count":8,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/5905\/revisions"}],"predecessor-version":[{"id":5919,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/5905\/revisions\/5919"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/media\/5918"}],"wp:attachment":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/media?parent=5905"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/categories?post=5905"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/tags?post=5905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}