<?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 Andrea Alicino on Medium]]></title>
        <description><![CDATA[Stories by Andrea Alicino on Medium]]></description>
        <link>https://medium.com/@andrea-alicino?source=rss-ca48cc6dd2ff------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9QJg5iAGiWLhs8KxBvnCUQ.png</url>
            <title>Stories by Andrea Alicino on Medium</title>
            <link>https://medium.com/@andrea-alicino?source=rss-ca48cc6dd2ff------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 17:25:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@andrea-alicino/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[I ran out of excuses. Then I ran out of time.]]></title>
            <link>https://andrea-alicino.medium.com/i-ran-out-of-excuses-then-i-ran-out-of-time-083ec059ed4b?source=rss-ca48cc6dd2ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/083ec059ed4b</guid>
            <category><![CDATA[game-jams]]></category>
            <category><![CDATA[gmtk]]></category>
            <category><![CDATA[unity]]></category>
            <category><![CDATA[indie-game-dev]]></category>
            <category><![CDATA[game-development]]></category>
            <dc:creator><![CDATA[Andrea Alicino]]></dc:creator>
            <pubDate>Tue, 04 Aug 2026 16:01:03 GMT</pubDate>
            <atom:updated>2026-08-04T16:01:03.242Z</atom:updated>
            <content:encoded><![CDATA[<p>I hadn&#39;t done a game jam in years. Between a full-time job and a small kid, &quot;free weekend to build a game&quot; isn&#39;t really a thing anymore — so when GMTK Game Jam 2026 came up, I told myself I&#39;d just fit it in wherever I could, no pressure, no all-nighters. That lasted until Saturday night. More on that later.</p><p>This is the story of how &quot;The Boss Is Coming&quot; got made — not in one continuous sprint, but in scattered sessions squeezed between a job, a toddler, and regular adult errands.</p><h4>Wednesday evening — the theme drops</h4><p>The theme was <strong>Count Down</strong>. I was busy with other things that evening, but I carved out enough time to brainstorm with a clear head instead of jumping straight into Unity.<br>The idea that stuck: an office worker who has to survive by inventing increasingly ridiculous excuses before the boss reaches his desk.<br>Cards Against Humanity structure — a prompt with a blank, and a hand of excuse cards to fill it in with.<br>Two countdowns at once, matching the theme: the deck of good excuses runs out permanently, and the difficulty ramps up as you go.</p><h4>Thursday evening — one focused session, after work</h4><p>This was the only coding session that week, squeezed in after work. A few hours, no more. The goal was narrow on purpose: get a state machine and some data classes in place, then a loop I could poke at with the keyboard and Console logs — nothing that needed to look good yet.</p><pre>public enum GameState<br>{<br>    Countdown,<br>    Interruption,<br>    ComboResolution,<br>    TaskCompleted,<br>    GameOver,<br>    Break<br>}</pre><p><em>GameManager</em> is a plain singleton MonoBehaviour, owning the current state and<br>exposing one event everything else could subscribe to:</p><pre>public static event Action&lt;GameState&gt; OnStateChanged;<br><br>public void ChangeState(GameState newState)<br>{<br>    switch (newState)<br>    {<br>        // per-state transition logic<br>    }<br><br>    currentState = newState;<br>    OnStateChanged?.Invoke(newState);<br>}</pre><p>No Enter/Exit methods per state, no elaborate pattern — just an enum, a switch, and an event. By the end of the session I had a scene full of grey rectangles, a Console spitting out state transitions, and a keyboard-driven loop I could actually play through, badly. It wasn&#39;t much to look at, but the loop worked end to end, which was the only thing that mattered that night.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/489/1*G0lrv49rvHr7IaXNQ9AdyQ.jpeg" /><figcaption>The status of the game on Thursday night</figcaption></figure><h4>Friday — the day I didn&#39;t write a single line of code</h4><p>This is the part of the story I almost left out because, on the day itself, it felt like wasted time. I had the day to work on the jam, and I fully intended to start on the art. Instead, I spent the whole day doing something else: comparing what I&#39;d written down as the design against what I actually pictured when I imagined playing the game.</p><p>They didn&#39;t match.</p><p>My commit count for Friday: zero. <br>My understanding of what I was actually building: dramatically improved.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*IqtTrOH2a0KdRe4LSg5OnA.png" /><figcaption>Table: Original Plan vs. What I Actually Wanted</figcaption></figure><p>I was too tired to start implementing any of it that evening, even though I&#39;d hoped to get to the art. In hindsight, that was the right call anyway — a redesign this size deserved a clear head the next morning, not a sleep-deprived attempt to force it in on top of everything else.</p><h4>Saturday — the long one, with real life in between</h4><p><strong>Morning</strong>: bug fixing left over from Thursday, then starting the actual rework — variable countdown, persistent hand, the discard/redraw mechanic.</p><p>Then I stepped away. Time with my daughter, a couple of errands around the house.<br>Not begrudgingly — that&#39;s just what the day looked like, jam or no jam.</p><p><strong>Afternoon</strong>: back at it, building the real scene with the assets I&#39;d found (a pixel art office pack, a fair bit removed from the flat-vector look I&#39;d originally sketched — I made peace with that trade-off fast; time mattered more than matching my original mood board). Naturally, switching art styles mid-project surfaced a batch of small bugs I hadn&#39;t anticipated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*8Hvqq6ODySijGWlj0arN9Q.gif" /><figcaption>definitive pixel art game scene</figcaption></figure><p>A short break at the park to let my brain reset, and then the night session started — and it went long. This is where most of Friday&#39;s redesign actually got built:</p><pre>public void SetNextCountdownDuration(float earnedTime)<br>{<br>  nextCountdownDuration = Mathf.Max(earnedTime, minimumCountdownDuration);<br>}</pre><p>The boss&#39;s next countdown is driven directly by how good your last excuse was, clamped so it&#39;s never punishingly short. And the category-repeat penalty, which turned out to be the single mechanic that gave the game most of its tension:</p><pre>int effectiveValue = (lastPlayedCategory == fragment.Category)<br>    ? fragment.CredibilityValue / 2<br>    : fragment.CredibilityValue;<br><br>lastPlayedCategory = fragment.Category;</pre><p>Play the same type of excuse twice in a row, and it&#39;s worth half as much.<br><strong>Simple rule, but it&#39;s the thing that makes you actually think about which card to play instead of just clicking the highest number</strong>.</p><p>I finished the rework and added a persistent hand you discard and redraw from instead of getting a fresh one every round. The last piece was a small screen between tasks — pick your next one from three options, each with its own name, time requirement, and score. Riskier task, bigger reward. Nothing fancy, just three buttons, but it&#39;s the piece that turned &quot;survive as long as possible&quot; into something with actual choices in it.</p><p>By the time I looked up, it was around 5 am. I hadn&#39;t noticed the hours passing — first time that&#39;s happened to me in a long while.</p><h4>Sunday — running on very little sleep</h4><p>I&#39;d written a list the night before, right before forcing myself to sleep a few hours: what was still missing, what could be cut. <br>Audio didn&#39;t make the list — first casualty, no regrets given the time left.</p><p><strong>The first thing I did that morning wasn&#39;t adding anything — it was making sure the existing build still worked.</strong> Only after confirming that did I add what was still needed to make the game actually match the idea I&#39;d had since Friday: real UI for picking cards and tasks, a proper Game Over screen, a main menu.</p><p>Then: final build, itch.io page, credits for the art pack, submit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w_EY85O88fVQxFzDRhnMvw.png" /></figure><h4>What I&#39;m taking away from this one</h4><p>Not really &quot;tips for game jams&quot; — plenty of people have written that list better than I could. What I keep coming back to is this: the day I spent not writing any code was, in hindsight, probably the most important day of the jam. It&#39;s tempting, especially with limited time, to treat any hour not spent typing as wasted. It isn&#39;t, if what you actually need is to figure out what you&#39;re building before you build more of the wrong thing.</p><p>Also: it&#39;s entirely possible to do this around a job and a family. It just doesn&#39;t look like the crunch-fueled war stories you usually read.</p><p>You can play The Boss Is Coming on itch.io — bug reports and roasting welcome:</p><p><a href="https://otacon90.itch.io/the-boss-is-coming">The Boss is Coming</a></p><p>See you in the next article🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=083ec059ed4b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blueprint Tips]]></title>
            <link>https://andrea-alicino.medium.com/blueprint-tips-72d832a93314?source=rss-ca48cc6dd2ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/72d832a93314</guid>
            <category><![CDATA[tips-and-tricks]]></category>
            <category><![CDATA[gamedev]]></category>
            <category><![CDATA[unreal-engine]]></category>
            <dc:creator><![CDATA[Andrea Alicino]]></dc:creator>
            <pubDate>Fri, 26 Jan 2024 16:02:31 GMT</pubDate>
            <atom:updated>2024-01-26T16:02:31.558Z</atom:updated>
            <content:encoded><![CDATA[<p>This article shares some common tips for working with blueprints. These tips help keep the blueprints organized and easily readable, especially when working in teams.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*7jL9ttSqujjl3-BtL4PqGg.gif" /></figure><p><strong>Reroute Nodes:</strong><br>As blueprints become more complex, a link can become tangled behind a node, making it difficult to read. We can create a Reroute Node by double-clicking on the link to avoid this. This organizes the blueprint and allows us to link directly to other nodes if needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*bp1dRjmGNk9EytHV97-fig.gif" /></figure><p><strong>Sequence:</strong><br>Using the Sequence node can prevent your blueprint from becoming an endless line of following nodes. It decomposes actions while keeping the same execution order, making it more orderly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/765/1*lfnHN48I7R2pPDXfpxY6bQ.png" /></figure><p><strong>Comment:</strong><br>Another helpful tool to help read blueprints is the Comment feature. By selecting the nodes you’re interested in and pressing the Ckey, you can add comments and name them. It’s common practice to use colors to associate comments with specific types.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dkKVN3AiyJagt1gBPCjL9g.png" /></figure><p><strong>Align:</strong><br>We all like to keep our nodes in a straight line, and Epic engineers have thought of this, too! They created shortcuts to keep nodes aligned.</p><p>horizontal alignment =&gt; Q <br>vertical alignment =&gt; shift+alt+S</p><p><strong>Quick Get/Set:</strong><br>We can speed up a command that is already fast enough. Indeed, Set after we transport a variable in our gr gives us a choice: Get or Setaph. Just hold down Ctrl for Get and Alt for Set.</p><p><strong>Validation Get:</strong><br>It is a common practice to use an IsValid node immediately after a variable’s Get. We can combine the two by right-clicking on the Get of the newly inserted variable and selecting “Convert to Validated Get.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*0UrbXND4KD2LZQpmnhMDIA.gif" /></figure><p>These here are just a few of the many shortcuts that exist in Unreal Engine and specifically on Blueprints. On the Unreal Engine documentation, we can find many others that are just as useful.</p><p><a href="https://docs.unrealengine.com/5.0/en-US/blueprint-editor-cheat-sheet-in-unreal-engine/">Blueprint Editor Cheat Sheet</a></p><p>I hope you found this article helpful. <br>See you in the next article🚀.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72d832a93314" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Game Mode & Game Instance]]></title>
            <link>https://andrea-alicino.medium.com/game-mode-game-instance-33aa955dcaae?source=rss-ca48cc6dd2ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/33aa955dcaae</guid>
            <category><![CDATA[gamedev]]></category>
            <category><![CDATA[unreal-engine]]></category>
            <dc:creator><![CDATA[Andrea Alicino]]></dc:creator>
            <pubDate>Thu, 25 Jan 2024 16:01:35 GMT</pubDate>
            <atom:updated>2024-01-25T16:01:35.064Z</atom:updated>
            <content:encoded><![CDATA[<p>Two key concepts within Unreal Engine are “Game Mode” and “Game Instance,” which play crucial roles in managing game execution and managing persistent game data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*cV8Yy8Cz0SXnahJKbVv3Dw.gif" /></figure><h4>Game Mode:</h4><p><strong>Definition:</strong><br>The “Game Mode” in Unreal Engine represents a specific instance of the game rules within a level. Each level can have its own Game Mode, which determines the rules of the game, the conditions of victory or defeat, and other fundamental aspects of the game logic. In simple terms, Game Mode defines how the game behaves within a specific level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/839/1*skqH1S1Vp2NEReLacIKhKQ.png" /></figure><p><strong>Main features:<br>1. Game Rules</strong>: The Game Mode contains the basic rules that guide the game’s behavior, such as scoring, victory conditions, and defeat conditions.<br><strong>2. Character Spawn</strong>: Manages the process of spawning characters and objects in the level.<br><strong>3. Game mode</strong>: Determines whether the game is in single-player or multiplayer mode and implements the basic rules for each mode.<br><strong>4. Interaction with other systems</strong>: Can interact with other systems in the game, such as Game Instance, for persistent data management.</p><p><strong>Practical Use:</strong><br>To set up a Game Mode in Unreal Engine, you create a class derived from the<em> `AGameModeBase`</em> class or other predefined Game Mode classes. Within this class, you can configure the game-specific rules for that level.</p><h4>Game Instance:</h4><p>Definition:<br>The “Game Instance” represents a single, persistent instance of the game application. While the Game Mode deals with game rules within a level, the Game Instance handles game data that must persist between levels, such as global scores, player status, and more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*08nVoZh2I484AkYQbGnguw.png" /></figure><p><strong>Main features:</strong><br><strong>1. Data Persistence:</strong> Stores game data that must persist throughout the application’s execution, even when changing levels.<br><strong>2. Communication between levels</strong>: Provides a means of sharing information between levels in the game.<br><strong>3. Resource management: </strong>Can handle the loading and management of global resources, such as game configurations, audio, and more.<br><strong>4. Initialization:</strong> Performs initialization operations that must occur only once at game startup.</p><p><strong>Practical Use:</strong><br>You create a class derived from the<em> `UGameInstance`</em> class to implement a Game Instance. Within this class, you can manage data persistence and define the necessary initialization operations.</p><p>This article was helpful to you.<br>See you in the next article🚀.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33aa955dcaae" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Animation Blueprint]]></title>
            <link>https://andrea-alicino.medium.com/animation-blueprint-c7fa60c96741?source=rss-ca48cc6dd2ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/c7fa60c96741</guid>
            <category><![CDATA[gamedev]]></category>
            <category><![CDATA[animation]]></category>
            <category><![CDATA[unreal-engine-5]]></category>
            <dc:creator><![CDATA[Andrea Alicino]]></dc:creator>
            <pubDate>Wed, 24 Jan 2024 16:01:40 GMT</pubDate>
            <atom:updated>2024-01-24T16:01:40.292Z</atom:updated>
            <content:encoded><![CDATA[<p>I am resuming my journey in animation today. Let’s talk about animation blueprint(ABP).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*IqFrUjqlGmm4DBcP0IsCVQ.gif" /></figure><h4>What is the Animation Blueprint?</h4><p>The Animation Blueprint is a key component of Unreal Engine that allows developers to define and control the animations of a character or object within the game.</p><h4>Main Components:</h4><p><strong>Event Graph</strong>: This part of the Animation Blueprint manages the events and control logic of the animations. Game actions, such as character movement and player input, can trigger events.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cwmMJnWRYgelcYnOpH04Bw.png" /><figcaption>Event Graph Example</figcaption></figure><p><strong>Anim Graph</strong>: This section allows you to define the logic of the animations. It links basic animations and controls the flow of animations in response to events.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*krxqUoA0bFtG8Natgqz28Q.png" /><figcaption>Anim Graph Example</figcaption></figure><h4>States and Transitions:</h4><p>- Animation Blueprints often use a state structure to manage different character animations. For example, one state may represent the character in an idle state, while another may handle movement.<br>- Transitions between states are defined based on specific conditions, such as character speed or player input.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/864/1*R9TDQpOIyVmL5aRZWlM-tQ.png" /><figcaption>Variables are used to define transitions</figcaption></figure><h4>Blending and Layering:</h4><p>- Unreal Engine allows blending animations to create smooth transitions between them. For example, intelligent blending can handle the transition from walking to running.<br>- Layering allows overlapping animations, enabling finer details and more realistic transitions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eDrnLBi_p0SdLCoXzia1kg.png" /><figcaption>Layer Blend Component</figcaption></figure><p>This is just a tiny introduction to Animation Blueprint. This powerful tool allows developers to create complex and realistic animations with relative ease.<br>Its flexibility and versatility make it an essential tool for animating game characters, helping to create immersive and engaging gaming experiences.</p><p>This article was helpful to you.<br>See you in the next article🚀.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c7fa60c96741" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Animation: Blend Space]]></title>
            <link>https://andrea-alicino.medium.com/animation-blend-space-df1c938c8961?source=rss-ca48cc6dd2ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/df1c938c8961</guid>
            <category><![CDATA[unreal-engine]]></category>
            <category><![CDATA[animation]]></category>
            <category><![CDATA[gamedev]]></category>
            <dc:creator><![CDATA[Andrea Alicino]]></dc:creator>
            <pubDate>Tue, 23 Jan 2024 16:01:49 GMT</pubDate>
            <atom:updated>2024-01-23T16:01:49.325Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, we see how to use already-created animations.<br>The first step is to create a Blend Space, which we will then use within an Animation Blueprint.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*F9gNM3s8tKakj4iAPvwKYA.gif" /></figure><h4>What is a Blend Space:</h4><p>A Blend Space is a feature of Unreal Engine that allows you to manage the seamless transition between different animations based on one or more variables. You can seamlessly transition between different animations depending on factors such as direction of motion, speed, or any other variable you choose.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*4j5XFnwsdHiwe9-Pblpqnw.png" /></figure><p><strong>Creating the Blend Space:</strong> To use a Blend Space, you must first define the variables affecting the transition between animations. After determining the variables, you can create the Blend Space. This is a two- or three-dimensional graph where you place the different animations according to the defined variables. For example, walking animations might be at the bottom of the graph, while running animations would be at the top.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*8Zm9LVvkLSW9uEhvx1_kuA.png" /><figcaption>Set the name and the value for the axis</figcaption></figure><p><strong>Associating Animations to Coordinates:</strong> It is crucial to associate animations to Blend Space coordinates. This determines how the game engine will transition between animations based on variable values during game execution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8iw8cErMUvvpZup2u63qtA.png" /></figure><p><strong>Use in the Blueprint or AnimGraph:</strong> Once the Blend Space has been created, it can be used in the character’s blueprint or the animation’s AnimGraph. This allows you to easily integrate the Blend Space into the blueprint and handle transitions dynamically during game execution.</p><h4>Benefits of Blend Space:</h4><p><strong>1. Smooth Transitions</strong>: Blend Space allows smooth transitions between different animations, eliminating the characteristic “disconnect” often found in games with rigid animations.<br><strong>2. Adaptability</strong>: Because Blend Space is based on user-defined variables, it is highly adaptable to different game situations, allowing precise control over animations.<br><strong>3. Time-saving</strong>: It simplifies managing animations, allowing developers to focus on other critical aspects of the game.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y3heaPD1YFRDCdhPVpcbCA.png" /><figcaption>BS with all locomotion animations</figcaption></figure><p>In summary, Blend Space in Unreal Engine is a powerful tool that enables developers to create realistic and smooth animations in their games. Its versatility in handling variable-based transitions makes it essential for anyone seeking to enhance the gaming experience through dynamic and realistic animations. By using Blend Space correctly, developers can take their creations to new levels of immersion and engagement for players.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/657/1*YulhGBId5ffvzVwM9lYjeg.gif" /></figure><p>This article was helpful to you.<br>See you in the next article🚀.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df1c938c8961" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[First Steps]]></title>
            <link>https://andrea-alicino.medium.com/first-steps-d20bd67621b2?source=rss-ca48cc6dd2ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/d20bd67621b2</guid>
            <category><![CDATA[unreal-engine]]></category>
            <category><![CDATA[blueprint]]></category>
            <category><![CDATA[gamedev]]></category>
            <dc:creator><![CDATA[Andrea Alicino]]></dc:creator>
            <pubDate>Mon, 22 Jan 2024 16:01:52 GMT</pubDate>
            <atom:updated>2024-01-22T16:01:52.251Z</atom:updated>
            <content:encoded><![CDATA[<p>We begin by literally taking our first steps in Unreal Engine. Our goal for the day is to exploit the essential components of Unreal Engine by moving a character to the third person.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*pGjVE6BMkiCH8VWkJEqgtg.gif" /></figure><blockquote>Slight spoiler: I will principally use blueprints and wait to use animations, so the character’s movement will be stiff since it will always stay in A-pose.</blockquote><p>For simplicity and convenience, I started with the Third Person example project to optimize time and already have the assets I need, specifically the Skeletal Mesh and animations.</p><h4>Create a Blueprint for the player</h4><p>I select the blueprint(BP) item from the right-click menu or click Add in my Content Browser to create a blueprint. A window will open where I choose the type of BP I want to make.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*REbmnWWOUfex8HaWJTEutg.png" /></figure><p>In my case, I want to create a character so that I will select Character. I’ll assign it a name, then open it immediately by clicking on it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*M3Loof_01CY_Rwc2P8dkZQ.png" /></figure><blockquote>Although this project is small, I recommend keeping the folders organized.</blockquote><p>Once opened, you should have a screen similar to the figure’s. To create a third-person character, we must add a Skeletal Mesh and two other elements, SpringArm and Camera.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dLPKyttblkudaq6lgSNlbw.png" /><figcaption>Highlighted is the Components and Details panel</figcaption></figure><p>To add the skeletal mesh, once we select the mesh item from the “Components” panel, we will go into its details to add the correct skeletal mesh.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*1pMoHQc6xQc6FJo32rfOMQ.gif" /></figure><p>As soon as added, the model will not be inside the capsule and will be oriented toward the arrow already present. To fix this problem, edit the Transform as in the figure below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/1*0v_OYWis9t_f8pMVE8pUuA.png" /></figure><p>Finally, let’s go back to the component panel and add the SpringArm using the Add button and searching for it in the search bar and the chamber. The chamber must be a child of the SpringArm to function correctly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/491/1*BQTKJVUe3Ot7ZnyDZs0Yhg.gif" /></figure><p>Let’s move the SpringArm higher. In my design, I will place it above my right shoulder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TZ_bkfqqV0uFEJZpJyt_kw.png" /></figure><h4>Adding inputs</h4><p>This step creates the events we will use in the blueprint.<br>I open the Project Settings by going to Edit&gt;Project Settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/399/1*hkJgLVXWI8v984Hg-05hfg.png" /></figure><p>Here, I must go to the Input section, enter the inputs to move with the keyboard and rotate the view using the mouse.</p><p>Without going into details because I will go into more detail on this topic, we need to create 4 Axis Mapping as shown in the figure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fSDaHcx6h8-i42GJJcKiKA.png" /></figure><h4>Going back to BP and creating and linking movements</h4><p>It’s time to go and associate the created events with the character’s movement. <br>I go back to the blueprint and select Event Graph. The three events already present will not serve us; we can either ignore them or delete them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OtUXjEzP08q5IRXXrUYqAg.png" /></figure><p>By right-clicking, we can open a drop-down menu that represents a series of instructions that we can call. Using the search bar, we can search for the event we called MoveForward. The same goes for MoveRight, Turn, and LookUp.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*p9u78n8jgl5x4QxcSOzRFg.png" /></figure><p><strong>MoveFoward and MoveRight</strong><br> <br>The behavior is the same for both events. We will search again by right-clicking “Get Actor Forward Vector “ to get our character’s forward vector.</p><p>This is the second parameter we need for the “Add Movement Input” function. We connect Axis Value =&gt; Scale Value and Return Value =&gt; Word Direction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*OhuwdPB8TOvk-kfUimXCng.png" /></figure><p>We repeat the same process for MoveRight, replacing “Get Actor Forward Vector” with “Get Actor Right Vector.”<br> <br><strong>LookUp and Turn</strong><br>Similar to what we did for movement, let’s look up the related functions and connect them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*VBvQ7cxiGJME56853bNSQA.png" /><figcaption>LookUp Event</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*xy5vTu0WUYnFcVMR5AfcTA.png" /><figcaption>Turn Event</figcaption></figure><p>The final BP should look something like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CpkHcxHAQIxlnmN_LR8Mcg.png" /></figure><h4>Final steps</h4><p>Before we play and see the result, we need to go and fix just a few parameters.</p><p>After selecting the root of your Blueprint, look in the Details pane for Auto Possess Player and check “Player 0. “</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*bpexjqdEpHWD99GAl4eCxg.gif" /></figure><p>Now we select the Spring Arm, and in the Details panel, look for and check the box “Use Pawn Controller Rotation.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/509/1*vhuZ16urpEVuXYZsgqIyEg.png" /></figure><p>Finally, we transport our BP onto the map and press Play.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6u-pbKG1-MiXK9ij02inqA.gif" /></figure><p>I started with character movement. In the following articles, I will introduce concepts related to character animation.<br>Everything is also achievable directly with code; I will discuss it later in the following articles.</p><p>This article was helpful to you.<br>See you in the next article🚀.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d20bd67621b2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blueprints & C++]]></title>
            <link>https://andrea-alicino.medium.com/blueprints-c-15de69c08ff1?source=rss-ca48cc6dd2ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/15de69c08ff1</guid>
            <category><![CDATA[code]]></category>
            <category><![CDATA[gamedev]]></category>
            <category><![CDATA[unreal-engine-5]]></category>
            <dc:creator><![CDATA[Andrea Alicino]]></dc:creator>
            <pubDate>Fri, 19 Jan 2024 16:01:52 GMT</pubDate>
            <atom:updated>2024-01-19T16:01:52.672Z</atom:updated>
            <content:encoded><![CDATA[<p>Unreal Engine offers a powerful and flexible development environment. Programmers can choose between using visual Blueprints and the more traditional C++. While Blueprints simplify the development process for non-programmers, C++ provides more granular control and optimized performance. This article will explore how to make the most of both worlds and provide guidelines on when and how to use Blueprints and C++ within an Unreal Engine project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*TzCKQloeFXi1oyFA42raNg.gif" /></figure><h4>What is a Blueprint and when to use it</h4><p>Blueprints provide a visual development interface, allowing artists and designers to implement game logic without writing code. Their strength lies in rapid prototyping and access to complex functionality without advanced programming skills. However, there are situations where implementation using Blueprints may not be the most efficient choice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KL3GF1PpgJDk6Nrn.png" /></figure><ul><li><strong>Quick Prototyping:</strong> Blueprints are ideal for the prototyping phase, allowing you to test game ideas quickly without writing code.</li><li><strong>User Interfaces and Animations: </strong>Blueprints offer an intuitive visual approach for managing user interfaces and animations, allowing you to control sequences and transitions out of the box.</li><li><strong>Levels of Artistic Detail: </strong>Artists can use Blueprints to create events and interactions directly within the Editor without requiring programmer intervention.</li></ul><h4>When to use C++</h4><p>Using C++ in Unreal Engine provides fine control and optimized performance. This option is particularly suitable for developers with advanced programming skills.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EVOaNvD1ay5ueCaUF7OX6g.png" /></figure><ul><li><strong>Complex Logics and Optimizations:</strong> C++ offers total control over memory and resources, enabling the implementation of complex game logic and algorithms that require performance optimizations.</li><li><strong>Extending Functionality:</strong> C++ is indispensable for adding new functionality to the game engine or customizing advanced behaviors.</li><li><strong>Multiple Game Systems:</strong> When working on large projects or with multiple interconnected game systems, C++ facilitates management and integration.</li></ul><h4>Making the Most of the Synthesis between Blueprint and C++:</h4><ol><li>Communication Between the Two Worlds: Use custom events in Blueprints to communicate with C++ code and vice versa. This synergy allows you to make the most of the strengths of both environments.</li><li>Unified Programming Interface: Create a unified programming interface, enabling teams to work collaboratively, integrating Blueprints for rapid prototyping and C++ for more complex implementations.</li><li>Flexible Choice Based on Needs: Evaluate when to use Blueprints or C++ on a case-by-case basis, considering the project’s specific needs and the team’s skills.</li></ol><p>Unreal Engine offers an ecosystem that balances development speed with control. Blueprints are used for rapid prototyping and artistic implementations, while C++ provides the power and optimization needed for complex game logic. Leverage the synergy between the two environments to maximize efficiency and create extraordinary gaming experiences.</p><p>I hope this article was helpful to you.<br>See you in the next article🚀.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15de69c08ff1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Assets]]></title>
            <link>https://andrea-alicino.medium.com/assets-61c7f4f465cc?source=rss-ca48cc6dd2ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/61c7f4f465cc</guid>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[assets]]></category>
            <category><![CDATA[unreal-engine]]></category>
            <dc:creator><![CDATA[Andrea Alicino]]></dc:creator>
            <pubDate>Thu, 18 Jan 2024 16:02:26 GMT</pubDate>
            <atom:updated>2024-01-18T16:02:26.411Z</atom:updated>
            <content:encoded><![CDATA[<p>To create a video game or even a prototype, we need assets to put into our game to give it a visual and sound appeal of what we want to convey.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*7y6VTh04x3Ydu_69mAi1Xg.gif" /></figure><h4>What is an asset?</h4><p>In the video game context, “asset” refers to digital assets used to create and enrich the game experience. Assets include a wide range of elements, including:</p><ul><li><strong>3D models</strong>: These models represent three-dimensional objects such as characters, environmental objects, vehicles, and more. They are essential for building game environments.<br>- <strong>Textures: </strong>are two-dimensional images that map the surface of 3D models, giving them detail and color. Textures are essential for making objects visually realistic.<br>- <strong>Sounds</strong>: Includes sound effects, background music, dialogue, and other audio elements contributing to the game’s atmosphere.<br>- <strong>Animations</strong>: Sequences of movements that bring characters and objects to life. Animations are crucial to make gameplay and interactions visually appealing. <br>- <strong>Scripts and Code</strong>: Logical components and programming instructions that determine the behavior of objects in the game, including controls, game logic, and artificial intelligence.<br>- <strong>Materials</strong>: Configurations that determine how light interacts with objects and surfaces, affecting the overall visual appearance of the game.<br>- <strong>Special Effects</strong>: Includes particles, dynamic lights, and other elements that add dynamism and visual impact to scenes in the game.</li></ul><h4>How to import an asset into Unreal Engine</h4><p>With Unreal Engine, importing assets is pretty easy; if they are packages purchased from the Marketplace, we have to find them in our Library and press the “Add To Project” button, select the project to which we want to add them and wait for the process to finish.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/254/1*dn5dvwmtJSih2Ml41-OTAg.png" /></figure><p>Some assets we get from the Marketplace do not have this choice but instead prompt us to create a new project; this is not a problem. Let’s proceed with creating the new project and then see step by step what we need to do:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/265/1*NCosa1QttjuSxr_lGvpbwQ.png" /></figure><ul><li><strong>Step 1:</strong> Let’s launch the newly created project and find the assets we want to bring into our project.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/363/1*cLBvGgwsT1nZP6LdK83Aog.png" /></figure><ul><li><strong>Step 2:</strong> Once we have selected the one we want, we right-click under “Assets Action” and select Migrate.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*EYvK2oUObJhj7Co62wm2Dg.png" /></figure><ul><li><strong>Step 3:</strong> This will open a window called Assets Report that specifies all the dependencies of the item you have selected. This helps in the export; for example, in my case, I am exporting the Skeletal Mesh of a 3D model, and he urges me to export all the elements related to the same as the RIG, animations, textures, and more.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*6pJyjBhi1iTj-nHYB_FHTQ.png" /></figure><ul><li><strong>Step 4: </strong>Once you press OK, a window will open asking where you need to migrate the selected files. Now, you must pick the project’s Content folder where you want to migrate your assets.</li><li><strong>Step 5:</strong> Open the new project if it was not already open previously and enjoy the newly added assets.</li></ul><p>Assets are critical to game development, and their quality directly affects the final product’s quality. The Epic Store Marketplace offers a variety of assets (including free ones) that can be used for prototyping and game creation.</p><p><strong>Important to check and comply with site-specific licensing requirements.</strong> Some assets may require attribution or have restrictions on commercial use.</p><p>I hope this article was helpful to you.<br>See you in the next article🚀.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61c7f4f465cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Git LFS and .gitattributes]]></title>
            <link>https://andrea-alicino.medium.com/git-lfs-and-gitattributes-5d23b2205bed?source=rss-ca48cc6dd2ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d23b2205bed</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[good-practices]]></category>
            <dc:creator><![CDATA[Andrea Alicino]]></dc:creator>
            <pubDate>Wed, 17 Jan 2024 16:02:16 GMT</pubDate>
            <atom:updated>2024-01-17T16:02:16.950Z</atom:updated>
            <content:encoded><![CDATA[<h3>Git LFS and .gitattributes</h3><p>Git Large File Storage (Git LFS) is an extension to Git that allows large files to be managed efficiently within a Git repository. Combined with the .gitattributes file, it provides advanced control over Git’s behavior concerning specific files or paths within the project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*dghj_ZYMvx4XdmShGHWcQA.gif" /></figure><h3><strong>What is Git LFS, and why do you use it?</strong></h3><p>Git is a powerful distributed version control system, but it can have limitations in handling large files such as images, videos, or other binary data. Git LFS solves this problem by storing the binary files in an external storage system and keeping only the metadata in the main repository.</p><h3>The .gitattributes file:</h3><p>The <em>.gitattributes</em> file plays a crucial role in configuring Git behavior. It can be used to specify attributes such as file types to be handled by Git LFS, font normalization, and merge conflict handling.</p><p>Here are some examples of configuration in the <em>.gitattributes</em> file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GahkmRTIl8M9nJdFaNCB7Q.png" /><figcaption>example of .gitattributes file</figcaption></figure><h3>How to use Git LFS:</h3><p><strong>1. Install Git LFS:<br></strong>Before using Git LFS, you need to install the extension. Run the following command in the terminal:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CkuH-2eGNjSLOZIifM0IWA.png" /></figure><p><strong>2. Select the file types you want to manage with Git LFS:<br></strong>You can specify the file types you want to manage with Git LFS in the <em>.gitattributes</em> file. For example, to manage files with the extension .<em>mp4</em>, add the following line:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hfgltw6qg0JdInvhrkm7TQ.png" /></figure><p><strong>3. Add and commit the file .<em>gitattributes</em>:<br></strong>After configuring the file <em>.gitattributes</em>, be sure to add and commit it to the repository:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AHOTW0KbmU-tsWDdv_SxEw.png" /></figure><p><strong>4. Adding and committing files with Git LFS:</strong></p><p>Now, you can add and commit large files as you usually do with Git. Git LFS will automatically take care of transferring the binary files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Id8bKazkjcZ52nthWUHMTQ.png" /></figure><p><strong>5. Push and Pull:</strong></p><p>Push and pull operations are now handled efficiently by Git LFS. You can perform the following operations typically:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yGt4GpCRGrimA9Bu_StnVQ.png" /></figure><p>Be sure to document and share .gitattributes with your team members to ensure consistency in file management in the repository. By integrating Git LFS and .gitattributes, you gain advanced and efficient control over managing large files in your Git project.</p><p>See you in the next article🚀.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d23b2205bed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Making a good start]]></title>
            <link>https://andrea-alicino.medium.com/making-a-good-start-6da5257520e1?source=rss-ca48cc6dd2ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/6da5257520e1</guid>
            <category><![CDATA[gamedev]]></category>
            <category><![CDATA[unreal-engine]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Andrea Alicino]]></dc:creator>
            <pubDate>Tue, 16 Jan 2024 16:02:17 GMT</pubDate>
            <atom:updated>2024-01-16T16:02:17.995Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s start with the basics. The first steps are to create a new project with Unreal Engine and set up a git repository associated with the project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*Ri20hoF5_iroY__T7krodw.gif" /></figure><p>Using a git repository, even when working alone, is a great way to keep track of your work, and it also allows you to step back if, for some strange reason, your project has decided to stop compiling. You’ll go back to the previous commit (or the one before that) instead of having to redo the entire project from scratch.<br>Using git the right way is definitely among the good practices for a developer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*Fvbg9EM6hUMt0ebcGLE0uw.jpeg" /></figure><p>Regarding the installation of Unreal Engine 5 and the programming tools, I refer you to articles I have written in the past since the procedure is always the same and is fully guided.</p><p><a href="https://andrea-alicino.medium.com/how-to-install-unreal-engine-5-6b6700bf0f15">How to install Unreal Engine 5</a></p><p><strong>STEP 1: Project creation </strong><br> <br>You should find yourself on a similar screen once you open Unreal Engine through the Epic Games hub.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hmG9gWuqBkTWuY-B7cYB6Q.png" /></figure><p>Selecting the Games item will allow you to start with a blank project or one of the templates offered. <br>For my project, I will start with a blank project, but I often find myself using the third-person template to make small prototypes and experiment with features that I later want to implement in games.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*knx5Vg6vU7yXdQH3jNxlTg.png" /></figure><p>On the right-hand side, you can also see other settings related to the project, associated with the use of Blueprints versus C++, what will be your primary target platform, quality, initial content, and use or not use of Raytracing</p><p>These are all editable later as well; by habit, select C++ since I will always use the code to define my Blueprints, but we will get to that later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OlIdkYY0T4LUmQ6bH37COA.png" /></figure><p>Finally, at the bottom, you can decide the name of the project and where to go to save it.</p><p>Creating and opening the project will take some time. In the meantime, let’s start talking about git.</p><p><strong>STEP 2: Creating the repository</strong></p><p>I have already written an article explaining everything, but a quick review and a few additions are okay.</p><p><a href="https://andrea-alicino.medium.com/day-1-git-the-tool-you-absolutely-need-bf26db55b5e5">Day 1: Git, the tool you absolutely need</a></p><blockquote>NB: I recommend using Github since I use that, but if you prefer to use Gitlab or Bitbucket, there is no problem.</blockquote><p>When creating a repository, we can define a .gitignore to use. We can directly select Unreal Engine and proceed with the creation among the various choices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*96etyqFQvqrfLDWB8LV5Kw.png" /></figure><p><strong>STEP 3: Initialize git and link it to the repository</strong></p><p>Arriving at this step means that we have installed Unreal Engine and Git on our PC and created a project on the computer and a repository in our Github account.<br>What we need to do is connect them, and to do this, we need to open the git terminal in the root folder of the project.</p><p>Let’s open our folder, and inside it right, click and select “Open git bash here.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/332/1*3Uwl2v5rDO4_0ZjXht_W2w.png" /></figure><p>A terminal like the one in the figure should open.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/1*47NMLJFwDWKz1qTlYDAl_w.png" /></figure><p>Inside it, we go to enter the first command. In this way, we will initialize the repository on our pc<br>git init</p><p>To link the project to the online repo, we should use the command<br> git remote add origin &lt;URL_repository&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*72kTmuVUxh3-f12DqUcxzg.png" /></figure><blockquote>NB: if this is your first time, it will ask you to enter your GitHub credentials and authenticate your computer.</blockquote><p>You will need to use the git pull origin master command to grab the data already in the online repo, like the .gitignore</p><p>Now, it’s time to upload your files to the online repository. To do this, you need to use the command git add .</p><p>Now, you have to create your first commit with the command git commit -m “your first commit” (you can enter any text you want)</p><p>Finally, you must use the command git push origin master to upload everything to the remote repository.</p><p>If this was your first commit, congratulations. Now we can start.<br>See you in the next article🚀.</p><p>I just added two small notes.</p><p>1. Having done this procedure, I usually use a program to manage everything about Git in projects. I use Fork, but many programs, even free ones, can do the same thing without always using the terminal to do these operations.</p><p>2. Modern conventions have replaced the name ‘master’ of the main branch with ‘main’. I recommend not making mistakes since the git terminal will still call it ‘master’ after initialization.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6da5257520e1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>