Skip to content

Instantly share code, notes, and snippets.

@wiiiim
wiiiim / main.lua
Last active September 23, 2016 03:57
Springboard for Corona SDK, based on widget.scrollView
local springboard = require("springboard")
local group = display.newGroup() -- root display group
local pageTotal = 3
local board -- springboard instance
local pageDots = {} -- dots at the top
local function animatePageDot() -- called each time the springboard changes page
local currentPage = board.page
-- reset all pagedots