world To Screen
Converts a 3-dimensional point within the overworld to a 2-dimensional point on the screen. The 3-dimensional axis is flipped to represent the X axis being horizontal, Y axis being vertical, and Z axis to be depth.
Return
The 2-dimensional point on screen.
Parameters
The x-axis value relative to the origin
The z-axis value relative to the origin
The y-axis value, otherwise known as height.
Converts a 3-dimensional point within the overworld to a 2-dimensional point on the screen. The 3-dimensional axis is flipped to represent the X axis being horizontal, Y axis being vertical, and Z axis to be depth.
Return
The 2-dimensional point on screen.
Parameters
The x-axis value relative to the origin
The y-axis value relative to the origin
The z-axis value relative to the origin
The y-axis value, otherwise known as height