O'Reilly logo

LÖVE for Lua Game Programming by Damilare Darmie Akinlaja

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting started with Tiled

Get a copy of Tiled from http://www.mapeditor.org/ and run the Tiled program because before we go ahead; you need to check that your settings are correct (navigate to Tiled | Preferences). I recommend the Base64 encoding, because it produces a smaller file; this makes your game load faster:

Getting started with Tiled

Now open a new file in Tiled, select Orthogonal, and choose your preferred width and height for the tile size. We'll be using the 16 x 16 tile size in this example. The level design will be scaled to screen while playing:

Getting started with Tiled

Load your tile ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required