Pre-LD29 code post

Per the (newly rewritten) rules of the competition, I am posting a link to the code that I have already written in preparation for Ludum Dare 29. It is freely available on my Github at: https://github.com/Freezerburn/ld29-engine

Please note that it probably isn’t that great. It’s mostly a light shim over SDL2 so that some functions can be used from Lua. I’ll likely be modifying it slightly during the competition to add support for some things, such as sound. Right now it will only work on OS X, and should generate a nice standalone app which will “just work”. It statically links in all SDL code, and the xcodeproj declares all the dynamic libraries it needs to link against. (which should be available on all distributions of OS X, as they are super common libraries/frameworks) main.lua is the starting point, and all you need to do is add logic in there, or add some more Lua files into the “lua” group in Xcode which you can require. Don’t touch the topmost line of main.lua, as it sets the path that Lua will be looking for source files to require.

I’ll be updating the code after the end of Ludum Dare to also be able to build for Windows. I need to be able to release my game for Windows so people can actually play it :)