-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
World Coordinate System
World coordinates are independent from screen coordinates, allowing the player to scroll and zoom the playfield. They represent actors, special effects and anything not related to the GUI.
Each cell has 1024
measurable units within it. They are specified behind the c
in yaml. For example 1c0
is the same as 0c1024
and 5c512
means 5.5
cells.
Location in the game world.
Distance from a WPos origin.
Offset from a WPos origin.
Three axis rotation with 1024 steps per axis.
Single axis rotation with 1024 steps.
Cell types are used to represent building footprints, unit paths, overlays and terrain information. Cells will typically contain one unit (or five infantry), although this isn't always the case. The Map class contains methods that can use cell information such as CenterOfCell () which returns world coordinates.
Location on a grid.
Offset from a CPos origin.
Can be converted to and from CPos.
Location on a map.
Courtesy of Phrohdoh
Players ๐ฒ
- FAQ โ
- Installation ๐ฆ
- Game Content ๐ฟ
- Hotkeys and Stances ๐ฎ
- Strategies ๐
- Settings ๐ง
- Dedicated Server โพ
- RaspberryPi ๐
- Badges & Icons ๐ฅ
- Changelog ๐
Modders โ๏ธ
- Audio guide ๐
- Traits ๐
- Palettes and Remaps ๐จ
- World Coordinate System ๐
- Map scripting
- Lua-API ๐
- Conditions ๐
- Mapping ๐ง
- Pixelart ๐
Developers ๐ง
- Contributing โค๏ธ
- Compiling
- Hacking
- Coding Standard ๐
- Branches and Releases ๐
- Release Checklist โ
- Sequences
- Glossary
- Reverse engineering ๐
- License ยฉ๏ธ