<?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 William Tumeo on Medium]]></title>
        <description><![CDATA[Stories by William Tumeo on Medium]]></description>
        <link>https://medium.com/@tumeowilliam?source=rss-c25b2d1aeaeb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*4vLSj-6haDTTS2e5wCeE-A.jpeg</url>
            <title>Stories by William Tumeo on Medium</title>
            <link>https://medium.com/@tumeowilliam?source=rss-c25b2d1aeaeb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 18:37:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tumeowilliam/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[Godot Engine and pixel art: A better love story than Twilight]]></title>
            <link>https://medium.com/@tumeowilliam/godot-engine-and-pixel-art-a-better-love-story-than-twilight-4c8155ba71cd?source=rss-c25b2d1aeaeb------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c8155ba71cd</guid>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[pixel-art]]></category>
            <category><![CDATA[game-development]]></category>
            <dc:creator><![CDATA[William Tumeo]]></dc:creator>
            <pubDate>Wed, 25 Oct 2017 23:50:14 GMT</pubDate>
            <atom:updated>2017-10-26T21:52:33.478Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8RCPBzW3ZnuOCYVWMOnzzQ.png" /></figure><h3>Once Upon a Time</h3><p>First of all, if you fell here and don’t know the Godot Engine, it’s an awesome game engine (and it is free and open-source). You can see more on the <a href="https://godotengine.org/">official website</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*yb8G0tGccuqMCfewXNEB_A.png" /><figcaption>The Godot Engine Editor.</figcaption></figure><p>So, I’m writing this because Godot Engine has some tricks (not hacks) that turn Godot Engine into the best game engine for pixel art games. If you already know Godot Engine, you know that it has a dedicated 2D engine with no hacks and pixels as units. That’s really amazing, but that’s not all.</p><h3>My pixel arts are blurry, oh noes!</h3><p>If you already tried Godot Engine, you should probably know that in the default configuration the engine applies filters to your textures. Obviously this is not cool for pixel arts. To avoid this, you need to disable texture filters and mipmap generation (click <a href="https://en.wikipedia.org/wiki/Mipmap">here</a> if you don’t know what mipmap is).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*C3iZ49GDT3tIbjRZxEU6GQ.gif" /><figcaption>Disabling filters and mipmaps in the inspector.</figcaption></figure><p>If you try to inspect a texture in the editor, you’ll find an option called flags that contains filters and mipmaps enabled. If you disable them, it will automatically create a “flag” file for that texture. This looks promising but… what if your game has bazillion of textures?</p><p>Well, that feature is useful only if you need to change flags for specific textures. Fortunately, there is a global way to disable filters and mipmaps in the project settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/1*u2vFnHBGtPOq6V6xaRzRtg.png" /><figcaption>You can find the options in the “Image Loader” section.</figcaption></figure><h3>Let’s make a Full HD pixel art game</h3><p>Sometimes you need to create a pixel art game that can be resized, for example if you want to create a game for LOWREZJAM, you’ll need to resize the viewport because playing a game in 64x64 is a bit difficult.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/657/1*xcejMzH6j9sjQZ7OIr4uMQ.gif" /><figcaption>Screen stretch working as expected. [Eline ©️ Novastrike Media]</figcaption></figure><p>So, this is very simple to set up. In the Display section, you can set the game resolution that will be used as an internal/native resolution. Then you can enable the screen stretch that will stretch the screen when you resize the window.</p><p>There are 2 options for the stretch mode: viewport and 2D. For now select the mode “viewport” (I’ll talk about the modes below). Also, you’ll probably want to keep the aspect ratio of the screen, so you can also configure it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*tbXHQBcmWYVah6rvDKGoEA.png" /><figcaption>Setting up the screen stretch.</figcaption></figure><h3>Rotating pixels is a heinous crime</h3><p>Many pixel artists know that rotating pixels is something very ugly, visually speaking. For a very simple reason, a pixel is not something rotatable if you consider how a screen works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*lDHf-ZFdjklCR7lKFGrrCw.gif" /><figcaption>The sprites are rotating, but the pixels are not. [Sonic Mania © SEGA]</figcaption></figure><p>On the other hand, some developers prefer to rotate the pixels. Regardless of which one is right, in Godot Engine you can do both depending on the screen stretch mode you use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*IdpSNxEsCRoMJMyU6_8vyg.gif" /><figcaption>The sprites and pixels are rotating. [Stardew Valley © ConcernedApe]</figcaption></figure><p>In the viewport mode, the entire viewport will be resized and the internal resolution will be maintained, this will prevent any pixel from being rotated.</p><p>However, in 2D mode, the sprites will be resized and the internal resolution will be neglected so the pixels can be rotated if you want. This mode is actually useful if you are working with general/HD art.</p><h3>Very fast at incredible floating speed</h3><p>So, you are creating a <strong><em>true </em></strong>pixel art game, with a low resolution and using the screen stretch in the viewport mode. Now you have a new problem because of floating point numbers in your game code.</p><p>If you create some animations to move your sprites, or move your sprite considering the delta time, you will have some problems of imprecision in the coordinates. This is because sometimes the position of your sprite will be a floating point number, not an integer. For example, if the <strong>X-axis</strong> is <strong><em>0.5</em></strong>, that means your sprite is positioned half-pixel to the right.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/216/1*yOTi-dhpXTEUOWLJVyK9nQ.gif" /><figcaption>Moving half-pixels to the right and down. [Eline ©️ Novastrike Media]</figcaption></figure><p>The problem is that there is no half-pixel if you are dealing with a perfect pixel positioning. This results in some visual glitches when the coordinates are not integer numbers.</p><p>To fix that, just enable the 2D pixel snap in the project settings (Display section). It’s really simple, isn’t it?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/611/1*MvkGnySmbfGHj5LWEVZSew.png" /><figcaption>This option will snap floating coordinates to integer.</figcaption></figure><h3>Profit</h3><p>That’s all. This is what you need to know to start using Godot Engine for pixel art games. Many developers using Godot Engine should already know these tricks, but I’m sure a lot of people still don’t know. For this reason, I wrote this mini-guide on how to configure the Godot Engine for pixel art games, so you can avoid some of these issues.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*Es8tgN7-hsdFAJNsivGz5g.png" /></figure><blockquote>This article covers only the Godot Engine 2.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c8155ba71cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hacktober2017 — Postmortem]]></title>
            <link>https://medium.com/@tumeowilliam/hacktober2017-postmortem-42eb77f5e6b3?source=rss-c25b2d1aeaeb------2</link>
            <guid isPermaLink="false">https://medium.com/p/42eb77f5e6b3</guid>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[William Tumeo]]></dc:creator>
            <pubDate>Wed, 18 Oct 2017 06:56:02 GMT</pubDate>
            <atom:updated>2017-10-20T21:29:19.872Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*HI2l6XQn7o0voRpI89DbVA.png" /></figure><h3>Much more than just 4 Pull Requests</h3><p>Anyone who has heard of the famous Inktober should know that it is a daily challenge in which you go to your limits trying to draw something every day during the month of October. Some years ago, a similar event was created to encourage people to spend more time contributing to open-source projects. One of the main goals is to help several people make their very first contributions.</p><p>The event was and still is a success, mainly because I started contributing to other projects because of Hacktoberfest in 2015. The following year I saw the event as something mandatory, especially as a self-improvement challenge, since in the previous year I had not managed to achieve the official goal of the event: open at least 4 Pull Requests.</p><p>In 2016, I decided to try to do something similar to the Inktober event and contribute to a project a day, in other words, open a Pull Request per day. That worked very well until the end of the first week because exhaustion prevented me from continuing the challenge, mainly because at the time I was already working on some games. Even though I failed at that challenge, I got great results, especially since I made my first contributions to the Godot Engine repository.</p><p>A year later, here we are with another Hacktoberfest and I wanted to try reproducing a challenge similar to Inktober again (to do something every day for the entire month). So I decided to create something (which I called “tool” for lack of a better word) random in the Godot Engine that was simple but also relevant (and that could be visual, so I could record videos). At first, it seemed stupid and much more complex than simply opening 4 Pull Requests or even open a Pull Request a day for the entire month.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*rSD3fV0ZWQGOXvx2dUy4vQ.png" /></figure><p>And I was right, it was complex and stupid. But not because it is difficult to program something specific, nor because it is difficult to create things from scratch in Godot Engine. The biggest problem was having to think about simple and relevant things at the same time because Godot Engine already has several types of tools that are simple and very relevant. So every day I tried to think of something to create for the event and I was in the following dilemma:</p><blockquote>“I think I’m going to do <strong>X</strong> today. No, <strong>X</strong> is simple but it’s irrelevant because Godot Engine already has something like that or it would be too simple. Why am I doing this? What is the meaning of life?”</blockquote><p>In short, my biggest obstacle was the fact that Godot Engine is already too good. To the point that when you try to create anything with it, everything seems much simpler than what you initially had in mind. I felt like I was trying to reinvent the wheel every day.</p><p>I could make a small change in the challenge and create more complex things, so I would do more relevant stuff. Unfortunately, that did not help much, it really just messed it up. In a few days, I decided to dedicate myself to some more complex projects, but this ended up leaving me exhausted gradually. On the other hand, some of these more complex projects had great results, were the projects that I liked the most.</p><h3>Finally, the results</h3><p>Regarding the projects, I will highlight here the ones I liked the most:</p><ul><li><strong>Pick’s Theorem </strong>— This project was one of the best because it ended up helping me with several specific studies of analytical geometry and also ended up introducing me the term “polygon triangulation”, which I did not know before.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*ImdP0ud50yq1rFEgPtg5yQ.png" /><figcaption>The result of the study of the “Pick’s Theorem” project.</figcaption></figure><ul><li><strong>Drawable Canvas</strong> — This project was very simple but I liked doing it because it gave me some ideas for other projects, for example, one of the games I’m working on right now.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/187/1*H2TG29bc0V6BYo8S2grJaQ.gif" /><figcaption>The game I’m creating right now because of the “Drawable Canvas” project.</figcaption></figure><ul><li><strong>UDP Connections</strong> — This project was one of the most important because I dealt with something I had never tried before: connections for online games. The result was a success, especially considering it was an initial study.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*UHNj7B5ZGnCd_8njQYq3bg.gif" /><figcaption>The result of the study on UDP connections.</figcaption></figure><ul><li><strong>Poly Umi </strong>— This project was a suggestion made by Henrique Campos (PigDev Studio) after I posted the <strong>Pick’s Theorem</strong> project. It was very interesting to have to deal with polygon triangulation again.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*ZP8auDICtpjjDE51j11FRg.gif" /><figcaption>The result of the “Poly Umi” project.</figcaption></figure><ul><li><strong>Konami Code</strong> — This project is being listed here only as an honorable mention. It was one of the examples of a simple project that would have been more relevant if Godot Engine was not so powerful, since this project was so easy to program that it took less than 30 minutes (seriously, I swear I’m not being flattering).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*7u9sAzSm2BZqqrIt1vRbGw.png" /><figcaption>It took less than 30 minutes with the UI.</figcaption></figure><p>In addition to having excelled in some projects, learned new things, had pains in my hands, among other things, one of the results that pleased me most in this event was the recognition of the Godot Engine community, because even if some of the projects don’t look like very relevant, I believe it must have been useful to someone.</p><h3>That’s it? Is it over? Will you give up?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*3tGLajlSXAleUZwX6L-nmA.png" /></figure><p>Yeah, it’s over, but I don’t see myself giving up. This challenge made me see that sometimes you have simply reached your goal and you have nothing else to do. If I try to continue, I’ll probably get knocked down by exhaustion (mainly because my right hand hurts again this week) and it will be in vain, because every day it’s harder to think of creating something simple, relevant and that I can record a video (if I disregard the video part, everything I try to create will start to seem more irrelevant). In this case, I am choosing to focus on what is relevant to me now, come back to do some games.</p><p>I hope this challenge has helped to show people how versatile and simple Godot Engine is, to the point that you can wake up late, create something from scratch in it, and still have time to do many other things on the same day.</p><p>I’m going to take a few days to rest and then come back to being active with my games and other projects. I will continue to help as I can, and I will probably still work on more specific tools and continue contributing to many other projects.</p><p>If you are interested in the project, you can check the following links (videos and repo):</p><h3>Random tools for the #Hacktoberfest</h3><p>I will try to create some random tools during the #Hacktoberfest.</p><p><a href="https://github.com/williamd1k0/godot-sandbox">williamd1k0/godot-sandbox</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*Es8tgN7-hsdFAJNsivGz5g.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42eb77f5e6b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>