Elektrine lite

← Feed

Jakub Neruda

jakub_neruda@techhub.social

<p>Software engineer and hobby game programmer. I am mainly talking about C++, Clean Code and my gaming projects.</p><p>Check out my Itch.io profile for cool PC/Android games!</p><p><a href="https://techhub.social/tags/cleancode" class="mention hashtag" rel="tag">#<span>cleancode</span></a> <a href="https://techhub.social/tags/cpp" class="mention hashtag" rel="tag">#<span>cpp</span></a> <a href="https://techhub.social/tags/gamedev" class="mention hashtag" rel="tag">#<span>gamedev</span></a></p>

Posts

  • Post #4254476

    TGUI is a great library for building GUIs, but it seems it isn&amp;#39;t tailored for pixel-art stuff. That or I am dumb and can&amp;#39;t make it use the same scaling across the board πŸ€” #WipWednesday #gamedev #TGUI

  • Post #4254475

    When I was young, there was this Tamagochi-esque game console which you used to scan barcodes and each barcode had a chance of spawning some random monster. I don&amp;#39;t remember if it allowed fighting like in Pokemon, but it sounds like something that could be cool on a smartphone 😎 (And I totally did not look up a C++20 library for parsing barcodes and totally did not hook it up with SFML to load in images) #gamedev #gaming

  • Post #4254474

    Funny. The first time my game entered the exception handling code on the left, it froze for at least half a second. But only for the first time. I wonder if MSVC uses some lazy memory allocation in its exception instrumentation, or what could cause it. πŸ€” #gamedev #cpp

  • Post #4254473

    Wow, this is a very good #gamedev advice! https://youtube.com/shorts/ZYZRr05AMNE

  • Post #4254472

    Two-step guide for making killer sound effects for your game: 1. Download a bunch of free VST plugins for your DAW 2. Have no idea what to do with them --- Jokes aside, both music and sound crafting are way harder skills to acquire than 2D/3D art, simply because you can always use some sort of reference graphics, learn by tracing, and apply concepts (like shading, squash-and-stretch, ...) gradually. Whereas with sound crafting you either need to know what you&amp;#39;re doing or delve into en...

  • Post #4254471

    This game is turning out to be an absolute mayhem! (A bit too late to #ScreenshotSaturday) https://youtu.be/RAbdVRB8mHo #gamedev #indiedev

  • Post #4254470

    My bi-yearly summer urge to start playing some WoW-like MMO on my phone emerged again. First I was saddened that Order &amp;amp; Chaos servers have been shut down a long time ago. Then I found out that the community revival project is gonna start on 15 of July. And then I decided to kill the time with a new kid on the block, #Eterspire . It is nowhere near the experience I wanted, but is fun nonetheless and is pretty friendly to solo questers. The writing is fun for an MMO, gear upgrade and r...

  • Post #4254469

    Replaying #Doom3 these days. It is a really flawed game. Enemy design and placement is downright unfair, weapons either lack punch or damage output, level design can&amp;#39;t decide between horror atmosphere and action-packed gameplay. But it has bright moments. Like the Enpro Plant level (the one with damaged reactor) is legit cool - action ride from start to finish. #gaming #retrogaming

  • Post #4254468

    Love it when the community joins forces to make something amazing. Two weeks back, I once again felt the urge to scratch the WoW itch. I was looking for some MMO running on Android and remembered Order &amp;amp; Chaos. Both O&amp;amp;C 1 and 2 (developed by Gameloft) have been shut down a long time ago, but wouldn&amp;#39;t you know it - the community decided to bring the game back. And the official launch was slated for 15.7.! And it really launched. There were hiccups and server overloads as...

  • Post #4254467

    I know summer is almost halfway through but here&amp;#39;s a fun challenge. Download PPSSPP emulator and all available demos for PSP games. Play a single demo each day - you might discover genuine gems among these! #retrogaming #gaming #ppsspp

  • Post #4254466

    It took about 9 days for GameLoft to issue a Cease &amp;amp; Desist to the fan revival of the Order &amp;amp; Chaos MMO. I am coming to grips with the fact that I will probably not see my level 22 elf mage ever again. It was fun while it lasted, so sad that corporates can&amp;#39;t let fans be when they killed the game a long time ago. #retrogaming #gaming

  • Post #4254465

    I wonder why update manager on my Linux Mint wants to update thunderbird packages when I don&amp;#39;t have thunderbird installed πŸ€” #linux

  • Post #1084321

    So I managed to get a working version of gamepad support on Android in #SFML running, with some trade-offs. If you want to test it out yourself, here&amp;#39;s a working branch: https://github.com/nerudaj/SFML/tree/feature-android-joystick-support PR discussion: https://github.com/SFML/SFML/pull/3497

  • Post #945373

    Summer is almost over and I&amp;#39;m releasing my summer-long project - MagRider! A simple-to-learn, hard-to-master 2D platformer where you move by magnetizing your avatar - a cutsy round ball. Build by hand in C++, SFML and TGUI, this one also runs on Android and let me tell you a secret - it is a great toilet-break game! Just don&amp;#39;t get too angry with the uncompromising difficulty so your phone doesn&amp;#39;t end up in the toilet as well. 😁 Play the game for free: https://nerudaj.it...

  • Post #945365

    All right, another game is out! Mansion Malevolence is available for free for PC and Android on my Itch.io: https://nerudaj.itch.io/mansion-malevolence The game is a demake of classic survival horror Resident Evil, reimagined as a solitaire card game that you can play in short bursts while commuting. The game was made in C++, using SFML for rendering and sounds and TGUI for UI. Source code is available on GitHub: https://github.com/nerudaj/MansionMalevolence https://youtu.be/f1jT3A2XqXU #gam...

  • Post #860859

    Wow. Normal videos on my Youtube have at max dozens of views months after being published. A single crappy Youtube Short has 2.2k after 2 days, with a bunch of comments and likes. You can apparently make a bigger impact on you game marketing with a 15s video you spend 10 minutes making, as opposed to carefully tailored 2-minute trailer you&amp;#39;ve spend hours on. #gamedev #marketing

  • Post #860858

    It seems that Google caved in under user backlash and presented us with the &amp;quot;advanced flow&amp;quot; for installing apps on #Android from unverified developers (=developers who value their privacy and rather pay 100$ for something meaningful). The flow is still a major pain in the ass, since it requires a 24-hour waiting period, but at the very least, you should be able to do it once and then never again. I understand Google&amp;#39;s &amp;quot;reasoning&amp;quot; behind this wait wind...

  • Post #860857

    This whole pandemic of age-verification laws is making me really sad. I am glad I could access porn since I was eleven and that I could drink beer in pubs when I was fifteen. I still managed to become a valuable member of the society, while enjoying so much fun.

  • Post #860856

    Brainrot is a bigger problem than low fertility rates. It doesn&amp;#39;t matter how many workers you have if they&amp;#39;ll suffer from dementia by the age of 30.

  • Post #860855

    This is so cool, I just found out one of my games on Itch got a review😍 First review ever. It&amp;#39;s little things like this that make this hobby worth it. #gamedev #MansionMalevolence

  • Post #860854

    Tip 95 of #TuesdayCodingTips - Copy &amp;amp; swap idiom Rule of 5 says that if you need to implement one of the copy/move constructors/assignment operators or a destructor, you shall implement all of them to avoid resource management issues. However, this often leads to duplicated code and subtle issues, such as a class being move-assigned onto itself. Copy &amp;amp; swap idiom helps deduplicate the code by implementing assignment operators in terms of creating a temporary copy of the source...

  • Post #860853

    Today gamedev session - I zoomed in the game by 50% and reduced speed of everything by 30%. The game instantly felt better. Hopefully it is not just a novelty factor. I also plugged in my library for making finite state machines and while I don&amp;#39;t want to brag, it is a piece of code I genuinely enjoy working with. Haven&amp;#39;t touched it for a year, zero troubles getting oriented or getting it to work. #gamedev #RendInfestation

  • Post #860852

    I don&amp;#39;t view myself as an anarchist (yet), but general development around age verification and state-level oversight in major developed countries makes me sad, cautious, and thinking. If OSes are supposed to implement age verification and Android is really trying to turn devs into verified ones, how long will it take before every dev for every platform would be required to register and obtain signing keys to run their app even on their own machine? If that happens, we might want to hav...

  • Post #860851

    If you like early From Soft games like King&amp;#39;s Field or Echo Night, check out the demo for Queen&amp;#39;s Domain on Steam, it&amp;#39;s awesome! #QueensDomain #SteamNextFest #SteamDeck

  • Post #860850

    @darkcisum I dread every time you rebase my PR for joystick support on Android in SFML, as every single time it breaks CI on all my projects πŸ˜‚

  • Post #718173

    Recently, I made a stupid mistake that made me think about the way C++ APIs handle dependencies and what we can do to prevent dangling references and lifetime issues. πŸ€” It was a surprisingly fun topic to explore that led me to the discovery of a very cool static analysis tool. Can you guess which one? 😎 You can find out in the article I wrote about the topic here: ➀ https://medium.com/@nerudaj/type-safe-dependency-management-in-c-a293703f00ff #cpp #StaticAnalysis #SoftwareEngineering