• Godot 4 – Keep Your Inspector Clean with @export_group

    If you have properties in a script that you will tweak a lot, you might know how to use @export to make that property available in the Inspector. To improve the experience even more, have you given @export_group a try yet? This lets you sort your exported properties into groups in the editor – keeping […]

  • Investigating Choices in Detective Visual Novels

    The mystery/detective genre is essential to Visual Novels. Lately I’ve been thinking about how the input method for choices can really impact the detective element of these games. Note: This article contains minor mechanical spoilers for The Zodiac Trial, Zero Time Dilemma, and Umineko When They Cry. It does not contain major story spoilers. Pick […]

  • My Favorite Sourdough Recipe (and my Personal Notes)

    For an easy to use sourdough recipe, this one with all-purpose flour from The Clever Carrot can’t be beat. It has tons of details to help out beginners, including handy photos and descriptions for what each phase should look and feel like. I use it to this day! Since I’m already familiar with the steps, […]

  • Maintaining Sourdough Starter

    Sourdough starter is a living entity, so it needs to be fed and maintained just a bit to keep it alive. There’s tons of dos and don’ts on the internet, but here’s my routine: Temperature You only need to feed your starter once every two weeks or so if you keep it inside your fridge. […]

  • Godot 4 – Choose a Random Child Node

    In one of my games, I have a few possible paths that targets will follow in a shooting gallery. To make the game more interesting, I choose a path randomly when it’s time for a new target to appear. One way to do that is to have all of the Path2D nodes be children of […]

  • Godot 4 – Stop Control Nodes from Blocking or Consuming Clicks

    Control nodes are the base node type for UI elements like labels and buttons. Sometimes you might want to put Control nodes on top of one another, but this can cause problems when the wrong Control node is getting the click or touch input from the user. You can set Control nodes to ignore mouse […]

  • Godot 4 – Use Particles2D to Leave a Trail as Nodes Move

    When adding a Particles2D node to any node that moves, you’ll notice that the particles stay in sync as the parent node moves around. This doesn’t work if you want to create a trailing effect — well, other than the artifacts on this recording. You can creating a trailing effect by turning off Local Coords […]

  • Godot 4 – Create a Curved Path2d / Curve2d

    Path2d lets you easily define a path for nodes to follow, but by default the line between the points will be straight. This prevents you from creating smoothly revolving / orbiting objects. To make a Path2d with a Bezier curve: Enjoy making rounded paths!

  • Godot 4 – Launch Your Game on the Correct Monitor

    When you click Play on your Godot project, it will automatically launch on your default monitor. For my setup, that’s usually not convenient. Fortunately you can change where the game appears in the Editor settings. Editor -> Editor Settings -> Run -> Window Placement You can have the game launch on the monitor of your […]

  • Welcome to kt.codes!

    Hi, I’m KT! I’m a professional video game programmer, and this is my personal blog. While by day I work on other things, during my free time I like to experiment with the Godot Engine. I’ll probably share a lot of Godot tips that I’ve discovered along the way, as well as any other video […]

A WordPress.com Website.