diff options
Diffstat (limited to 'Utils.lua')
-rw-r--r-- | Utils.lua | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1,9 +1,17 @@ +--[[ + Utils.lua + Used for unclassified functions + by piernov + + Comment: a bit useless, but still a more convenient than nothing for Quickie's functions +]]-- + local Utils = {} -function Utils.percentCoordinates(x, y) +function Utils.percentCoordinates(x, y) -- Convert percentage to absolute coordinates x = (x/100)*Screen.width y = (y/100)*Screen.height return x, y end -return Utils
\ No newline at end of file +return Utils |