This is the method:
http://monkeygameprogramming.blogspot.com/2015/01/monkey-x-beginners-moving-oval...
Although written in a different language (Basic), it's very straightforward to convert to Lua :D
This is the method:
http://monkeygameprogramming.blogspot.com/2015/01/monkey-x-beginners-moving-oval...
Although written in a different language (Basic), it's very straightforward to convert to Lua :D