Increasing the tile rotation "limit"
Posted: Wed Dec 17, 2025 10:18 pm
Context: I was allow refined-concrete "rotate" through all the colors, to make alternate colors buildable without items.
Collision: The tile can only go through three rotations, because it (from a dev) has rotation cooked into it - north / east / south / west, an unexpected artifact
Recommended "solution": remove the direction from the context entirely
Why I think it would be ok: a LuaTile has no "direction" exposed, and as far as I can tell, the sense of "direction" to a tile is entirely artificial. refined-hazard-concrete for example rotates the tile by switching tile prototypes. Direction is currently not visible as being possessed by the tile concept itself.
Other attempts to workaround weren't possible: I was considering assigning a different tile by detecting rotation, but the engine currently doesn't expose the behavior of a different tile linked to the item being built. Even if I could assign the item with a different direction (not possible currently), the direction is still the problem.
Alternate solution: Currently train-tracks allow up to 16 directions, which might be simpler. It would have a "limitation" of 16 rotations per tile, but it would be above the amount of rotations I want to do (10).
Collision: The tile can only go through three rotations, because it (from a dev) has rotation cooked into it - north / east / south / west, an unexpected artifact
Recommended "solution": remove the direction from the context entirely
Why I think it would be ok: a LuaTile has no "direction" exposed, and as far as I can tell, the sense of "direction" to a tile is entirely artificial. refined-hazard-concrete for example rotates the tile by switching tile prototypes. Direction is currently not visible as being possessed by the tile concept itself.
Other attempts to workaround weren't possible: I was considering assigning a different tile by detecting rotation, but the engine currently doesn't expose the behavior of a different tile linked to the item being built. Even if I could assign the item with a different direction (not possible currently), the direction is still the problem.
Alternate solution: Currently train-tracks allow up to 16 directions, which might be simpler. It would have a "limitation" of 16 rotations per tile, but it would be above the amount of rotations I want to do (10).