Auto-tile Using Sprites, Arrays, and a bitwise method.

  • 38 favourites

Attached Files

The following files have been attached to this tutorial:

.capx

autotile.capx

Download now 11 KB

Stats

2,372 visits, 4,038 views

Translations

This tutorial hasn't been translated.

Tools

This is an example of how to auto-tile sprites using an array and a bitwise method explained here:

saltgames.com/2010/a-bitwise-method-for-applying-tilemaps

Demo

Please Note: With the addition of the tilemap plugin, it is highly recommended that you use the tilemap object for auto-tiling whenever possible as it requires less processing power than creating individual sprites. This tutorial is for when you require features that the tilemap plugin does not have (i.e. multiple frames/animations, rotation, etc).

Here is a nice example of how to achieve auto-tiling with the tilemap object. Thanks to Joannesalfa and R0j0hound for the tilemap example.

.CAPX

autotile.capx

Download now 11 KB
  • 0 Comments

  • Order by
Want to leave a comment? Login or Register an account!