This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
FreeRes - An easy way to resize your game. | |
FreeRes is a library that makes adding multiple aspect ratio support to your game | |
easily. | |
It's been created to fill the hole that TLfres left after it became obsolete. | |
Because of this its methods use the same names. | |
]]-- | |
FreeRes = {} -- namespace | |
local currentWidth, currentHeight, originalWidth, originalHeight, scale, scaleMultiplier, letterWidth, letterHeight, xLetter, yLetter |