3 Commits
Author SHA1 Message Date
Xela10001 f2d0a5b439 Midpoint-Based Movement Functionality Added
Added a function called moveTextToMidpoint() which changes the position of the text based on what midpoint you want it to have.
Extremely handy for keeping text centered. Also, changed resizeText() using this new function, making resizeText() much simpler.
2021-08-08 18:05:49 +01:00
Xela10001 7b97080e38 Added resizing existing text
Added a function called resizeText, which can be used on already existing text to make it bigger or smaller, and even has a boolean incase you want the text to keep its midpoint or not.
2021-08-06 22:07:01 +01:00
Xela10001 83d694416e Scalable text and spacing fix
Added functionality for resizing text using the xScale and yScale arguments of new Alphabet().
Fixed backwards sentences when the x variable was negative and fixed spacing error when x was positive (Basically, the letters bug out if the x in new Alphabet(x, y, text) was anything other than 0).
2021-08-06 11:08:56 +01:00