Skip to content

Instantly share code, notes, and snippets.

@wiiiim
wiiiim / main.lua
Last active Sep 23, 2016
Springboard for Corona SDK, based on widget.scrollView
View main.lua
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
You can’t perform that action at this time.