<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by BlueBubbleBee on Medium]]></title>
        <description><![CDATA[Stories by BlueBubbleBee on Medium]]></description>
        <link>https://medium.com/@bluebubblebee?source=rss-92eea2a587b6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*OG0PNNVOIxi_3PG2SkGBug.png</url>
            <title>Stories by BlueBubbleBee on Medium</title>
            <link>https://medium.com/@bluebubblebee?source=rss-92eea2a587b6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 19:25:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bluebubblebee/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Creating a subsystem to load/save games in Unreal Engine 5 with C++]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://bluebubblebee.medium.com/creating-a-subsystem-to-load-save-games-in-unreal-engine-5-with-c-7d8bb46ce43a?source=rss-92eea2a587b6------2"><img src="https://cdn-images-1.medium.com/max/1280/1*aFHon_f2Lv5NtReTG_g9vA.png" width="1280"></a></p><p class="medium-feed-snippet">In this tutorial, we will create a simple subsystem to handle saving and loading games.</p><p class="medium-feed-link"><a href="https://bluebubblebee.medium.com/creating-a-subsystem-to-load-save-games-in-unreal-engine-5-with-c-7d8bb46ce43a?source=rss-92eea2a587b6------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://bluebubblebee.medium.com/creating-a-subsystem-to-load-save-games-in-unreal-engine-5-with-c-7d8bb46ce43a?source=rss-92eea2a587b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d8bb46ce43a</guid>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[unreal-engine-5]]></category>
            <dc:creator><![CDATA[BlueBubbleBee]]></dc:creator>
            <pubDate>Sun, 05 Jan 2025 09:45:30 GMT</pubDate>
            <atom:updated>2025-01-05T09:45:30.837Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How to create tools with Editor Utility Widget in Unreal Engine 5]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://bluebubblebee.medium.com/how-to-create-tools-with-editor-utility-widget-in-unreal-engine-5-fc55fc4aabd5?source=rss-92eea2a587b6------2"><img src="https://cdn-images-1.medium.com/max/1280/1*yU98-CxPObTtad5lrTgINA.png" width="1280"></a></p><p class="medium-feed-snippet">Creating tools can be incredibly handy for automating tasks and is something we shouldn&#x2019;t dismiss.</p><p class="medium-feed-link"><a href="https://bluebubblebee.medium.com/how-to-create-tools-with-editor-utility-widget-in-unreal-engine-5-fc55fc4aabd5?source=rss-92eea2a587b6------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://bluebubblebee.medium.com/how-to-create-tools-with-editor-utility-widget-in-unreal-engine-5-fc55fc4aabd5?source=rss-92eea2a587b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc55fc4aabd5</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[unreal-engine-5]]></category>
            <category><![CDATA[tooling]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[indiedev]]></category>
            <dc:creator><![CDATA[BlueBubbleBee]]></dc:creator>
            <pubDate>Sun, 03 Mar 2024 13:01:40 GMT</pubDate>
            <atom:updated>2024-03-03T13:01:40.914Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Post-mortem: Kitori Academy Kickstarter]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/geekculture/post-mortem-kitori-academy-kickstarter-37bb0bb0af12?source=rss-92eea2a587b6------2"><img src="https://cdn-images-1.medium.com/max/1920/1*Jx6pszlIfrbiZQz692fopA.png" width="1920"></a></p><p class="medium-feed-snippet">What I&#x2019;ve learnt after 2 years working on Kitori Academy, our second game.</p><p class="medium-feed-link"><a href="https://medium.com/geekculture/post-mortem-kitori-academy-kickstarter-37bb0bb0af12?source=rss-92eea2a587b6------2">Continue reading on Geek Culture »</a></p></div>]]></description>
            <link>https://medium.com/geekculture/post-mortem-kitori-academy-kickstarter-37bb0bb0af12?source=rss-92eea2a587b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/37bb0bb0af12</guid>
            <category><![CDATA[indie-game]]></category>
            <category><![CDATA[crowdfunding]]></category>
            <category><![CDATA[games]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[kickstarter]]></category>
            <dc:creator><![CDATA[BlueBubbleBee]]></dc:creator>
            <pubDate>Mon, 11 Jul 2022 13:17:45 GMT</pubDate>
            <atom:updated>2022-07-15T07:34:36.119Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Let’s create a pet follower in in UE4]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/geekculture/lets-create-a-pet-follower-in-in-ue4-b9ae6b68721a?source=rss-92eea2a587b6------2"><img src="https://cdn-images-1.medium.com/max/1280/1*qPqm-fsfL-FWdZfkf4Kyrg.png" width="1280"></a></p><p class="medium-feed-snippet">Little pet that follows you around using C++ and not using the navmesh</p><p class="medium-feed-link"><a href="https://medium.com/geekculture/lets-create-a-pet-follower-in-in-ue4-b9ae6b68721a?source=rss-92eea2a587b6------2">Continue reading on Geek Culture »</a></p></div>]]></description>
            <link>https://medium.com/geekculture/lets-create-a-pet-follower-in-in-ue4-b9ae6b68721a?source=rss-92eea2a587b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/b9ae6b68721a</guid>
            <category><![CDATA[game-design]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[unreal-engine-4]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[BlueBubbleBee]]></dc:creator>
            <pubDate>Tue, 06 Jul 2021 13:01:13 GMT</pubDate>
            <atom:updated>2021-07-06T13:01:13.867Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Let’s create an equipment inventory in UE4]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/geekculture/lets-create-an-equipment-inventory-in-ue4-456c79aa1247?source=rss-92eea2a587b6------2"><img src="https://cdn-images-1.medium.com/max/1280/1*J7kMrZk4Q06FWzIpYgi4cg.png" width="1280"></a></p><p class="medium-feed-snippet">Equip and unequip items that a player can grab on the map using Blueprints and C++</p><p class="medium-feed-link"><a href="https://medium.com/geekculture/lets-create-an-equipment-inventory-in-ue4-456c79aa1247?source=rss-92eea2a587b6------2">Continue reading on Geek Culture »</a></p></div>]]></description>
            <link>https://medium.com/geekculture/lets-create-an-equipment-inventory-in-ue4-456c79aa1247?source=rss-92eea2a587b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/456c79aa1247</guid>
            <category><![CDATA[unreal-engine-4]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[c-programming]]></category>
            <dc:creator><![CDATA[BlueBubbleBee]]></dc:creator>
            <pubDate>Fri, 04 Jun 2021 06:36:51 GMT</pubDate>
            <atom:updated>2021-06-04T11:05:25.795Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Let’s create a save system in Unreal Engine 4]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://bluebubblebee.medium.com/lets-create-a-save-system-in-unreal-engine-4-276a24e66b2c?source=rss-92eea2a587b6------2"><img src="https://cdn-images-1.medium.com/max/1280/1*7OzOO9pM-3LEeHdQHCfgaQ.png" width="1280"></a></p><p class="medium-feed-snippet">Save and load your game in UE4 using C++ and Blueprints</p><p class="medium-feed-link"><a href="https://bluebubblebee.medium.com/lets-create-a-save-system-in-unreal-engine-4-276a24e66b2c?source=rss-92eea2a587b6------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://bluebubblebee.medium.com/lets-create-a-save-system-in-unreal-engine-4-276a24e66b2c?source=rss-92eea2a587b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/276a24e66b2c</guid>
            <category><![CDATA[indie-game]]></category>
            <category><![CDATA[unreal-engine]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[BlueBubbleBee]]></dc:creator>
            <pubDate>Wed, 28 Apr 2021 16:40:17 GMT</pubDate>
            <atom:updated>2021-04-28T16:40:17.069Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[[REVIEW]The positive effects of Digital Conventions for small indie developers]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/game-dev-journal/the-positive-effects-of-digital-conventions-for-small-indie-developers-c06e7ed66230?source=rss-92eea2a587b6------2"><img src="https://cdn-images-1.medium.com/max/616/1*RxUg7K2CI5MxMGRX5J2LWA.png" width="616"></a></p><p class="medium-feed-snippet">And the wishlist outcome</p><p class="medium-feed-link"><a href="https://medium.com/game-dev-journal/the-positive-effects-of-digital-conventions-for-small-indie-developers-c06e7ed66230?source=rss-92eea2a587b6------2">Continue reading on Games Development Journal »</a></p></div>]]></description>
            <link>https://medium.com/game-dev-journal/the-positive-effects-of-digital-conventions-for-small-indie-developers-c06e7ed66230?source=rss-92eea2a587b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/c06e7ed66230</guid>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[community]]></category>
            <category><![CDATA[steam]]></category>
            <category><![CDATA[indie-game]]></category>
            <dc:creator><![CDATA[BlueBubbleBee]]></dc:creator>
            <pubDate>Mon, 05 Apr 2021 09:32:45 GMT</pubDate>
            <atom:updated>2021-09-13T06:57:29.987Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Let’s talk about datatables in videogames]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/codex/lets-talk-about-datatables-in-videogames-636084504fb?source=rss-92eea2a587b6------2"><img src="https://cdn-images-1.medium.com/max/1280/1*iMJows_XguS0Cg04zIexNg.png" width="1280"></a></p><p class="medium-feed-snippet">Creating a simple quest system using data assets in Unreal Engine 4 (C++ and Blueprints)</p><p class="medium-feed-link"><a href="https://medium.com/codex/lets-talk-about-datatables-in-videogames-636084504fb?source=rss-92eea2a587b6------2">Continue reading on CodeX »</a></p></div>]]></description>
            <link>https://medium.com/codex/lets-talk-about-datatables-in-videogames-636084504fb?source=rss-92eea2a587b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/636084504fb</guid>
            <category><![CDATA[unreal-engine]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[c-programming]]></category>
            <dc:creator><![CDATA[BlueBubbleBee]]></dc:creator>
            <pubDate>Mon, 22 Mar 2021 21:51:14 GMT</pubDate>
            <atom:updated>2021-03-25T07:48:09.997Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Let’s talk about interfaces in game development]]></title>
            <link>https://bluebubblebee.medium.com/lets-talk-about-interfaces-in-game-development-519232319e01?source=rss-92eea2a587b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/519232319e01</guid>
            <category><![CDATA[indie-game]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[unreal-engine]]></category>
            <dc:creator><![CDATA[BlueBubbleBee]]></dc:creator>
            <pubDate>Wed, 17 Feb 2021 10:31:01 GMT</pubDate>
            <atom:updated>2021-02-17T16:26:57.294Z</atom:updated>
            <content:encoded><![CDATA[<p>How to implement a simple interface for interactive objects on a map with Unreal Engine 4, C++ and Blueprints,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aefAVXtR8WrJhniU9mfNzw.png" /></figure><p>For this example, I am using <strong>Unreal Engine 4.26</strong> with <strong>C++</strong> and <strong>Blueprints</strong>.<br>You can download the project files here</p><p><a href="https://drive.google.com/file/d/1neke3iu3saryEO0CNZx-UkiF6EbgIB5T/view?usp=sharing">https://drive.google.com/file/d/1neke3iu3saryEO0CNZx-UkiF6EbgIB5T/view?usp=sharing</a></p><p>You can follow along with this tutorial on the Video tutorial version here:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FeLAYQAFKzRo%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DeLAYQAFKzRo&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FeLAYQAFKzRo%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7a8d218f42cc5af319485bb81c8977e3/href">https://medium.com/media/7a8d218f42cc5af319485bb81c8977e3/href</a></iframe><p><strong>What is an interface?</strong></p><p>An interface has a straightforward syntax that looks very much like a class definition.<br>It helps you to declare the high-level functionality for a particular feature, for example, <strong>interactables</strong>!<br>An interface only allows you to define functionality, not implement it, this means you declare the signature of the function but not the body of that function.</p><p>An interface is a contract between a class and the interface. <br>This means the compiler will ask you to implement each function’s body defined on the interface.<br>A class can extend from multiples interfaces.</p><p><strong>Why using interfaces?</strong></p><p>Sometimes this is more of a personal choice, but I think they keep the code clean.<br>This example makes sense to use an interactable interface because I will provide the interactive functionality to a Cat Character and 2 Actors on the map.<br>The 3 elements are different types, and this is the main reason an interface makes sense, as I couldn’t extend the 3 of them from an abstract class.</p><p>The other reason is, the Player Character doesn’t need to know what type of object implements the interface.<br>It only needs to know that there is an object that is close and needs to interact with it.</p><h3>The example</h3><p>Let’s jump to the practical example in UE4. We have 3 interactable objects on the map, a Cat (Extends from Character) a Sashimi item that you can pick up (an actor) and a crate (an actor) that you can push in a direction. <br>You can interact by pressing the E key on the keyboard with the 3 of them when you are close :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*grZe2DWPNdSQrQNsjJzwRg.png" /></figure><p>If you interact with each element:</p><ul><li>The cat asks for food when you interact with them</li><li>The box that moves when you interact with it</li><li>The item sashimi can be picked up pick up when you interact with it.</li></ul><p>Remember, you can download this example from here:</p><p><a href="https://drive.google.com/file/d/1neke3iu3saryEO0CNZx-UkiF6EbgIB5T/view?usp=sharing">https://drive.google.com/file/d/1neke3iu3saryEO0CNZx-UkiF6EbgIB5T/view?usp=sharing</a></p><h4>Creating the interface in C++</h4><p>Our Interactable interface is going to contain 3 basic functions:</p><ul><li><strong>GetName:</strong> A name of the interactive to show on the UI</li><li><strong>GetQuestID:</strong> A quest ID just in case the interactive can give us a quest. For example, the cat will ask you for food when you interact with them.</li><li><strong>OnInteract Event:</strong> An event with implementation in C++ and in Blueprint. This is very handy, we can just have code in C++, or we can extend the functionality on BP, for example, playing a sound.</li></ul><p>To create the C++ interface, we right-click on the content browser and select New C++ class.</p><p>On the browser, find the Parent Class: Unreal Interface.</p><p>In the next step, we give the name Interactable and let it compile.</p><p>When the compiler ends, you will have an empty class, and you can start adding the functions:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fOjFwaeU20v5L26ZVS44DA.png" /></figure><p>As you can see the function GetName and GetQuestID return an FName. This is the equivalent of creating a variable and declaring a getter for the variable.</p><p>Both of these functions are pure virtual functions denoted by = 0 and the keyword virtual.</p><p>As you can see, the interface defines a high-level definition for any interactable object in the game. This means that any actor or class that implements this interface will have to implement both functions and the OnInteract event.</p><p>Let’s first check the<strong> Sashimi item</strong> that you can pick up.</p><p>The pickup is an actor that also extends from a basic class which contains a handy component, a Box Trigger.</p><p>I use this Basic Interactive class whenever I need an actor with a trigger to detect if the player is close. <br>You can skip this step and just copy and paste the functionality on each actor class you create.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M6tzHadGLs7QiOtyliKIrw.png" /><figcaption>Basic implementation of a trigger</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GWN9UXKBCrkWYykks1fJKA.png" /><figcaption>Begin and End Overlap methods for the Trigger</figcaption></figure><p>The <strong>ItemInteractive</strong>, extends from BasicInteractive to inheritance the BoxComponent trigger, and implements the interface <strong>IInteractable</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rjcknAu_uln_BLnVyjRApQ.png" /></figure><p>As you can see, we have a <strong>UPROPERTY </strong>ItemClass, which is the item that the player can pick up.<br>We also have a <strong>UPROPERTY </strong>ItemName to show on the UI</p><p>As required when working with interfaces, we have to implement every function is declared on the interface IInteractable</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BIZlT86wIVfN1rO2dcHaZw.png" /></figure><p>On the cpp file, we implement the body of the interact event and the <strong>GetName</strong>, and <strong>GetQuestID</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*euQ_4RRvJ8wUCCdO2oo1hQ.png" /></figure><p>If we test this code, we can get close to the <strong>sashimi</strong>, a UI will be shown with the name of the item, and when the player interacts, the <strong>sashimi </strong>appears on the player’s hands.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*07RELmtS60PcEhIHsMLYQg.gif" /><figcaption>Yummy!</figcaption></figure><h4>Now, how do I connect the player, the interface and 3 objects?</h4><p>I use the player character for that!</p><p>Every time the player is close to an object that implements the <strong>Interactive interface</strong> (the cat, the box or the item); the function <strong>OnEnterActor </strong>is called.<br>This function receives a reference to the object (the actor wich implements the interface)</p><p>When the player <strong>pressed the E key</strong>, it will call the event <strong>OnInteract </strong>if the reference exists.<br>In the previous example, the item extends from <strong>BasicInteractive</strong> and the <strong>interface</strong>. When the player enters the trigger, the player will receive the sashimi actor.<br>When the player moves away from the item, the reference is removed (or set to null) calling the function <strong>OnLeaveActor.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2ZEQrmXHki0nx_D7b8PPRA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bKSv6QhD8DjJo3PaZAF26g.png" /></figure><p>On the player character, I keep the reference to the actor only if the actor implements the interface:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0ns-dn3_FZFLQ-FX-LNo-A.png" /><figcaption>HowToCharacter, interface and actor references</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XB8XBPgjntdTlpQN_BszAQ.png" /></figure><p>As you can see, I check if the InteractiveActor is not null, if it is not, I use <strong>UKismetSystemLibrary::DoesImplementInterface </strong>to check if that actor implements the interface.</p><p>If that is true, I will reference the actor, and with a cast, I obtain the interface.</p><p><strong>The function OnLeaveActor</strong> simply set both references to null:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*CMBgGesL_CDMl0ROhtAMew.png" /></figure><p>In this simple way, I can detect if we are close to an <strong>interactable actor.</strong></p><p>Finally, when the player presses the E key if the interactive exits, it will call the interface’s Interact event.</p><p>The actor implementing the interface will do whatever action is programmed to do.</p><p>The example of the item, the sashimi is removed from the map and spawned on the player’s hand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LkjivZRZB2vpBzh5QfbUaQ.png" /></figure><p>That line of code <strong>Execute_OnInteract</strong> is the trickiest one. This is the only way to call a blueprint event using interfaces in C++.</p><p>It also requires the use of the specific actor, so I need the reference to the actor that implements the interface.<br>(Bit tricky and weird!)</p><p>I use the Player Controller to hock up the input. I keep a reference to the character on the Player Controller, and every time the player press the action Interacts, a function Action is being called:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*URj2X2ibHVf6-vyX9J7WPw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wcpw7mZE8epzP6QrdeKfXA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VObruulwajIgXtswa303uw.png" /></figure><p>And here comes what makes interface especial:</p><p>We can use this interface with any type of actor to provide interactivity, and the player doesn’t need to know the specific actor.</p><p>The other example I’ve got is a box that extends from BasicInteractive. When the player pressed the E key, it will move in some direction.</p><p><strong>Finally my favourite example, the cat!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q4PxdDWHYADOOGnB0aXjfg.png" /></figure><p>The cat is another character with a BoxComponent trigger on its own and implements the interface Interactable.</p><p>I use the trigger in a similar way as in the item. When the player is close, I will send a reference to the cat character.</p><p>When the player interacts with the cat, a UI shows an interface with information about a specific task the player has to do, bring food to the cat to get a secret.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MUjiO8qWsFw1ukVJym6BIw.png" /></figure><p>What you can see in this snippet code, is simply a search of a quest on the game mode (this is for a separate tutorial).<br>I have an asset table with quest information, if you are curious, you are more than welcome to check the code. I will reserver that for another tutorial!<br>As you can see, I can reuse the same generic logic to represent 3 various interactions!</p><p>I really like how tidy the code looks with interfaces, and they are a powerful tool to keep in mind!<br>Characters and Actors in UE4 are not exactly the same, with this interface, I can reuse the same logic.</p><h3>I hope you enjoyed this tutorial!</h3><p>I genuinely enjoy writing about programming, maths, videogames and combine everything together!</p><p>I am currently working on a new indie game called <a href="https://store.steampowered.com/app/1340380/Witchery_Academy/"><strong>Witchery Academy</strong></a>. <br>I am making this game with <strong>Unreal Engine 4</strong>, and it’s great to share some of my tricks and systems I use.</p><p>In <a href="https://store.steampowered.com/app/1340380/Witchery_Academy/"><strong>Witchery Academy</strong></a>., you live the adventures of a <strong>wizard apprentice</strong>, live at the academy and attend different classes like the botanic class where you take care of your own garden.<br>And you have a spirit companion which is a a <strong>cat!</strong></p><p>If you like <strong>cats, wizards, magic and a soothing experience,</strong> this game is for you!</p><p>If you don’t want to miss any updates, you <strong>can sign up for our newsletter:</strong></p><p><a href="https://witcheryacademy.com/">Witchery Academy</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=519232319e01" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let’s talk about the dot product in videogames]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://bluebubblebee.medium.com/lets-talk-about-the-dot-product-in-videogames-67d833872820?source=rss-92eea2a587b6------2"><img src="https://cdn-images-1.medium.com/max/1280/1*Wzhsbm--AlRdCzDZUbiuBA.png" width="1280"></a></p><p class="medium-feed-snippet">How to use the dot product operation in Unreal Engine using C++ and Blueprints</p><p class="medium-feed-link"><a href="https://bluebubblebee.medium.com/lets-talk-about-the-dot-product-in-videogames-67d833872820?source=rss-92eea2a587b6------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://bluebubblebee.medium.com/lets-talk-about-the-dot-product-in-videogames-67d833872820?source=rss-92eea2a587b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/67d833872820</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[game-design]]></category>
            <category><![CDATA[videogames]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[indie-game]]></category>
            <dc:creator><![CDATA[BlueBubbleBee]]></dc:creator>
            <pubDate>Wed, 27 Jan 2021 16:05:41 GMT</pubDate>
            <atom:updated>2021-02-03T08:53:25.428Z</atom:updated>
        </item>
    </channel>
</rss>