Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 769 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 769 Bytes

= OOP in Corona SDK =

Deprecated in favour of MiddleClass library.

I'll put more notes here but for now, read this doc, or browse the code & comments in main.lua and lib/something.lua

Also, I highly recommend this Corona orientated tutorial on OOP in LUA: http://planetlua.squarespace.com/journal/2011/1/21/put-some-oop-in-your-app-part-1-creating-a-class.html

== "Plugin" libraries ==

  • run git init from the project root
  • Install libs from project root: git submodule add git://github.com/author/name.lua.git lib/name
  • Require normally using the following format: local name = require("lib/name.lua/name")
  • To update plugin libs, run git pull from inside the plugin's directory