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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.