New answers tagged

2

Let's define the row and column a particular diamond sits in: // Increases top to bottom down the screen. int Row(Vector2Int tile) { return tile.x + tile.y; ) // Increases left to right across the screen. int Column(Vector2Int tile) { return tile.x - tile.y; } Note that even rows contain diamonds on even columns, and odd rows contain diamonds on odd ...


Top 50 recent answers are included