Made basic straight space

This commit is contained in:
Louis Burke 2019-04-04 08:38:03 -04:00
parent 735741c785
commit a7327e2b65

View file

@ -26,10 +26,6 @@
\def\top{1537.5/300.0}
\def\right{2437.5/300.0}
\newcommand{\drawoverlay}{%
\node [opacity=0.2, anchor=south west, inner sep=0mm, outer sep=0mm] at (\left,\bottom) {\includegraphics[angle=90, width=16.25in, height=10.25in] {bigmat.png}};
}
\newcommand{\drawguides}{%
\draw [blue] (\cutlinel,\bottom) -- (\cutlinel,\top);
\draw [blue] (\cutliner,\bottom) -- (\cutliner,\top);
@ -40,6 +36,20 @@
\draw [blue] (\left,0) -- (\right,0);
}
% TODO: IDEA: Try making the spaces 15mm instead of 0.5in in diameter. Then use
% 14mm discs and the card fits with more space!
% 15mm is 0.590551in, =~177/300in
% Do the 'math' in cm/mm, then convert at end. Maybe change the units of the axes
%
% Draws a straight, vertical segment centered at 0,0 going down
% Placement box is: -75,-75 to 75,75
% Bounding box is: -90,-90 to 90,90
\newcommand{\straightspace}{%
\fill [black] (-90.0/300.0,-90.0/300.0) rectangle (-60.0/300.0,90.0/300.0);
\fill [black] (90.0/300.0,-90.0/300.0) rectangle (60.0/300.0,90.0/300.0);
\fill [black] (-40.0/300.0,-70.0/300.0) rectangle (40.0/300.0,-80.0/300.0);
}
% draw leg foreground, background draws a leg centered at 0,0
% Bounding box is: -103.75,-128.75 to 103.75,128.75
\newcommand{\drawleg}[2]{%
@ -307,11 +317,11 @@
\node [align=center, font=\fontsize{24}{0}\bebas] at (1500.5/300.0,-1115.5/300.0) {+100};
% Add the checkpoints
\node [align=center] at (-1500.5/300.0,100.5/300.0) {\includegraphics{images/rules/checkpoint.png}};
\node [align=center] at (-700.5/300.0,100.5/300.0) {\includegraphics{images/rules/checkpoint.png}};
\node [align=center] at (100.5/300.0,100.5/300.0) {\includegraphics{images/rules/checkpoint.png}};
\node [align=center] at (900.5/300.0,100.5/300.0) {\includegraphics{images/rules/checkpoint.png}};
\node [align=center] at (1500.5/300.0,-100.5/300.0) {\includegraphics{images/rules/checkpoint.png}};
\node [align=center] at (-1500.5/300.0,100.5/300.0) {\includegraphics{images/rules/checkpoints.png}};
\node [align=center] at (-700.5/300.0,100.5/300.0) {\includegraphics{images/rules/checkpoints.png}};
\node [align=center] at (100.5/300.0,100.5/300.0) {\includegraphics{images/rules/checkpoints.png}};
\node [align=center] at (900.5/300.0,100.5/300.0) {\includegraphics{images/rules/checkpoints.png}};
\node [align=center] at (1500.5/300.0,-100.5/300.0) {\includegraphics{images/rules/checkpoints.png}};
}
% Draws an empty leg centered on (0,0)
@ -364,17 +374,17 @@
\fill [energy, rounded corners] (-150.0/300.0,-615.0/300.0) rectangle (150.0/300.0,-585.0/300.0);
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,-500.0/300.0) {\speed{-1}};
\fill [energy, rounded corners] (-150.0/300.0,-415.0/300.0) rectangle (150.0/300.0,-385.0/300.0);
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,-300.0/300.0) {\includegraphics[width=0.5in,height=0.5in]{icons/hand.png}};
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,-300.0/300.0) {\includegraphics[width=0.5in,height=0.5in]{images/icons/hand.png}};
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,-300.0/300.0) {+1};
\fill [energy, rounded corners] (-150.0/300.0,-215.0/300.0) rectangle (150.0/300.0,-185.0/300.0);
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,-100.0/300.0) {\speed{-1}};
\fill [energy, rounded corners] (-150.0/300.0,-15.0/300.0) rectangle (150.0/300.0,15.0/300.0);
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,100.0/300.0) {\includegraphics[width=0.5in,height=0.5in]{icons/hand.png}};
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,100.0/300.0) {\includegraphics[width=0.5in,height=0.5in]{images/icons/hand.png}};
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,100.0/300.0) {+1};
\fill [energy, rounded corners] (-150.0/300.0,185.0/300.0) rectangle (150.0/300.0,215.0/300.0);
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,300.0/300.0) {\speed{-1}};
\fill [energy, rounded corners] (-150.0/300.0,385.0/300.0) rectangle (150.0/300.0,415.0/300.0);
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,500.0/300.0) {\includegraphics[width=0.5in,height=0.5in]{icons/hand.png}};
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,500.0/300.0) {\includegraphics[width=0.5in,height=0.5in]{images/icons/hand.png}};
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,500.0/300.0) {+1};
%\fill [energy, rounded corners] (-150.0/300.0,585.0/300.0) rectangle (150.0/300.0,615.0/300.0);
}
@ -386,17 +396,17 @@
\fill [health, rounded corners] (-150.0/300.0,-615.0/300.0) rectangle (150.0/300.0,-585.0/300.0);
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,-500.0/300.0) {\speed{-1}};
\fill [health, rounded corners] (-150.0/300.0,-415.0/300.0) rectangle (150.0/300.0,-385.0/300.0);
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,-300.0/300.0) {\includegraphics[width=0.5in,height=0.5in]{icons/deck.png}};
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,-300.0/300.0) {\includegraphics[width=0.5in,height=0.5in]{images/icons/deck.png}};
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,-300.0/300.0) {+1};
\fill [health, rounded corners] (-150.0/300.0,-215.0/300.0) rectangle (150.0/300.0,-185.0/300.0);
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,-100.0/300.0) {\speed{-1}};
\fill [health, rounded corners] (-150.0/300.0,-15.0/300.0) rectangle (150.0/300.0,15.0/300.0);
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,100.0/300.0) {\includegraphics[width=0.5in,height=0.5in]{icons/deck.png}};
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,100.0/300.0) {\includegraphics[width=0.5in,height=0.5in]{images/icons/deck.png}};
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,100.0/300.0) {+1};
\fill [health, rounded corners] (-150.0/300.0,185.0/300.0) rectangle (150.0/300.0,215.0/300.0);
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,300.0/300.0) {\speed{-1}};
\fill [health, rounded corners] (-150.0/300.0,385.0/300.0) rectangle (150.0/300.0,415.0/300.0);
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,500.0/300.0) {\includegraphics[width=0.5in,height=0.5in]{icons/deck.png}};
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,500.0/300.0) {\includegraphics[width=0.5in,height=0.5in]{images/icons/deck.png}};
\node [anchor=center, font=\fontsize{20}{0}\bebas] at (0,500.0/300.0) {+1};
%\fill [health, rounded corners] (-150.0/300.0,585.0/300.0) rectangle (150.0/300.0,615.0/300.0);
}
@ -437,24 +447,27 @@
\begin{board}
% Draw the race
\scoped[shift={(0,0)}]{\drawrace}
%\scoped[shift={(0,0)}]{\drawrace}
% Draw the Stages
\scoped[shift={(2005.5/300.0,953.0/300.0)}]{\emptystage{stage_one}{stage_eight}}
\scoped[shift={(2005.5/300.0,317.6/300.0)}]{\emptystage{stage_two}{stage_seven}}
\scoped[shift={(2005.5/300.0,-317.6/300.0)}]{\emptystage{stage_three}{stage_six}}
\scoped[shift={(2005.5/300.0,-953.0/300.0)}]{\emptystage{stage_four}{stage_five}}
%\scoped[shift={(2005.5/300.0,953.0/300.0)}]{\emptystage{stage_one}{stage_eight}}
%\scoped[shift={(2005.5/300.0,317.6/300.0)}]{\emptystage{stage_two}{stage_seven}}
%\scoped[shift={(2005.5/300.0,-317.6/300.0)}]{\emptystage{stage_three}{stage_six}}
%\scoped[shift={(2005.5/300.0,-953.0/300.0)}]{\emptystage{stage_four}{stage_five}}
% Draw the Start/End
\scoped[shift={(-1690.5/300.0,-100.5/300.0)}]{\drawchecker}
\node [anchor=east, inner sep=0mm, font=\fontsize{24}{0}\bebas] at (-1615.5/300.0,100.5/300.0) {Start};
%\scoped[shift={(-1690.5/300.0,-100.5/300.0)}]{\drawchecker}
%\node [anchor=east, inner sep=0mm, font=\fontsize{24}{0}\bebas] at (-1615.5/300.0,100.5/300.0) {Start};
\scoped[shift={(-1975.0/300.0,-750.0/300.0)}]{\drawhypostarvechart}
%\scoped[shift={(-1975.0/300.0,-750.0/300.0)}]{\drawhypostarvechart}
\scoped[shift={(-1975.0/300.0,750.0/300.0)}]{\drawdielegend}
%\scoped[shift={(-1975.0/300.0,750.0/300.0)}]{\drawdielegend}
%\drawoverlay
%\drawguides
\straightspace
\scoped[shift={(0,0.5)}]{\straightspace}
\scoped[shift=
\drawguides
\end{board}
\end{document}