experiment: use digits to draw regular polygons
[?]
Jun 15, 2022, 3:25 PM
OLZRJ4AXIXZHJSCTMH365Z6HPE26UAVSXPSFAPASZPPHT44VYL4ACDependencies
- [2]
BU3LUPY3bugfix in help - [3]
DXT4QTAHa few more integer coordinates - [4]
HOSPP2ANcrisp font rendering - [5]
GSV7DABCmake online help fit within a drawing - [6]
VHQCNMARseveral more modules - [7]
NQH7DEEWbugfix: missed rename in one file - [8]
WTDKUACNrectangle and square shapes
Change contents
- replacement in help.lua at line 33
love.graphics.print("* Press 'ctrl+g' to switch to drawing polygons", 16+30,y)love.graphics.print("* Press 'ctrl+<digit>' to switch to drawing regular polygons", 16+30,y) - edit in help.lua at line 40[3.592]→[3.592:635](∅→∅),[3.635]→[3.6260:6366](∅→∅),[3.728]→[3.8115:8121](∅→∅),[3.6366]→[3.8115:8121](∅→∅),[3.8115]→[3.8115:8121](∅→∅)
if Current_drawing_mode ~= 'square' thenlove.graphics.print("* Press 'ctrl+s' to switch to drawing squares", 16+30,y)y = y + Line_heightend - replacement in help.lua at line 71
love.graphics.print('* Release the mouse button to finish drawing the polygon', 16+30,y)y = y + Line_heightlove.graphics.print("* Press 'p' to add a vertex to the polygon", 16+30,y)love.graphics.print('* Release the mouse button to finish drawing the regular polygon', 16+30,y) - edit in help.lua at line 89[3.10604]→[3.10604:10648](∅→∅),[3.10648]→[3.8118:8220](∅→∅),[3.1306]→[3.745:751](∅→∅),[3.8220]→[3.745:751](∅→∅),[3.745]→[3.745:751](∅→∅)
if Current_drawing_mode ~= 'polygon' thenlove.graphics.print("* Press 'g' to switch to drawing polygons", 16+30,y)y = y + Line_heightend - edit in help.lua at line 93[3.910]→[3.910:953](∅→∅),[3.953]→[2.93:170](∅→∅),[2.170]→[3.8403:8427](∅→∅),[3.8403]→[3.8403:8427](∅→∅),[3.1372]→[3.10753:10759](∅→∅),[3.8427]→[3.10753:10759](∅→∅),[3.10753]→[3.10753:10759](∅→∅)
if Current_drawing_mode ~= 'square' thenlove.graphics.print("* Press 's' to switch to drawing squares", 16+30,y)y = y + Line_heightend