Wattage Tile Engine: Plugin API Docs

Wattage Tile Engine Logo

   
Type Library
Corona Store wattageTileEngine
Keywords Tiles, Tile, Tile Engine, Engine
See also  

Quickstart

Find screenshots of the tile engine in action here, and a video of the tech demo here.

The Wattage Tile Engine is easy to use. Check out the quick start guide here to get up and running fast. Or download the template and start your own project. Be sure to check out the variety of sample code below.

Overview

The wattageTileEngine plugin can be used in your Corona project. It enables the display of a large number of tiles and includes the following features:

Guides

Syntax

local wattageTileEngine = require "plugin.wattageTileEngine"

Libraries

Types

The following types are exposed by the Wattage Tile Engine library:

Project Configuration

Corona Store Activation

In order to use this plugin, you must activate the plugin at the Corona Store.

SDK

When you build using the Corona Simulator, the server automatically takes care of integrating the plugin into your project.

All you need to do is add an entry into a plugins table of your build.settings. The following is an example of a minimal build.settings file:

settings =
{
	plugins =
	{
		-- key is the name passed to Lua's 'require()'
		["plugin.wattageTileEngine"] =
		{
			-- required
			publisherId = "com.blindprophetsoftware",
		},
	},		
}

Enterprise

If you have activated this plugin, you can download this plugin from the corresponding plugin page in the Corona Store.

Platform-specific Notes

None.

Resources

Sample Code

The template serves as a bare bones example.

The Quickstart Guide walks through all of the following sample code:

Additional Examples

Support

More support is available from the Blind Prophet Software, LLC team:

Compatibility

Platform Supported
iOS Yes
Android Yes
Android (GameStick) Yes
Android (Kindle) Yes
Android (NOOK) Yes
Android (Ouya) Yes
Mac App Yes
Win32 App Yes
Windows Phone 8 Yes
Corona Simulator (Mac) Yes
Corona Simulator (Win) Yes

Screenshots

Racing Game

Racing screenshot 1

Racing screenshot 2

Racing screenshot 3

Roguelike

Roguelike screenshot 1

Roguelike screenshot 2

Roguelike screenshot 3

Tech Demo

Tech deom screenshot 1

Tech deom screenshot 2

Tech deom screenshot 3

Tech deom screenshot 4

Videos

Release Notes

7-11-17

Version 1.0.4

This release consists of non-breaking changes. It adds functions to RegionManager which allow it to handle non-resource entities.

5-8-17

Version 1.0.3

This release consists of non-breaking changes. No changes should be necessary in your code.

4-25-17

Version 1.0.2

This release consists of non-breaking changes. No changes should be necessary in your code.

local spriteInfo = SpriteInfo.new({
    imageRect = displayObject,
    width = 100,
    height = 100
})

It is slightly better performance wise to do this:

local spriteInfo = {
    imageRect = displayObject,
    width = 100,
    height = 100
}

2-1-17

Version 1.0.1

This release consists of non-breaking changes. No changes should be necessary in your code.