Skip to content

Wavalab/solar2d-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Corona SDK Templates

module.lua

  • For storing related data into the module table (effectively a singleton).
  • For storing related utility functions.

object.lua

For creating OOP instances. The following are possible:

  • Private (file local) constants
  • Private (file local) helper functions
  • Class attributes and methods
  • Instance constructors (and attributes)
  • Instance methods

scene.lua

  • The Corona SDK scene template with comments explaining everything that must be created and destroyed.

extension.lua

  • For extending existing global libraries (e.g. timer).
  • Just be sure to require("extension.lua") in main.lua, so that your extension can be used everywhere.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages