Bite-Sized Godot: Pixel-perfect collision polygons on sprites

Whether you want accurate collision bodies or pixel-perfect mouse detection on a Sprite, this post is for you. Let's look at our options using both the editor and GDScript to create collision polygons from sprites.

Bite-Sized Godot: Editor settings for a better coding experience

Here's a handful of settings you'll want to configure to get the most out of coding with Godot's built-in editor.

Generative grammars as a form of procedural content generation

While typically overshadowed in the gamedev world for their two-dimensional cousin, generative grammars should still have a place in your procedural toolbox, at the very least as a foundational concept to understand.

Bite-sized Godot: Better screen shake

Using Godot's built-in OpenSimplexNoise class, we use create smooth, continuous noise to control our camera. Appropriate for both intense screen shaking and more subtle "handheld" effects.

Building a more advanced state machine in Godot

We've seen how to implement a basic state machine, now let's look at how hierarchical state machines and dependency injection can help us build it out further.