CHAPTER 22

image

Creating a Two-Dimensional Map Editor

Ivan Popelyshev, Game Developer, bombermine.com

This chapter expands on the techniques covered in Chapter 6. You will get the most from this chapter if you have worked through that one first.

To address issues with your map and layer format, you must first approach the problem from an asset-creation standpoint. In this chapter, I will introduce you to the basics of creating a map editor, using the autotiles feature6.

The basic features of a graphic editor are

  1. zoom, scroll
  2. save/load image
  3. palette
  4. brush

The graphics editor allows you to compare the appearance of a map with and without autotiling. ...

Get HTML5 Game Development Insights now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.