World: Difference between revisions

From DDraceNetwork
No edit summary
(Less stubby)
Line 1: Line 1:
{{stub}}
{{stub}}
The game world is a square grid of tiles, with a width and height of 32 units. Tees have a dimension of 29x29 units.
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 (<code>X: 14, Y: 14</code> 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 <code>X: 0, Y: 4</code> 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. The kill tiles repeat infinitely so it is not possible to move outside of it even with high speed. Border tiles take precedence over kill box tiles and will continue to repeat infinitely.
[[Category:Game-Mechanic]]
[[Category:Game-Mechanic]]
[[Category:World]]
[[Category:World]]

Revision as of 02:06, 7 October 2021

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. The kill tiles repeat infinitely so it is not possible to move outside of it even with high speed. Border tiles take precedence over kill box tiles and will continue to repeat infinitely.