Pixel-perfect collisions on sprites in Godot

Опубликовано: 14 Апрель 2022
на канале: The Shaggy Dev
14,675
520

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: https://shaggydev.com/2022/04/13/spri...

Sample project: https://github.com/theshaggydev/the-s...

Documentation for BitMap: https://docs.godotengine.org/en/lates...


Смотрите видео Pixel-perfect collisions on sprites in Godot онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал The Shaggy Dev 14 Апрель 2022. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 14,675 раз и оно понравилось 520 посетителям.