Below is a quick look at how easy it is to use OGT Level Manager in your own Composer or Storyboard-based project. In a nutshell, you paste this line of code in a couple scene files:
local lm = require("ogt_levelmanager")
And then in the scene where you want your player to choose a level to play, you add this:
Yeah man, that’s the basics! Of course, you’ll want to tweak OGTLM by adding your own graphics, but I’ve also made that easy with a set of variables at the top of the library file. Here’s a chunk to see what I mean:
k.backgroundImage = "background.png" k.lockImage = "lock.png" k.fontName = "Helvetica" k.fontSize = 36 k.totalLevels = 30 k.numCols = 4 k.numRows = 2
There are quite a few variables you can tweak, but otherwise you don’t have to mess with any of the actual code in the library.
Let’s jump into the video and see how it works…
Back to OGTLM Dashboard