Conveyor sideloading

This commit is contained in:
Rendo 2025-10-14 23:54:09 +05:00
commit 81451bd356
14 changed files with 243 additions and 17 deletions

View file

@ -4,3 +4,13 @@ extends Object
class_name Globals
const GRID_SIZE : Vector2 = Vector2(16,16)
enum Sides {
RIGHT,
DOWN,
LEFT,
UP
}
static func facing_difference(from : Structure.Facing, to : Structure.Facing) -> float:
return Structure.facing_to_vector(from).angle_to(Structure.facing_to_vector(to))