Skip to content

Instantly share code, notes, and snippets.

@figengungor
Created June 13, 2013 15:09
Show Gist options
  • Select an option

  • Save figengungor/5774460 to your computer and use it in GitHub Desktop.

Select an option

Save figengungor/5774460 to your computer and use it in GitHub Desktop.
storyboard main
local storyboard = require("storyboard") --import storyboard
storyboard.purgeOnSceneChange=true --clean scene before moving anothe scene
--GLOBALS--
W=display.contentWidth
H=display.contentHeight
-----------------------------
--Change scene--
storyboard.gotoScene("scene1") --go to first scene
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment