So as the title suggests, I am currently working on a Lua Sonic engine. It is very basic for now, currently it only has a W.I.P. implementation of the slope collisions. I plan to make it so you can easily make a level using Tiled and then export it into a playable level. You can find the source code for it here!