Hi all! New here, and am so far loving Gideros... just suddenly I have a problem...
Everything worked fine up until just today where I started getting a "function arguments expected near 'function'" error whenever I try to run the game.
If I add "local" before it, I get "function arguments expected near 'local'"
onMouseUp = function (self, event)
playerMoving = true
I have tried changing it to
function onMouseUp(self, event)
(with the function name before "function") but that didn't help either.
If I delete that section, I get the same error on the next function.
Everything worked fine before which is strange.
I get the error with simple functions like above, and longer--but still relatively simple-- ones (that worked fine a few hours ago!) like this:
newRect = function(w,h,c)
local shape = Shape.new()
Any help would be most appreciated!