<?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 hʌnz.rx on Medium]]></title>
        <description><![CDATA[Stories by hʌnz.rx on Medium]]></description>
        <link>https://medium.com/@crpthnz?source=rss-9663c9f055a2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*PXHVjqIaGNf57Ug_X3TuWA.png</url>
            <title>Stories by hʌnz.rx on Medium</title>
            <link>https://medium.com/@crpthnz?source=rss-9663c9f055a2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 00:51:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@crpthnz/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[Dev Diary [#47] QoL Changes, New Buildings and Refunds]]></title>
            <link>https://medium.com/world-of-kraka/dev-diary-47-qol-changes-new-buildings-and-refunds-a68f80e6d88a?source=rss-9663c9f055a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/a68f80e6d88a</guid>
            <category><![CDATA[strategy-games]]></category>
            <category><![CDATA[devlog]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[pixel-art]]></category>
            <category><![CDATA[indie-game-dev]]></category>
            <dc:creator><![CDATA[hʌnz.rx]]></dc:creator>
            <pubDate>Sat, 11 Oct 2025 22:02:17 GMT</pubDate>
            <atom:updated>2025-10-12T11:52:53.038Z</atom:updated>
            <content:encoded><![CDATA[<p>Many QoL changes this time. No huge components or systems. Why? Well, if I want to playtest with players soon, I think that their feedback would include exactly these things. <em>And I also hated it.</em></p><p>It&#39;s basically to reduce “negative” feedback on the obvious things so that they can come up with something more important and new.</p><h3>Minor UI Changes</h3><p>Right-clicks now close opened UI elements. Info panel on the right, building menu on the bottom, etc.</p><h4>Mood Layer Icons</h4><p>Added the so-called “Mood Overlay”. When you activate it, you see smiley faces based on the Krakas&#39; mood. It helps to identify which Kraka is urgent to take care of easily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cXO5JkzaMYaU3BitvjOwng.gif" /></figure><h3>Professions Extended</h3><p>I added an additional feature for “on-site” workers. Buildings that require on-site workers can also require resources for production.</p><p>Some examples:</p><ul><li>Water Pump : [requires] none -&gt; [produces] water</li><li>Juice Maker : water + carrot -&gt; juice</li><li>Sawmill : wood + wood -&gt; wood block</li></ul><p>I believe that now, I have all the necessary professions for the game. So you can do the following:</p><ul><li>Build</li><li>Farm (carrots, trees, etc.)</li><li>Mine (trees, stone, etc.)</li><li>Haul resources (to storages)</li><li>Work in buildings/spots (transform resources into different ones)</li></ul><h3>Cashback or Refunds?</h3><p>People like cashback, right? I did my part and analyzed a bit. I have noticed that games without this feature at launch often end up with it as their top-requested feature from the players.</p><p>So, I made it so that when you destroy your building, you receive 50% of the initial resources back.</p><p>It does not apply to crops and trees, but only to buildings. Or some other structure in the future, such as statues.</p><p>An example:</p><p>The building cost for a sawmill is 15 wood and 10 stones. If you destroy it later, you get back 7 wood and 5 stones.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2C73IGZdMATjJWB5CeHUxw.gif" /><figcaption>It is still missing some *boom* animations</figcaption></figure><h3>Food and Drinks</h3><p>Firstly, I removed eating places, at least for now. They will return later with a slightly different implementation.</p><p>Krakas go and find food in stores. They go to the closest storage to their current position. It sounds more logical and feels natural.</p><p>Speaking of drinks, a new building has been added: A Mixer Spot.</p><h3>Buildings Updates</h3><p>Let&#39;s start with the Mixer. It turns water and carrots into juice. And the juice gives you better buffs, so the Krakas are happier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/361/1*lAoWAeqcpARFPzo3OSBJog.png" /></figure><p>With this building, I implemented a mechanism that runs the building animation while Kraka is working there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*nujnDAzsqFZ6KSbhD0l5Jw.gif" /></figure><p>New Hauler’s Spot sprite:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/357/1*Xb9qOyDDII1Zhjma7w-R3A.png" /></figure><p>Sawmill *not the final version, obviously. But testing a brand new 2x2 building. It transforms two wood pieces into a single wood block.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*dBGWY2bzihRgCLW0SbWmXg.gif" /></figure><h3>Krákas Behavior Enhancements</h3><p>It is a mix of things.</p><p>Krakas find not only the first available loot but also the nearest loot. It was random before. It was causing a lot of illogical decisions, and it was prolonging their routes way too much. Now it&#39;s more efficient.</p><p>And because the haulers are key roles in the game, the least I can do is make them efficient by design.</p><p>Krákas also transfer loot to the nearest storage.</p><p>I fixed Krakas moving direction while haluning resource — forgot to implement that last time.</p><p>I also have something for all the ADHDers. Sleeping, workplaces, and working spots. No more random locations where Krakas stand. When they reach the final location and stop, I move them to precisely the same spot for each building or resource. Leads to perfectly synced visuals. It used to be in some kind of rage before. It was more organic, yes, but also unpleasant to watch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PX5OxWs5LfNUuU-iUU5LzA.png" /><figcaption>See how they are aligned, beautiful</figcaption></figure><p><em>Such details should not be a thing for the current version, so don’t copy them if you are building your first alpha. But I simply can’t help myself, lol.</em></p><p>I also implemented many new fallbacks. Mostly to prevent some unexpected situations in Krakas behavior.</p><h3>Thanks for reading it all…</h3><p>… and see you next time!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a68f80e6d88a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/world-of-kraka/dev-diary-47-qol-changes-new-buildings-and-refunds-a68f80e6d88a">Dev Diary [#47] QoL Changes, New Buildings and Refunds</a> was originally published in <a href="https://medium.com/world-of-kraka">krákaworld</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dev Diary [#46] Map, Regions, and Biomes]]></title>
            <link>https://medium.com/world-of-kraka/dev-diary-46-map-regions-and-biomes-831b1d958ff5?source=rss-9663c9f055a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/831b1d958ff5</guid>
            <category><![CDATA[indie-game-dev]]></category>
            <category><![CDATA[indie-game]]></category>
            <category><![CDATA[pixel-art]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[strategy-games]]></category>
            <dc:creator><![CDATA[hʌnz.rx]]></dc:creator>
            <pubDate>Mon, 08 Sep 2025 13:10:18 GMT</pubDate>
            <atom:updated>2025-09-08T13:10:18.036Z</atom:updated>
            <content:encoded><![CDATA[<p>Some big changes today.</p><p>Initially, it was just a single map that you played on. Where players could view all resources, map size, and everything right from the beginning. But then I said NO.</p><p>You start on a smaller chunk of an island, and you need to restore (basically unlock) the rest during your gameplay.</p><p>The current implementation is the fifth iteration of that model. I aimed for both a good player experience and an easy-to-implement backend logic for me as a developer.</p><p>It is very usable and gives us another kind of progression, limitations, surprises, and variety.</p><h3>New Core Features</h3><ul><li>Supports terrain modification (this is HUGE)</li><li>Unlocking new regions (using in-game resources, like wood, food, science)</li><li>Biomes (no more grass-only environment)</li></ul><h3>Terrain Modification</h3><p>From now on, any changes to the map will be saved to a dictionary and restored when the game loads. It wasn&#39;t the case before. I always used the map created at the beginning.</p><p>I had to create new logic for how the game handles tiles. Not only the saving part, but also how to load it initially. It follows the recent changes implemented with the Builder Mode.</p><p>In the future, new game mechanics will be introduced that allow players to destroy certain terrain blocks and create new ones. You will be able to expand your territory, or change the terrain, or something else. This part hasn’t been implemented yet.</p><p>What I implemented, though, is the concept of regions and how to unlock them.</p><h3>Map Regions</h3><p>In the current map, the size of your starting region is 20x20. The size can vary in the futures as I introduce more maps and scenarios.</p><p>But as you play and gather resources, you can unlock more regions and expand your territory.</p><p>I don&#39;t do procedural generation. However, I would still love to have some kind of variation so the map is not always the same. What I do instead is that each region has multiple variants, and it will select one of them when you click the “unlock” button.</p><p>You cannot unlock all the regions from the very beginning, though. Some of them require other regions to be unlocked first. So I can lead you in the right direction, or somehow control the gameplay.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sN9fpNuIyCuz0cDKOV3Pog.gif" /></figure><p>The unlock button will most likely be redesigned or its mechanics relocated (maybe to a separate map overview), but for now, it is effective and usable.</p><h3>Biomes</h3><p>Pretty excited about this one. Biomes can be divided by map regions or combined in a single region. It doesn&#39;t matter. What does matter, though, is that biomes vary in many things, some examples here:</p><ul><li>Some buildings can be built only in a specific region</li><li>Same with plants. You can plant trees only in grass, not in the stone biome</li><li>Same with events. Can be biom-specific</li></ul><p>I call it biomes. However, you could argue that it is only a different set of tiles. And you are not wrong. Biomes sound better, though.</p><p>At this moment, we have the following biomes:</p><ul><li>Grass</li><li>Stone</li><li>Water</li><li>Black (this one is not playable — it serves as a background, simulating outer space)</li></ul><p>With more biomes to come later.</p><p>On a larger map, you can expect even multiple regions to consist of the same biome with unique resources or structures. Currently, I am working on a smaller scale.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3_hJFpmcCta2p5vCbhtCmw.png" /></figure><h3>Builder Mode</h3><p>You&#39;ve probably already understood that the builder mode needed some updates as well. Besides everything that has already been said, there is more.</p><p>First, for example, a water pump requires one part to be placed on water, while the second part should be placed on a grass or stone tile.</p><p>I extended the builder mode so that any building or object can have a setup for the biome it requires for all the tiles it occupies. If it is size 4x4, each tile can be set up separately. It can be only one biome, or multiple ones.</p><p>Second, any object you place will show you all the tiles required for its placement. No more confusion.</p><p>And third, if a tile is in collision or positioned on an invalid terrain or biome, it will turn red. So the player gets exact communication from the game about what is wrong.</p><p>The best explanation for all that would be the following GIF:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4RCt1wuH-1wzWh8FjS2Iiw.gif" /></figure><h3>Others Improvements</h3><h4>Krákas Navigation</h4><p>I haven&#39;t touched this area for a long time. And I didn&#39;t plan to tweak it anytime soon. But I had to. This was driving me crazy.</p><p>Pay attention to Kráka’s rotation specifically. And yes, walking through trees is not a bug. It’s a feature.</p><p>A small win is still a win, right?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7_V8ERB83c-N8BGXVSiaPQ.gif" /><figcaption>before</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LZ7jetSMZoFZSWf5d6bArA.gif" /><figcaption>after *fixed rotation</figcaption></figure><p>Well, after some time, I also didn&#39;t like that Krákas are being navigated through the middle of tiles. Looks weird with the trees. I admit. So, I have changed it, and they lean more towards the tile border. This results in better-looking navigation. I think.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jspXKG0otgIJSUNZ3jpNjw.gif" /><figcaption>after after *adjusted navigation flow</figcaption></figure><h3>A New Kráka Profession</h3><p>… kind of.</p><p>Added a possibility for Krákas to work directly at their workplace. That is different from all other professions we already have. Usually, Krákas need to go somewhere to do their job.</p><p>The first use case is a water well. Or the water pump, as I had previously renamed it. Now, it also got a sprite update.</p><p>The water pump has been changed again. No more auto water drops on every cycle. Now, it requires Kráka to operate. Why? A full-time employed Kráka can produce more water per structure than just the auto drop mechanism. It also makes more sense, and you can strategize about it.</p><p>However, this new profession will also apply to different structures with the same logic. For example, a cooking spot or a researcher spot.</p><h3>… What’s Next?</h3><p>I need to think. I have many ideas, and the list is growing like crazy. But you know what? I would like to ship an alpha demo soon. I am currently in a phase where I need to re-evaluate what is truly important and what is not. With some business trips and vacations coming up this month, I will use that time to think about that.</p><p>Then start polishing the game for the demo. One area I am sure I need to work on is sound effects. Haven&#39;t touched that yet.</p><p>Thanks for reading, and see you next time!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=831b1d958ff5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/world-of-kraka/dev-diary-46-map-regions-and-biomes-831b1d958ff5">Dev Diary [#46] Map, Regions, and Biomes</a> was originally published in <a href="https://medium.com/world-of-kraka">krákaworld</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dev Diary [#45] Introducing Builder Mode]]></title>
            <link>https://medium.com/world-of-kraka/dev-diary-45-introducing-builder-mode-3372300c7a0a?source=rss-9663c9f055a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/3372300c7a0a</guid>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[devlog]]></category>
            <category><![CDATA[strategy-games]]></category>
            <category><![CDATA[indie-game]]></category>
            <category><![CDATA[pixel-art]]></category>
            <dc:creator><![CDATA[hʌnz.rx]]></dc:creator>
            <pubDate>Fri, 29 Aug 2025 08:56:38 GMT</pubDate>
            <atom:updated>2025-08-29T08:56:38.280Z</atom:updated>
            <content:encoded><![CDATA[<p>I thought I would start with maps first, but no. I decided to redesign the building system first. Why? Technically, it is closely connected, and I had to make this decision before implementing the new map system. Otherwise, everything regarding placing objects would be broken, and I couldn&#39;t test it.</p><h3>The Building System, aka Builder Mode</h3><p>Unlike the RPG, from which the original building system came, this feature is essential for a strategy game. Hence, it needed a huge redesign. Placing any kind of object is important, and it would not be acceptable to experience any hiccups.</p><p>Now, from the technical perspective, the new version is much more efficient. The logic was streamlined, resulting in even less code. I dropped the original collision system and coded a completely new one, relying purely on tilemaps instead of a hybrid one. I used to combine objects (their collision layers and physics) and tilemaps previously.</p><p>I am using a new “builder” tilemap layer, and I validate the placeability of its tiles while building. I switch tiles on that layer on and off based on parameters from other objects, such as buildings, trees, and crops, depending on their state. A similar system as I implemented for navigation and movement.</p><p>It’s quicker, more reliable, and easier for me as a developer to read and manage. It is also more future-proof, as I can build up on this version more easily than the previous one.</p><p>But not only backend changes were made. The player also receives better feedback from the game.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I3UZV-tRne58j_v52YfG8w.png" /></figure><h4>Main Features:</h4><ul><li>The game pauses while building.</li><li>The player receives clear information that builder mode has been activated, so they are not confused about why nothing is moving due to the pause.</li><li>The tilemap displays invalid positions (red), allowing the player to identify what is occupied and what is not easily.</li><li>When you rotate an object, the calculation runs instantly again, even without moving your mouse. You can place the object more easily.</li><li>If you are in the builder mode, you cannot click on any object on the map, so their info panel doesn&#39;t disturb you.</li><li>Turned off the building feature while hovering over the bottom menu. It was causing some weird misplacements.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iEbeM2YciLA2mvfAShBOUw.gif" /></figure><p>Oh, and by the way, I&#39;ve also updated some UI elements. Just a little bit.</p><h3>What’s Next?</h3><p>I am already progressing with tilemap regions and some UI changes as well. About that later, once the final solution is implemented. I have more than three prototypes today.</p><p>Thank you for stopping by, and look forward to seeing you next time!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3372300c7a0a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/world-of-kraka/dev-diary-45-introducing-builder-mode-3372300c7a0a">Dev Diary [#45] Introducing Builder Mode</a> was originally published in <a href="https://medium.com/world-of-kraka">krákaworld</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dev Diary [#44] Game Events, Performance, and QoL Tweaks]]></title>
            <link>https://medium.com/world-of-kraka/dev-diary-44-game-events-performance-and-qol-tweaks-91aeeec2b89f?source=rss-9663c9f055a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/91aeeec2b89f</guid>
            <category><![CDATA[strategy-games]]></category>
            <category><![CDATA[indie-game]]></category>
            <category><![CDATA[pixel-art]]></category>
            <category><![CDATA[devlog]]></category>
            <category><![CDATA[game-development]]></category>
            <dc:creator><![CDATA[hʌnz.rx]]></dc:creator>
            <pubDate>Fri, 22 Aug 2025 07:59:19 GMT</pubDate>
            <atom:updated>2025-08-22T07:59:19.595Z</atom:updated>
            <content:encoded><![CDATA[<p>Continuing from the previous Mood Dev Diary to in-game events. It could have been one Diary because it is related, but I decided to split.</p><h3>Game Events</h3><p>I developed a system for in-game events. And I can’t tell if I’m a genius or if it&#39;s a complete mess, lol. It works surprisingly well. Only the future will tell, especially with an increasing number of use cases and new events.</p><p>What do I mean by events? Imagine them, like:</p><ul><li>New Krákas arrivals</li><li>Weather changes like rain</li><li>Random encounters (maybe not only Krákas can use the teleport 👀)</li><li>Disasters like wildfire, meteor showers, plagues</li><li>Magical events</li></ul><p>And much more.</p><p>Of course, not all of them are implemented today, and some might never be. But I wanted to give you a direction to look at. I only have one event currently.</p><p>… and tadaaaa, the first event is ...</p><h3>New Kráka Arrivals</h3><p>Previously, I said that every third cycle, a new Kraka will arrive in your village through the teleport. Still true. But you will have an option now.</p><p>Accept it or deny.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*waW22Dz2De7j0NSfL4-6Mw.gif" /></figure><p>Because your village might not be ready to accommodate all the new Krakas arriving that often. Simple because you don’t have enough food production, water resources, or maybe you just don’t want to have 100 Krákas at all.</p><p>But if you decline… <em>and that basically means you didn’t save the newly incoming Kráka from the dangerous outer world</em> …all your current Krákas will get a mood debuff and get sad.</p><p><em>You just probably killed one Kráka, ffs! What did you expect?</em></p><p>Look,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/1*8NGbai0JoVrmFjX0Bs02GA.png" /></figure><p>Should I punish you more for not saving the Kráka? We will see. Probably not. I don&#39;t want to be forced to accept them. For now, it gives you “only” a -3 debuff.</p><p>Also, you only have one cycle to accept. If you don&#39;t, it will be denied automatically at night, and you will get the same debuff as if you had denied it manually.</p><h3>Krákas Death</h3><p>Krákas can die now. Or leave. I do not know yet what the final animation will be, but in any case, you will lose them. Why? Because of your poor management. If their mood is too low, they have no reason to stay or live.</p><p>Currently, the parameter is set like:</p><p><em>const mood_death_treshold = -20</em></p><p><em>if kraka_mood &lt; mood_death_treshold: <br>just_die()</em></p><p>Surely, it won&#39;t stay like that for long. You should be able to play with the Krákas&#39; mood even in lower levels. Yes, with bigger debuffs, but still alive. I only need to create more events, buffs, and debuffs for that, and then tweak all that.</p><p>It is not really a type of event, as I mentioned at the beginning of this Diary, but I finally put it back into the game. So it’s there.</p><h3>Minor Updates to the Prototypes From the Past</h3><p>It was about time to finish some functionalities that I had only prototyped. I had A LOT of stuff, only half-baked or not implemented properly. So, here we go.</p><h4>Jobs</h4><p>Together with events, I took some time to improve some other parts and fix some weird bugs and issues.</p><p>Sometimes it happened that one Kraka went for the same job as another one, and the game crashed. I still do not know why this is happening, but at least the game is no longer crashing, and you can play. The second Kraka will try to do the job anyway, no real benefits, just wasting their time in there basically. Will look into that later.</p><p>Weird that it did not happen during the last stress test. This is probably an edge case with a 0.00000001% chance of happening.</p><h4>Jobs Priority</h4><p>Added a UI icon, so it’s visible to the player, and added it to the save and load functions so your choices stay like that after loading the game, and you don’t have to click all that again.</p><h4>Stop Renewing</h4><p>Basically the same as the above. The functionality was there, just the UI feedback was missing.</p><p>You can see both new icons here:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XKkgGdd-8hhCW-EFuOVBYA.gif" /></figure><h3>Performance and Technical Related Topics</h3><p>Upgraded to the newest Godot version 4.5 beta6.</p><p>I did some things that broke other things, and wtf (spent almost 16h finding that bug lol). There was no visible issue or error only that the game was randomly freezing without any explanation.</p><p>So I had to look into several areas and tried to debug what was going on and when. At least, I learned something new about Godot and tweaked some processes.</p><ul><li>Orphan nodes. Basically, objects that were removed from the game but kept in memory. It was not a big deal, but I found two functions that were not correctly implemented before, which were causing the issue. Now, that is solved.</li><li>Saving game. I checked only the saving process, but I quickly realized there was no issue. However, I did one tweak and made the game pause before the save starts and unpauses once it is finished. It takes only a few milliseconds, so it is not noticeable to players and potentially could prevent some logic flaws while saving the game.</li><li>Next was morning routines. But no. Again. A lot is happening during the morning routine, so I thought there might be some cross-processes that do not interact well. Or they go against each other.</li><li>But finally, I found the issue right after that. It was caused by loot items registering themselves for a transfer. Some weird logic while accessing a dictionary. I did rewrite that part multiple times, so I probably left some weird stuff in there. And it only took me 16 hours to find out and fix lol</li></ul><h4>Resources and Loot</h4><p>While investigating all the things above, I also implemented a reset mechanism. Triggers at night and is used by Loot, Resources, Crops, etc. It helps in case something goes wrong during playtime so that things won&#39;t get stuck, basically.</p><h3>Building Mechanism</h3><p>This one is tough. I’ve been fighting with it basically since the RPG, and I just realized I have never touched that since I started working on the strategy game.</p><p>It needs to be reworked. But for now, the game pauses when you start building. It solves many weird issues. But it is just a workaround.</p><h3>What Next?</h3><h4>I got a new idea! 💡</h4><p>That&#39;s when it usually gets pretty complicated. So listen,</p><p>I have started to work on a map system. The original idea was that the player would see the whole map from the beginning. Like in Timberborn, for example. But since I like surprises and progressions, I think I might try something different. What exactly? That is for some future Diary. But expect regions, you will need to either unlock or discover them.</p><p>I am not sure how long it will take or what the final decision/solution will be.</p><p>All I know is that once I am done with this, the building system will get its needed updates as well. It might take a week or a month. I don&#39;t really know at this point. So don&#39;t be surprised if I go silent for a bit. I might share some sneak peeks on socials or post a smaller diary in the meantime. I’ll see.</p><p>Thanks for reading! … and wish me some luck, lol</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91aeeec2b89f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/world-of-kraka/dev-diary-44-game-events-performance-and-qol-tweaks-91aeeec2b89f">Dev Diary [#44] Game Events, Performance, and QoL Tweaks</a> was originally published in <a href="https://medium.com/world-of-kraka">krákaworld</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dev Diary [#43] Krákas Mood and Needs]]></title>
            <link>https://medium.com/world-of-kraka/dev-diary-43-kr%C3%A1kas-mood-needs-db0f4c734115?source=rss-9663c9f055a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/db0f4c734115</guid>
            <category><![CDATA[strategy-games]]></category>
            <category><![CDATA[indie-game]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[pixel-art]]></category>
            <category><![CDATA[devlog]]></category>
            <dc:creator><![CDATA[hʌnz.rx]]></dc:creator>
            <pubDate>Thu, 14 Aug 2025 13:02:57 GMT</pubDate>
            <atom:updated>2025-08-14T13:04:11.024Z</atom:updated>
            <content:encoded><![CDATA[<p>Known initially as Kráka Needs. It was completely reworked, and it evolved into Kráka Mood. Simplified? Not really.</p><h3>Individual Kráka’s Needs And Mood</h3><p>From Needs like hunger, thirst, rest, and social to something more universal, maybe even more complex, but also easier to manage (at least from the dev perspective).</p><p>Krakas still have those needs, but the way the score is calculated has changed. We used to have a score for each need separately. Details can be found in this older <a href="https://medium.com/world-of-kraka/dev-diary-38-kr%C3%A1kas-needs-and-water-f683856389bb">Dev Diary</a>.</p><p>Now we have one score for Kraka’s Mood. It consists of many buffs and debuffs based on the Krakas&#39; Needs fulfillment. I took inspiration from my beloved Rimworld, and I am basically storing buffs and debuffs according to Krakas&#39; behavior with a score. Then, I sum it up and work with that number.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/361/1*IVxejg7wXXTUDookOMpouA.png" /><figcaption>temporary UI, but you got the idea</figcaption></figure><p>How the score scale works:</p><ul><li>A score around 0 is Okay-ish.</li><li>A negative score will penalize you. Krakas are unhappy.</li><li>A positive score will give you benefits. Krakas are happy.</li><li>Krakas with a deep negative score (something like -30 or so) will die (or leave). Textation would be like “Extremely unhappy” or “Fighting for life” or “Slowly dying” .. OK, that might be a little harsh, lol</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/363/1*wbmWeIgNretB96qgqq6EIA.png" /><figcaption>I let this poor Kraka suffer so you can see more cycles</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/458/1*Hi37t1MTuE6L9FTz0Sy1VQ.png" /><figcaption>See, there are also some positive ones. I am not *that* cruel</figcaption></figure><p>I calculate the score for every single Kraka, but unlike Rimworld, it is also propagated to a colony level.</p><p>It changes dynamically as these events happen and is always recalculated on each cycle based on your / Krakas / activities. Some might expire in 5 cycles, like the first one in the screenshot. And for some, it only takes a cycle or two.</p><p>Currently, I have 9 (de)buffs implemented in the game, with over 30 additional ones in the Jira backlog.</p><p>Benefits or penalties are tied to Krákas’ movement speed and working speed. Also, if the mood is very negative, they can kinda demonstrate and go idle for some time before they leave completely. That will not help the situation at all, so you don’t want that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*xB9OXeryv0VYpOp-q-nuxg.png" /><figcaption>happy Kráka, faster Kráka (not this one, lol)</figcaption></figure><p>The modifiers need to be tested and balanced. This 50% penalty was very punishing and clearly visible during my playtesting. So I will keep playing and adjusting.</p><h3>Global Mood Score</h3><p>Some say you could also describe it as a global happiness index. And yes, you absolutely could.</p><p>This number gives you quick information about how your village is doing in general.</p><p>But even if your score is +10, that doesn’t mean all Krákas are happy. You can have quite an acceptable or a positive colony score, but one or two Krakas might still be very unhappy and leave you. You&#39;d better be careful and pay closer attention.</p><h3>Game Pause</h3><p>I also implemented a proper game pause. You know, pause the game, move around with the camera, place buildings, plant crops, change storage options, or destroy some stuff while all Krakas are in stand-by mode.</p><p>I had the pause option in the previous versions, but it simply stopped the whole engine, and you could do nothing, not even move the camera. So this is a big deal. You can actually play while paused. Yay!</p><p><em>And how is THIS related to the Mood topic?</em> Glad you asked. It looks like it is not, but it is a prerequisite for the following Dev Diary. This will cover the new game events system, and some events will trigger new buffs and debuffs. And as you already know, buffs affect Krakas mood.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QdiDr3w2TAViF_0xau0YxA.gif" /></figure><p>Oh, and did you notice? Tried something new for UI, finally. The right panel, not the bottom one. Still not happy with the buttons, though.</p><h3>The Destroy Button</h3><p>You can no longer demolish buildings or resources while Krakas have claimed them for a job.</p><p>Now, you can demolish trees and crops if you need more space or you want to redesign your village layout and rebuild. Previously, it wasn&#39;t possible for resources, and you had to wait until Krakas mined them while you also had to put them in “Stop renewing” state so they would not re-grow automatically.</p><p>But only if they are fully grown or ready to plant, not in the middle of their growing process. Simply to prevent cheating while they are on cooldowns.</p><p>However, you can still set them to “Stop Renewing” at any time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M4Iw_q9ZCwJHWLmAcJg5og.gif" /></figure><h3>What Next?</h3><p>Quick and easy answer. A new in-game event mechanism, as I mentioned above. You may remember that I did have one for the RPG version. Maybeee I could utilize some code or logic from that one, I’ll see.</p><p>So stay tuned!</p><p>It finally started to feel like a game. You know, taking care of your Krakas and trying to manage their mood. I love it.</p><p>Thanks for reading this. And see you soon!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db0f4c734115" width="1" height="1" alt=""><hr><p><a href="https://medium.com/world-of-kraka/dev-diary-43-kr%C3%A1kas-mood-needs-db0f4c734115">Dev Diary [#43] Krákas Mood and Needs</a> was originally published in <a href="https://medium.com/world-of-kraka">krákaworld</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dev Diary [#42] Storages vol.2]]></title>
            <link>https://medium.com/world-of-kraka/dev-diary-42-storages-vol-2-55f3dda51c46?source=rss-9663c9f055a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/55f3dda51c46</guid>
            <category><![CDATA[pixel-art]]></category>
            <category><![CDATA[strategy-games]]></category>
            <category><![CDATA[indie-game]]></category>
            <category><![CDATA[devlog]]></category>
            <category><![CDATA[game-development]]></category>
            <dc:creator><![CDATA[hʌnz.rx]]></dc:creator>
            <pubDate>Thu, 07 Aug 2025 08:03:53 GMT</pubDate>
            <atom:updated>2025-08-07T08:03:53.507Z</atom:updated>
            <content:encoded><![CDATA[<p>This Diary is only focused on the storage development and related stuff to it, plus some minor improvements. So it is shorter than usual. I am trying something new here, okay?</p><h3>Storage Modules</h3><p>I have upgraded storage components even further this time.</p><p>The original idea was always having one storage module for only one resource. So you are motivated to build many modules. And there are two ways of doing that.</p><ul><li>Create a specific building for each and every possible resource</li><li>Create one universal, but the players can select what resources they want to store in there</li></ul><p>I went with the second option. For many reasons, but mostly it is easier to manage it this way than many different in-game implementations. Also, the players can switch the module settings and switch the storage from wood to stone, for example. All without needing to destroy and rebuild.</p><p>The first storage module can hold up to 50 additional resources of your choice. And later on, I will add more advanced modules with higher capacity.</p><p>Only storages can hold resources from now on. No more 15 capacity from workplaces like I mentioned in the last diary. If future playtesting shows it is needed, I will reconsider. But I feel it only brings confusion if it’s mixed.</p><p>The UI is still sloppy, but as I said many times already, ignore that. A new UI will come later.</p><p>If you destroy or change the storage type while Krakas are transferring the resource to it, they will still go to that place, but they will drop the resource on the ground.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/0*0kuKrs6YKQqTUGav.jpg" /><figcaption>where storage</figcaption></figure><p>But not only that. If you reduce your total storage capacity while having more in the stores, all the surplus resources will spawn on the ground as new loot. You will not lose them, but you cannot keep them in the store while having less total capacity, right?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u7YBHpzYCOWBDFxGkQ8b9w.gif" /><figcaption>not sure why this gif is so slow and jittery</figcaption></figure><h3>Save and Load System</h3><p>I replaced 103 lines of code with only 7 in the general loading script. Saved some time (ms) and made it more readable. Small wins matter!</p><p>Fixed error with freed/deleted objects on load, if they were saved in the first place.</p><p>Also, I have finally added autosave. It proceeds on every new cycle.</p><h3>Stress Test</h3><p>I did an extended stress test. Running the game at speed x15 for 300 Cycles.</p><p>It gave me some insightful information, and it also crashed multiple times. To prevent all flaws, I implemented some new fallbacks and fixed logical errors in Krakas&#39; behavior. Mostly related to loot and storages.</p><p>As a result, I am happy to say the game can run now for hours and hours with 100+ Krakas working, planting crops and trees, transferring resources, destroying or building objects, eating and sleeping, etc., without any crashes (at least for now while I am typing this lol). No stuck Krakas, no stuck resources, and so on. Also, the x15 speed won&#39;t be available in the game. It&#39;s only for me to test and debug. You will only get up to x3, which is more friendly to all processes and in-game calculations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s5AXF1S1LNbmDO6VqlDlCw.png" /><figcaption>the campfire was overcrowded by 70+ Krakas lol</figcaption></figure><p>It’s worth mentioning that if ANY player EVER reaches the cycle 300, even if on speed x3 all the playthrough, it would be around 15 hours of playing for this one run itself. And that would be a massive win for me, lol. So I think this stress test was enough for now.</p><h3>… And Next?</h3><p>The main priority would be Krákas’ needs and their relation to cycles. So let&#39;s not waste time and start working on that! I am kidding, I already started a few days ago… It’s going great so far!</p><p>Thank you for stopping by! Appreciate it!</p><p>See you in the next one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55f3dda51c46" width="1" height="1" alt=""><hr><p><a href="https://medium.com/world-of-kraka/dev-diary-42-storages-vol-2-55f3dda51c46">Dev Diary [#42] Storages vol.2</a> was originally published in <a href="https://medium.com/world-of-kraka">krákaworld</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dev Diary [#41] Cycles, Time, and Storages.]]></title>
            <link>https://medium.com/world-of-kraka/dev-diary-41-cycles-time-and-storages-a8a744b7bd4f?source=rss-9663c9f055a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8a744b7bd4f</guid>
            <category><![CDATA[pixel-art]]></category>
            <category><![CDATA[strategy-games]]></category>
            <category><![CDATA[indie-game]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[devlog]]></category>
            <dc:creator><![CDATA[hʌnz.rx]]></dc:creator>
            <pubDate>Thu, 31 Jul 2025 09:52:00 GMT</pubDate>
            <atom:updated>2025-08-02T14:09:59.749Z</atom:updated>
            <content:encoded><![CDATA[<p>A LOT has happened since the last dev diary, both in my personal life and development. I won&#39;t waste your time with the first one, so let&#39;s move on to game updates! Finally moving in the right direction again.</p><h3>Cycles And Time</h3><p>I made a decision and brought the cycles back. Why? Simply put, to manage time and game events more effectively and centrally. It helps me to organize the in-game time much more efficiently. I also believe it is better for player understanding and overall game experience.</p><p>But… they are different now.</p><p>Each cycle has 600 seconds (10 minutes). And the current structure looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pFwBe03NHKFp9r3pniMbjQ.png" /><figcaption><em>*it’s evolving all the time, so it might already be outdated</em></figcaption></figure><p>We have DAY, EVENING, and NIGHT parts of each cycle.</p><p>The day is for work, the evening is for eating, drinking, and leisure time, and finally, the night is for sleep.</p><p>Krakas walk and do their jobs in real-time. However, some things, such as crops and tree growth, are based on cycles.</p><p>An example: for a tree, it takes 3 cycles to grow. It’s a massive change in terms of gameplay, and I love it!</p><p>That also brought back the good old day and night cycle. The nighttime is very short. There is no actual gameplay. You can utilize that time for some planning, building destruction, or whatever you want, but Krakas will sleep until the next cycle.</p><p>I use the night for game calculations, taking snapshots for in-game stats, etc. But more on that later, when it makes it to the actual game dev diary.</p><h3>Graphics and Buildings</h3><p>I worked on the tilemaps and removed all shadows from other sprites, at least initially. I’ve tried to find a unified style that I like.</p><p>I am not hiding tiles anymore. I want you to understand that the game is tile-based.</p><p>Then, I took it even further and removed all buildings and houses. All buildings were replaced by 1x1(2) modules. Graphically, they don’t feel like buildings anymore, more like tools, spots, and items. You will not be building a city full of houses, but rather a village full of props.</p><p>For example, instead of the 2x2 Lumberjack’s Hut, there is a new 1x1 Lumberjack’s Spot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*wgsXstWMDRaMwH3hPURURg.png" /></figure><p>In the last Diary, I was AB testing a highlighter for selected items. To keep it simple and universal, I went for a completely different solution now. No more outlines or arrows.</p><p>I basically took the original sprite and changed the color and gradient. The good thing is that it automatically applies to all animations and rotations, etc. I&#39;m not sure if I&#39;ll keep it like that forever, but for now and for the alpha version, it&#39;s enough.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*3vKwobrsDtzMczsMlam7SA.gif" /></figure><h3>Storage Component</h3><p>We have storage modules now! … but not only that.</p><p>I did create a universal storage component that can be applied to any building. However, I don&#39;t want you to manage storage for each building. It affects only the total capacity.</p><p>Let’s provide an example:</p><p>The basic structure, like the Luberjack’s Spot, can hold up to 15 pieces of wood. To expand capacity, you need to build a specialized wood storage module that adds an additional capacity of 50 wood.</p><h3>Resource Looting and Transferring</h3><p>Another significant change.</p><p>I implemented a new profession — Haulers. They transfer loot, aka resources, to storage. At first, I wanted the unemployed Krakas to do so. Then, I decided to give players some choices where these Kraka Haulers could be located on the map (based on the position of buildings) and not be moving randomly or be tied only to the campfire where unemployed Krakas live.</p><p>That also means that hauling resources is no longer the responsibility of Lumberjacks, Farmers, etc. These workers only do their job (plant, mine, …)</p><p>Haulers will automatically find any loot that spawned on the ground and transfer it to the appropriate storage. If you have some or if you have free capacity.</p><p>If the loot is lying on the ground for three cycles, it will decay. And if the loot is not in your storage, you cannot use it for building stuff or production chains. Storage modules are important now.</p><p>Also, I removed the old hauling animation and replaced it with a walking one, but I added the exact item to their hands so you can see what Krakas are transferring.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/1*6teoWqibi0iCTg_D2FsfKw.gif" /></figure><h3>Job Priorities</h3><p>You can assign a higher priority to any job, and Krákas will prioritize it accordingly, whether it’s a construction job, mining resources, or planting trees.</p><p>Krákas always go to the closest job. So if you don’t like a tree standing in the middle of a map or if it’s blocking your other resources, etc, you can easily remove it this way.</p><h3>What Is Next</h3><p>I have already written updates on Krakas&#39; needs, death, and colony management for this devlog. However, to keep it kinda short, and also split it into logical blocks, I will skip it for today and will get a separate one.</p><p><em>Teaser: Krakas&#39; needs will also get a significant redesign.</em></p><p>Thank you for your time, and see you soon!</p><p>I promise. 👀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8a744b7bd4f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/world-of-kraka/dev-diary-41-cycles-time-and-storages-a8a744b7bd4f">Dev Diary [#41] Cycles, Time, and Storages.</a> was originally published in <a href="https://medium.com/world-of-kraka">krákaworld</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dev Diary [#40] Housing and Socializing.]]></title>
            <link>https://medium.com/world-of-kraka/dev-diary-40-housing-and-socializing-09f81ec8ce5d?source=rss-9663c9f055a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/09f81ec8ce5d</guid>
            <category><![CDATA[pixel-art]]></category>
            <category><![CDATA[strategy-games]]></category>
            <category><![CDATA[indie-game]]></category>
            <category><![CDATA[devlog]]></category>
            <category><![CDATA[game-development]]></category>
            <dc:creator><![CDATA[hʌnz.rx]]></dc:creator>
            <pubDate>Sun, 11 May 2025 19:46:12 GMT</pubDate>
            <atom:updated>2025-05-11T19:46:12.409Z</atom:updated>
            <content:encoded><![CDATA[<p>Before we get to the main topics, let me start differently — with something unrelated to development itself. Aaaand it’s socials….</p><h3>Social Media Profiles</h3><p>I created new social media profiles for the game. I’ll need them for marketing when the time is right. But that doesn&#39;t mean I will not post anything there during the development phase. I will. I already did, actually. I’d welcome everyone who joins any of them. As of now, we have:</p><ul><li>Bluesky</li><li>Discord is the primary channel now, supporting social alerts, etc.</li><li>Reddit</li><li>Telegram</li><li>Twitter</li></ul><p>You can find all the links on the website: <a href="http://kraka.world/">http://kraka.world/</a></p><p>The website is pretty empty for now, except for the links. I will update it once I have some pretty recordings from the game, trailer, or something.</p><h3>Backend Changes</h3><p>As the game has grown, I needed to make some rework and structural changes—you know, the boring parts that are not visible to players.</p><p>I split some classes, moved some setting parameters from scenes to resources, and more.</p><p>Since it is not very fun or interesting, I’ll skip this part and move straight to other topics.</p><h3>Gameplay Tweaks and Balancing</h3><p>I played my game a lot to test it, find bugs, and realize what is good and what is not.</p><p>The gameplay seemed too slow—there was a lot of waiting time for everything. So, I significantly sped up growing times (trees, bushes, and farms), resource gathering times, etc.</p><p>Also, how Krákas behaves, the logic behind their decisions, and some more.</p><p>It was not much of a problem when your village was already big, but I realized that it was boring for fresh games, and most players might not like it.</p><p>I’ll keep monitoring that and tweak it again if needed (probably soon).</p><h3>Building System</h3><p>I added a construction phase for all buildings. When the player places a building, only a “construction site” sprite will be visible instead of full art. Each sprite has its icon, so you know what the building is. For simplicity, the fences are the same, only the icon changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*HROgwjHkej-BR_jTONo13g.png" /></figure><h3>Housing And New Kráka Arrivals</h3><p>A new in-game element has arrived! I added housing. Houses. Or homes. Call it as you wish. Your Krákas go there to sleep, eat, and drink. They used to use storage for food and drink, but not anymore. The house is the right place for all of that now.</p><p>I added a sleeping animation. As I&#39;m writing this, I also think that maybe they should go inside the house instead of sleeping next to the door. On the other hand, sleeping outside gives the map and overall feeling some animation variety. HALP! What do I do?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/462/1*LpLvERJHrKNdmtPz3AiRBw.gif" /><figcaption>ssshhhhh, these two are sleeping</figcaption></figure><p>Krakas will find their home automatically, even if you destroy them and build new ones.</p><p>The current house has beds for 2 Krákas.</p><p>The idea is also to change how you control new Kráka arrivals to your village. If there is no free housing capacity, new Krákas will not come from the teleport to you. You can regulate the population by this simple mechanism.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SUWEwbYwVdvgTfXF5u1FxA.gif" /></figure><p>The UI panel was updated accordingly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/313/1*h54RKessSnsJWB0ThIYUlA.png" /></figure><p>The following .gif shows all the shortcuts and links between Krákas and their homes or workplaces.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2ZjfpbC9QwlHjM2viEP7TA.gif" /></figure><p>Unemployed Krákas will still hang out around the campfire as before.</p><p>There should not be any homeless Krákas unless you destroy some houses while they are already occupied. If that happened, Krákas would still work, but they would lose a place to sleep, eat, and drink, so they would be unable to fulfill their basic needs. Rebuild them quickly!</p><h4>Teleport</h4><p>Teleport is opening and closing automatically based on your housing capacity. As mentioned before, if you have free “beds”, the teleport will activate itself. Otherwise, it stays closed.</p><h3>Krákas Socializing</h3><p>A new need has been added — Social. And that makes it four needs in total.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/295/1*Jw37D2e4Hj2P8b-pE4jvbA.png" /></figure><p>Your Krakas are social creatures. They like to talk to each other. Now, the campfire is the place where they go to speak with others.</p><p>If there’s a fire, it’s 2x quicker.</p><h3>Highliter</h3><p>A small detail but…. I am testing a new way to highlight the item you have selected.</p><p>This arrow is what we have now. It is universal and requires no more time from me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/377/1*-6LQa8eIPbNuJDgv0IzlYA.gif" /><figcaption>(old)</figcaption></figure><p>I am playing with this outline at the moment. It is not very practical as it must be personalized (drawn) for every clickable item, but it probably feels so much better. (I tried to solve the practicality by using shaders, but the results were not great, unfortunately. And I am not even talking about adding a tiny animation in the future.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/377/1*DaV74EEXyaBGu9QhMR0GLQ.gif" /><figcaption>(new)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/377/1*GuwPWTXDbiJFLi13SX2m7w.gif" /><figcaption>(new but with animation)</figcaption></figure><p>How does it look to you?</p><p>I posted this before on <a href="https://bsky.app/profile/krakaworld.bsky.social/post/3lotvkq64lk22">Bluesky</a>, and the community has already been very helpful and provided some valuable feedback. I highly appreciate this and have already taken some great notes from them. Feel free to go over the post and discussion if you are interested.</p><h3>Other Notable Changes:</h3><h4>Graphical Updates</h4><p>Other already existing items that got their sprites updated.</p><ul><li>Trees</li><li>Berries</li><li>Forester’s Hut</li><li>Water Well</li><li>Miner&#39;s Hut</li><li>Underground Water Deposit</li></ul><h4>Backend Updates</h4><ul><li>Fixed crash when destroying a building while the builder was coming to it already</li><li>Fixed an issue with stuck animations when Kráka entered a fallback scenario for unavailable jobs after a save reload, and implemented the new logic into all Krákas&#39; states (14 as of now)</li><li>Fixed a bug where Krákas never drank again once they reached thirst level zero, poor things were dehydrated *sigh</li></ul><h3>Final Thoughts</h3><p>Shipping this diary took longer than expected, but progress is progress, right? However, I am leaving for a vacation now and will return in June. So again, the next one will be rather later than sooner.</p><p>I will try to do some work right after I am home again, so we have some meaningful news, but until then, KRAAAAAAAA.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=09f81ec8ce5d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/world-of-kraka/dev-diary-40-housing-and-socializing-09f81ec8ce5d">Dev Diary [#40] Housing and Socializing.</a> was originally published in <a href="https://medium.com/world-of-kraka">krákaworld</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dev Diary [#39] Teleports Are Back! … And Many Other Things]]></title>
            <link>https://medium.com/world-of-kraka/dev-diary-39-teleports-are-back-and-many-other-things-83812cf6b864?source=rss-9663c9f055a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/83812cf6b864</guid>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[pixel-art]]></category>
            <category><![CDATA[strategy-games]]></category>
            <category><![CDATA[devlog]]></category>
            <category><![CDATA[indie-game]]></category>
            <dc:creator><![CDATA[hʌnz.rx]]></dc:creator>
            <pubDate>Mon, 31 Mar 2025 08:09:54 GMT</pubDate>
            <atom:updated>2025-03-31T08:13:20.975Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dev Diary [#39] Teleports Are Back! … And Many Other Things</h3><p>Krákas,</p><p>This diary is packed with news from many different areas. Some smaller, some bigger. But it has been a productive sprint! So, let&#39;s dive right into it!</p><h3>Teleports Are Back!</h3><p>Exciting news. I missed them. What’s their use case? Well, you don&#39;t travel between islands anymore, as you would in RPG, so I had to re-purpose them.</p><p>There will always be a teleport on your map. You can decide to open it or close it. When the teleport is opened, time starts ticking, and when some lost Kráka finds a way, they will teleport right into your village.</p><p>Yo, basically, it’s a structure that produces new villagers for you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/1*hgm6n0faVmady3XgFMtPNQ.gif" /><figcaption>2X Speed</figcaption></figure><h3>Multiple Resources From One Job</h3><p>I adjusted how resources are dropped, and the game now supports multiple resource drops. Not only multiple amounts of the same resource, but anything.</p><p>Starting with water. Every time Krakas goes for the water and uses a water well, they bring back three water drops instead of one. It should help with game balancing. I couldn’t keep my water production in surplus while having six farmers and two foresters running.</p><p>I also changed how Krákas transport resources. I haven’t put any limits on that for now, but I could and maybe will in the future. Each Krákas has its own inventory, so it should be easy to adjust if I decide to change how resources are picked up or delivered.</p><h3>Krákas Needs</h3><p>Expanding needs from one to three.</p><h4><strong>Hunger</strong></h4><p>Hunger was introduced last time. (<a href="https://medium.com/world-of-kraka/dev-diary-38-kr%C3%A1kas-needs-and-water-f683856389bb">link</a>)</p><h4><strong>Thirst</strong></h4><p>To utilize water even more, I have implemented our second need — thirst. Like hunger, the Kráka’s thirst changes over time. If thirsty, they will find the closest storage, go there, drink some water, and go back. Their maximum thirst is ten. The thirst value of water is one. More advanced drinks will come later.</p><h4><strong>Rest</strong></h4><p>Unlike the previous, the rest is not calculated over time. Every job your Kráka does reduces rest by one. When rest reaches 0, your Kráka needs to rest. They will simply go to the campfire and rest there for some time. That process fully recharges their rest need, and they can return to their workplace.</p><h3>Campfire, aka Town Center</h3><p>As mentioned above, the campfire provides rest to Krákas. But also now, the campfire consumes wood. You can also turn it off if you want. Why? Maybe you are running out of wood and want to trade saving some wood for longer resting time (worse effectiveness). Maybe.</p><p>No wood, no fire.</p><p>No fire, n̶o̶ ̶r̶e̶s̶t rest time takes 2x longer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/1*xHasthVotu3sgKgmISjnxQ.gif" /></figure><h3>Custom IDs</h3><p>I had to invent a custom ID system for my in-game objects. I am currently using it for Krakas and other placeable objects like buildings, trees, plants, etc.</p><p>Why? The reason is that when Godot instantiates its nodes, it names them sequentially as it creates them in your scenes. For example CharacterBody@123, CharacterBody@124,..</p><p>When I loaded the game from its save, Godot sometimes recreated the node with different names, probably due to the changing loading order or something. Kraka1 suddenly became Kraka5.</p><p>I use prefixes and random numbers from 1 to 10000000000. So the final ID looks like Kraka_15465219, Lumberjack_4485763, and so.</p><p>I save it as a string and rename the node. Every time the game is loaded from the save, I let Godot do its thing first, and only after that, I rename it again with my custom ID, which is always the same. It saved me a lot of headaches, to be honest—10/10 recommend.</p><h3>UI Updates</h3><p>Big changes. Not design-wise but functionally.</p><h4>Right Info Panel</h4><p>This is the one that opens when you click on an object or Kráka. Gives you more details about the selected thing.</p><ol><li>The UI panel updates in real time. Previously, only on opening.</li><li>Added Kraka needs levels; all of them — Hunger — Thirst — Rest</li><li>Workplace icon in Kráka profile. When you click on it, it focuses the camera on that building. Easy to find where the Kráka is working.</li><li>Likewise, with the Kráka icon in the workplace profile. The camera jumps to that exact worker.</li><li>In Kráka&#39;s profile, there’s a new button, “Camera Follow.” When hit, the camera automatically follows the selected Kráka. So you can spy on them until you hit that button again or move with the camera using the keys.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*063RW36bYoyEfHaGO89CoA.gif" /><figcaption>Showcase of mentioned features (.gif)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/333/1*aG5nfTTTIY3eRxZjoOp5dQ.png" /></figure><h4>Kráka Macro-Stats</h4><p>I added a counter that shows you all Krákas and unemployed ones for easier orientation.</p><p>This will be expanded further, with more detailed real-time statistics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/253/1*UIcFBzeapBA1i-PTM49GTw.png" /><figcaption>Means 12 villagers, 0 unemployed</figcaption></figure><p>*Please note that all UI elements are temporary. I’ll work on UI at the very end. At this moment, I just need <em>something, </em>even if it&#39;s not super polished.</p><h3>Starting Resources</h3><p>The game supports starting resources now. If you start a new game, I can set the starting package for each map—something like 100 wood, 100 carrots, 50 water. You will never start your game with zero resources unless it’s hardcore mode in the future.</p><h3>Auto-Replanting Mechanism</h3><p>If you plant crops or trees, they will auto-replant or auto-renew if you wish. That’s been in the game since the beginning. Then, I added water consumption at the start of every cycle. And now, I’m adding a button that allows you to cancel this auto-renewal process.</p><p>If you hit that button and your Kráka mines the resources, they will be removed from the map. You can always plant them manually again.</p><h3>Fallbacks</h3><p>With growing Kraka AI, many new decision trees, and increasing overall complexity, it was time to extend our fallback behaviors.</p><p>For all the game developers who are reading this and have never heard of it, Google it. It’s very important. You can understand fallback as a “Plan B.”</p><p>Imagine some of your main flows did not happen for <em>any </em>reason. The character would get stuck, not knowing what to do, or, even worse, the game would crash completely.</p><p>Now, my example. There’s a resource — a tree and two lumberjack Krákas.</p><p>My process is simple: resources register their availability to the Task Manager, and Krákas call that Manager to find jobs. The Task Manager should assign the job, and then the resource will mark itself as unavailable to other Krákas so that no other Kráka will receive this resource as their job target.</p><p>But <em>theoretically, </em>it could happen (1 out of 10000000 times) that Krákas will call the manager at the exact same millisecond, and they receive that resource as a job target. They both go to the tree, but while the first Kráka is already there cutting it down, the second Kráka is still on its way. Kráka2 finally comes to the desired place, but <em>WHAAAAT, </em>the tree is already gone. <em>What do I do?</em> Now, that depends on your code. The game might crash. The Kráka might be just standing there and be confused. And that’s precisely where the fallback <em>should </em>be implemented.</p><p>In this case, I implemented logic so that if the targeted resource disappeared from the map, Kráka would stop, return to their workplace, and restart all the usual decision processes.</p><p>That was one example, but I also implemented ten more for some other scenarios. These were mainly related to missing resources and jobs, destroyed workplaces, and removed crops/tree saplings.</p><h3><strong>Updated Sprites</strong></h3><p>I’m playing with art in general, but this time, my focus was on production buildings. You can notice new sprites for water wells, builders&#39; huts, lumberjacks, and some more. It&#39;s still a work in progress, though.</p><p>I primarily draw stuff when I can’t code or when I need some rest from the coding part. That’s also why you can notice some discrepancies within multiple screenshots and recordings. This will happen until the alpha release all the time, and most probably even after that, but I’ll be updating you about that then.</p><h3><strong>Final </strong>Thoughts</h3><p>It&#39;s fun to watch them move. The village looks lively with all these changes. There is always some movement — I love it. And it’s gonna get even better with animals, new production buildings, and new resources.</p><p>Thank you for reading, and see you next time!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83812cf6b864" width="1" height="1" alt=""><hr><p><a href="https://medium.com/world-of-kraka/dev-diary-39-teleports-are-back-and-many-other-things-83812cf6b864">Dev Diary [#39] Teleports Are Back! … And Many Other Things</a> was originally published in <a href="https://medium.com/world-of-kraka">krákaworld</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dev Diary [#38] Kráka’s Needs and Water]]></title>
            <link>https://medium.com/world-of-kraka/dev-diary-38-kr%C3%A1kas-needs-and-water-f683856389bb?source=rss-9663c9f055a2------2</link>
            <guid isPermaLink="false">https://medium.com/p/f683856389bb</guid>
            <category><![CDATA[indie-game]]></category>
            <category><![CDATA[devlog]]></category>
            <category><![CDATA[pixel-art]]></category>
            <category><![CDATA[strategy-games]]></category>
            <category><![CDATA[game-development]]></category>
            <dc:creator><![CDATA[hʌnz.rx]]></dc:creator>
            <pubDate>Thu, 20 Mar 2025 16:16:44 GMT</pubDate>
            <atom:updated>2025-03-20T16:16:44.399Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*PoRH1896jlV47LRKroIExQ.png" /></figure><p>Let me start with something different and unrelated. *<strong><em> ???</em></strong></p><p>I spent 5 days minimum working on shadows. I tried Godot&#39;s built-in light and shadow features and spent billions of hours on Reddit, Godot forums, and YouTube. Unfortunately, the result wasn&#39;t what I wanted to achieve.</p><p>Then, I got an idea(!)- let&#39;s use shaders instead. I spend another gazillion hours coding and testing and reworking, but again. Not what I wanted to achieve. With shaders, though, the Kraka’s shadows looked fantastic. Mirroring the active sprite and animations 1:1 just flipped and skewed slightly. It felt great. Well… I wish I could say that about buildings, too — especially non-symmetrical ones. It looked odd and cheap. Grrrr.</p><p>Why dis? I wanted to achieve some kind of 3D effect. Shadows would react to different light positions (e.g., The Sun is moving) and their intensity. Well, not this time. It&#39;s not important at this stage anyway. But it was fun, and I learned something new again.</p><p>So… back to the original approach. I will manually draw them with a few semi-transparent pixels for each sprite. Not fancy, but at least there are no issues with that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*umBxHwcNTS-Jekni" /></figure><p>And now, finally(!) to the core news of this Diary. Some success stories.</p><h4><strong>Kráka’s Needs</strong></h4><p>The first need must have been hunger, of course. ̶I̶f̶ ̶a̶ ̶K̶r̶á̶k̶a̶ ̶i̶s̶ ̶h̶u̶n̶g̶r̶y̶,̶ ̶t̶h̶e̶y̶ ̶d̶o̶n̶’̶t̶ ̶w̶o̶r̶k̶.̶̶ Krákas still work even if hungry, but — each Kráka has its happiness coefficient. And that coefficient affects working speed and delays between particular jobs.</p><blockquote>Hungry Kráka, angry Kráka.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/0*khciyoc1aFjcgnYy.gif" /></figure><p>Why hunger first? Really? Isn&#39;t that obvious? Hunger is a basic need! I also needed to utilize the food you are producing now. Build your first food production chain, optimize it, and watch them be happy.</p><p>All Krákas need to eat, even the unemployed ones. The more Krákas you have, the more food you need. If they don’t contribute to your village or are idling for a long time- you waste your food basically.</p><p>Krákas go to the nearest storage, take some food, eat it, and return to the workplace. If you destroy the targeted storage while they are on the way there, they will return to the workplace instantly.</p><p>Each food has its own nutritional value. Raw food has a value of 1, while some advanced food will have a value of 2, 3, or even 4 or 5. The higher the value is, the less food Kráka needs to eat to fulfill their need. And less time they spend eating = more work they do.</p><h4>Let’s Talk About Water</h4><p>You need to build a water well to extract water. There are specific tiles on the map for that. Water will be used for planting crops and trees.</p><p>When you place tree or crop signs — basically the marks where the foresters and farmers go. You will pay in water for them. Then, all other work from Krákas is “free.” It is only about the time they need. But once you reach the end of the cycle (they harvest the resources and need to start from the first stage), it costs water again.</p><p>Water Well -&gt; Water</p><p>The question: How can water production be incorporated into the game? Options I have on the table now:</p><ul><li>Kráka is assigned to a water well permanently and produces water. It will make it a full-time job for one dedicated Kráka.</li><li>Farmers and foresters go to the water well whenever they need or are idle. That will save a Kráka for other jobs but will probably prolong the growth time of trees and crops.</li><li>Gatherers will handle that alongside the berries.</li></ul><p><strong>For now, I went with the third option</strong>, which was very easy to implement. Thanks to my excellent code design, it required only about two clicks in the resource settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/0*5M4O57mz8pCSJlY7.gif" /></figure><p>But maybe I’ll try all of them in the future or think of something different eventually. Also, it can be cool to test a few different scenarios to decide which is more fun to play.</p><p>Here is the latest recording, 2 minutes. No sounds.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F4SLbA6YzG6c%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4SLbA6YzG6c&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F4SLbA6YzG6c%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/5a4136fa3f8f1741cb7397be2dfde8fe/href">https://medium.com/media/5a4136fa3f8f1741cb7397be2dfde8fe/href</a></iframe><p>You can notice all the mentioned changes. The only thing I forgot to capture is how the Hunger is calculated and updated. I don&#39;t have a UI for that yet, and my debug labels were turned off, so you need to wait for some later updates, probably those related to the UI. Sorry!</p><p>Thanks for reading that, and see you in the next one.</p><p>KRAAAAA!</p><p>PS: I must admit I am addicted to watching them work. LOL</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f683856389bb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/world-of-kraka/dev-diary-38-kr%C3%A1kas-needs-and-water-f683856389bb">Dev Diary [#38] Kráka’s Needs and Water</a> was originally published in <a href="https://medium.com/world-of-kraka">krákaworld</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>