1- How do you organize your project, folders and assets.
\ |-- build.settings |-- config.lua |-- main.lua |-- images/ -- Images folder, may have sub-folders |-- ifc/ -- Composer scene files (mostly sparse and calling modules to do heavy lifting) |-- scripts/ -- modules, helper scripts, etc. ... After this, it varies.
2- Do you use a lot of modules?
My games and apps are entirely modular. I never write all-in-one-file games/apps.
3- Any oop paradigm? and if so for what, enemies, player?
I do not use OOP. I do however have a strong modular organizatiom.
I am not against OOP in general, but IMHO"
A. Lua isn’t really an OOP language to anything OOP is forced.
B. Lua-ish OOP doesn’t fit w/ Corona because you cannot modify the metatables and metamethods of displyay.* objects w/o hosing them up. Thus, you end up using tables and class objects and then they handle creating, managing, and destroying display objects.
All of this ends up being messy and prone to error.
C. You can follow a OOP paradigm using pure modules and intelligent design using pure display objects. Additionally, you can attach fields and special methods to display objects, thus extending them in a very OOP way, which is much cleaner.
4- Any external libraries you always use?
SSK. Enough said. (SSK 2 is in progress…)
5- How do you organize your scene file?
Will paste example below, but in short I prefer my own ‘improved’ layout and org.
6- Do you use some kind of “GameManager” file for constants like, current unlocked level, current currency, etc.
Sorry, no answer for this one, I’m working on a system for this, but to date, I’ve done this per project.