Skip to content

Painlessly save and retrieve persistent data in Lua.

Notifications You must be signed in to change notification settings

Wavalab/corona-cabinet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Cabinet for Corona

Persistent save and retrieve:

  • Tables
  • Numbers
  • Strings
  • Booleans

Usage

Load module:

local cabinet = require("cabinet")

Save data:

cabinet.set("aKey", aValue)

Get data:

cabinet.get("aKey")

Delete saved item:

cabinet.remove("aKey")

Delete all saved items:

cabinet.clear()

Warning

Cabinet is specifically built for Corona SDK.