Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

In that example getAngle() is just a function that returns an atan2 value. That's available in Lua and is all you need to get the desired effect.