Purpose Of Post
Sorry, but it was #5
#5 Satisfy my curiosity and creativity itch.
I saw a post the other day that made me think, “I bet I could make that game mechanic in less than 250 lines of code using SSK and Corona”.
I wondered if a game mechanic similar to doodle-jump could be done in a few lines of code. (I wanted to test a theory I have; See below.)
Choice Of Limit (250 lines)
I chose 250-lines as a limit on of the off chance I’d do more of these. That way I could be consistent in my goal/measure/limit.
My Theory On Game Mechanics and Corona + SSK
It is my theory/opinion that the core interaction (the mechanic) of almost 90% of retro or hyper-casual games can be achieved in 250 lines or less. This assumes using Corona and (for me) SSK.
While SSK is not a requirement, I am way too lazy to implement anything even marginally complicated without it. I hate re-coding solution to problems I have already solved.
… without SSK I’d probably have to quadruple that limit to cover most mechanics.
Why Use SSK?
As far as the motivation for using SSK, I only use it for myself anymore. It makes coding way easier and more legible than the long-hand equivalents. I am, and always have been lazy. I hate typing more code and reading more code than I need to.
What About The Noobs?
As for new folks… I didn’t give them much thought. I think they should be able to browse through it and understand the main thrust of the mechanics. I don’t intend this as a template, tutorial, or any kind of teaching device.
Last Words
Again, at the end of the day this was about satisfying my curiosity. Once I’d done it, I figured why not share. Someone might get something out of it. If so, great. If not, oh well.
I think Corona is great and I absolutely agree with Rob’s statement:
You can do a lot in Corona with far fewer lines of code than you might run into with other languages and APIs.