I am just answering to give you some insight into how SDL is used. As you said, this is not a game engine (it's just a library in fact). In addition, it is not object oriented at all, and you do not have easy animation capabilities (you have to code them yourself).
How it works (I used version C, but I assume the Lua binding should be similar):
Include the headers needed to create the project on the desired platform.
Create your own game loop in which you configure (at least) an entire event processing system, frame rate manager and “screen cleaner (or updater)” (I insist that you need to manually refresh your screen using the SDL_flip_screen procedure, which is not one of your problems with Corona).
Then encode your game using all the "mechanics" that you did before.
SDL is a low-level library (do not expect an easy-to-use graphical interface infrastructure or Corona framework).
Finally, this library was used to port Civilization III to Linux, so yes, it works, but it will ask you a lot of energy to have something like you with Corona;)
PS: I am not a native English speaker, so please let me know if I do not understand :)
Julien Sep 29 '13 at 22:16 2013-09-29 22:16
source share