Pixel-perfect collisions on sprites in Godot @TheShaggyDev
Pixel-perfect collisions on sprites in Godot  @TheShaggyDev
Uploaded April 2022 | Updated November 2026, 3 hours ago
Whether you want accurate collision bodies or pixel-perfect mouse detection, this video is for you. Let's look at our options using both the editor and GDScript to create collision polygons from sprites in Godot.

Intro: 00:00
Via the editor: 00:24
Via code: 01:23
Objects with holes: 03:25

Text version: shaggydev.com/2022/04/13/sprite-collision-polygons

Sample project: github.com/theshaggydev/the-shaggy-dev-projects/tree/main/projects/godot-3/sprite-collision-polygons

Documentation for BitMap: docs.godotengine.org/en/latest/classes/class_bitmap.html
Pixel-perfect collisions on sprites in GodotConfiguring Godots built-in code editor5 more changes to GDScript 2 in Godot 4 youll want to know aboutBuilding a more advanced state machine in Godot 3How to write more flexible game codeAnimating a hardware cursor in Godot - An experimentFixing menu transparency issues in Godot 4How to make a tactics game in only two weeksGame development in the dying days of FlashA few common code smells to be aware of and how to fix themStatic typing in Godot using the class_name keywordAn introduction to graph rewriting for procedural content generation
The Shaggy Dev |

Pixel-perfect collisions on sprites in Godot

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER