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

1

Attached Files

The following files have been attached to this tutorial:

.capx

Stats

5,083 visits, 7,802 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 10 Dec, 2013. Last updated 19 Feb, 2019

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
  • 0 Comments

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