World

From DDraceNetwork
Revision as of 05:18, 7 October 2021 by Kaitlyn (talk | contribs) (Kill box tiles are not infinite)
This article is a Stub. You can help us by editing and improving it.

The game world is a rectangular, two-dimensional grid of tiles.

Tile collision

Each tile has a width and height of 32 units, and tees have a radius of 14.5 units and a diameter of 29 units (X: 14, Y: 14 is considered the center coordinate). Tees interact with non-solid tiles (except kill tiles) if the center coordinate intersects with the 32x32 area. You can also think of this as the tee intersecting the tile area by 15 or more units in any cardinal direction. Tees interact with kill tiles if an inner circle with a radius of 9.5 units (centered inside the tee area) intersects with the 32x32 area. You can also think of this as the tee intersecting the tile area by 6 or more units in any cardinal direction.

Border tiles

If tiles are placed on the border of a map, they will repeat infinitely in the game world. Example: A tile placed at X: 0, Y: 4 results in tiles repeating infinitely to the left.

Kill box

The game world is contained within a kill box, which starts 200 tiles past the border in each cardinal direction. Border tiles take precedence over kill box tiles and will continue to repeat infinitely.