Tile map and script editor for a game engine