From e72226dbf8f61dacc2fe4d18297807faa27b207f Mon Sep 17 00:00:00 2001 From: piernov Date: Mon, 12 May 2014 13:00:01 +0200 Subject: Multiplayer mode + various improvement --- Utils.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Utils.lua') diff --git a/Utils.lua b/Utils.lua index c811e1b..bbae94d 100644 --- a/Utils.lua +++ b/Utils.lua @@ -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 -- cgit v1.2.3-54-g00ecf