Slide Puzzle Corona App Template with AdMob

Overview

Description

This is a fully customizable template for a “Slide Puzzle” style game, developed using Corona SDK. Works on both iOS devices and Android!

The game will let you design the levels of your dreams with an easy to use system (all the levels are “text based” and every level is a single .lua file inside a folder…easy to add as many as you want!).

The game will count how many moves you will take to complete one level and will save your best score in the preferences so you can have fun making your own levels and see in how many moves you can beat them! (and believe us, there is ALWAYS another way to finish one! ) We also included Ads with AdMob, you can change them to whatever you like (Vungle,iAd, etc…) as long as they are supported by Corona SDK

The rest of the code is well commented, should not be a problem to change any other aspect not in the config.

 

Features

  • Easily change the name of the company/developers in the credits
  • Design your own levels!
  • Design as many levels as you want!
  • Don’t like one tile? Want to add more characters/goals? Free to change and to customize!
  • AdMob account

 

Included

  • Game source for Corona SDK (.lua)
  • Character and tiles artworks
  • Background music!
  • A cool sound effect when you complete one level
  • 15 sample levels
  • Anything else you might need (yep, that includes a tutorial)

 

Requirements

The whole game with all of its features can be compiled with the FREE version of Corona SDK. No need for a paid license to use any of the features of the code we provide!

The game needs at least version 2014.2189 of the Corona SDK.

 

Instructions

Reskinning the game is as easy as it could be. There are no spritesheets, and all the images included (png) can be replaced in a matter of minutes to create your own personal game!

We setup for you 15 levels, butz you can create your own with a lot of ease! any level size is supported.

Every level is easily defined with its own .lua file. If you want to create more just create a new one and add it to the /levels folder inside the project!Â

Here is an example of a level:

level name = “Stop me!”
level
width = 8
levelheight = 6
level
content = {
{2, 2, 2, 2, 2, 2, 2, 2},
{2, 1, 1, 1, 1, 1, 1, 2},
{2, 12, 1, 1, 1, 11, 1, 2},
{2, 1, 1, 1, 1, 1, 4, 2},
{2, 3, 1, 1, 1, 1, 1, 2},
{2, 2, 2, 2, 2, 2, 2, 2}
}

The numbers are all explained in the documentation and you can easily add more tiles!

The code above will result in the following level:

 

Related