Managing packs and levels

Now that we have finished the prototype of our game and see that it works, let's implement the pack and level logic, as well as player progression between levels.

This is the part where you take your game out of prototype state and gamify it with more engagement loops and sense of progression, and make it into something you could show to others. I usually start to bother my friends with trying the new game after implementing the simple tutorial level pack.

Defining packs

First let's create a simple file, where we would define our packs and the number of levels in them. So head to your Gideros Studio and add a packs.lua file to your project. Inside it we will define a simple packs table which would contain subtables, representing ...

Get Gideros Mobile Game Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.