You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 10, 2020. It is now read-only.
`CUBE_HIGHEST` represents the highest cube in the stack, followed by `CUBE_2HIGHEST` (the 2nd highest), followed by `CUBE_2LOWEST` (the 2nd lowest), and finally `CUBE_LOWEST`
58
-
As the 4 cube stacks on the left and right are in the same order but slightly different positions, the corresponding cubes are represented the same (purple to purple, orange to orange, green to green)
59
58
60
59
`CUBE_FAR` and `CUBE_NEAR` are for the cube sectors farLeft and farRight
61
60
62
61
`CUBE_TOP_NEAR`, `CUBE_FAR_LEFT`, `CUBE_NEAR_LEFT`, `CUBE_FAR_RIGHT`, and `CUBE_NEAR_RIGHT` are used for the five cube stack on the near side
63
62
64
-
and finally, all macros starting with `TOWER_CUBE_` refer to the cubes around a tower
63
+
and finally, all macros starting with `TOWER_CUBE_` refer to the cubes around a tower
65
64
66
65
Scored Cubes
67
66
------------
@@ -70,6 +69,12 @@ Scored cubes are drawn along with where they are, either in a tower or a scoring
70
69
a third parameter is used to display "stack height", a number printed on top to describe how many cubes are in the stack.
71
70
Note: use `screen::color::none` to abstain from printing a scored cube in that position
72
71
72
+
Other
73
+
-----
74
+
The field can be repositioned with `setX`, `setY`, or `setPos`.
75
+
and can be resized using `setSideLength`
76
+
when changing size, if you are unsatisfied with the numbers printed on the cubes, you can modify the `NumberConfig`, which is given as the 4th parameter in the constructor. More information is available in [field.hpp](./include/field.hpp)
77
+
73
78
Example
74
79
-------
75
80
This directory (specifically [opcontrol.cpp](./src/opcontrol.cpp)) is a usage example (it produces the image at the top of this page)
@@ -78,4 +83,4 @@ Acknowledgements
78
83
================
79
84
smallfont.c is converted version of the digits 0-9 from [Synchronizer NBP Font](https://www.fontspace.com/total-fontgeek-dtf-ltd/synchronizer-nbp) by total FontGeek DTF, Ltd. all credit regarding the font to them.
80
85
81
-
Thanks to Hotel from the PROS team, Salmon from Okapilib, and Theo from 7842F, for giving some advice on improving the code here
86
+
Thanks to Potatehoes from 914M for beta testing, as well as Hotel from the PROS team, Salmon from Okapilib, and Theo from 7842F, for giving some advice on improving the code here
0 commit comments