Proximate-tile-type-based map generation
An approach to facilitating proximate-tile-type-based map generation is provided. Tile type information that indicates tile types for map tiles of a map to be generated may be received. One or more proximate tile types may be determined for individual ones of the map tiles based on the tile types. The proximate tile types may include one or more of the tile types of other ones of the map tiles that are proximate the individual map tiles on the map. Level information that indicates levels for the individual map tiles may be determined based on the proximate tile types of the individual map tiles. The map may be generated based on the tile type information and the level information. In some implementations, the tile type information may be received as a graphic representation having colors that indicate the tile types.
1. A system for facilitating proximate-tile-type-based map generation, the system comprising:
one or more processors configured by machine-readable instructions to:
receive a graphical representation of a user-generated map, the graphical representation comprising a plurality of sets of pixels, each set of pixels of the plurality of sets of pixels corresponding to a different map tile from a set of map tiles;
determine tile type information for each map tile of the set of map tiles based at least in part on colors included in a corresponding portion of the graphical representation for the map tile, the tile type information indicating tile types for the set of map tiles of a map of a game space to be generated, wherein the tile types include a first tile type and a second tile type, and the set of map tiles include a first map tile of the first tile type and a second map tile of the second tile type that is proximate the first map tile on the map, and wherein each tile type is associated with a different color or set of colors;
determine, based on the tile type information, one or more proximate tile types of individual ones of the set of map tiles, wherein the proximate tile types of the individual map tiles include one or more of the tile types of other ones of the set of map tiles that are proximate the individual map tiles on the map;
determine, based on the proximate tile types of the individual map tiles, numeric values for levels of the individual map tiles such that the levels dictate the degree to which characteristics of a tile type assigned to an individual map tile are present in the individual map tile, wherein a level indicated by the numeric value for the first map tile is based on a determination that the second tile type is one of the proximate tile types of the first map tile;
associate game-specific terrain characteristics with at least some map tiles of the set of map tiles based at least in part on the tile type information and the numeric values, wherein the game-specific terrain characteristics comprise tile properties that affect in-game actions performed with respect to the at least some map tiles; and
generate the map based on the tile type information and the numeric values.
2. The system of claim 1 , wherein the tile types include different terrain types, the terrain types include a first terrain type and a second terrain type different from the first terrain type, the first tile type includes the first terrain type, and the second tile type includes the second terrain type.
3. The system of claim 1 , wherein the set of map tiles include a third map tile of the first tile type that is proximate the first map tile on the map, and wherein the one or more processors are further configured by machine-readable instructions to determine the numeric values such that the level for the first map tile is based on one or more of a level indicated by the numeric value for the second map tile or a level indicated by the numeric value for the third map tile.
4. The system of claim 1 , wherein the map includes map tile sets having one or more map tiles, the map tile sets includes a first map tile set and a second map tile set, the first map tile set includes one or more tiles of the first tile type, the map tiles of the first map tile set includes the first map tile, the second map tile set includes one or more tiles of the second tile type, and the map tiles of the second map tile set includes the second map tile, and wherein the one or more processors are further configured by machine-readable instructions to determine that the second tile type is one of the proximate tile types of the first map tile based on a determination that the second map tile set is adjacent to the first map tile set on the map.
5. The system of claim 1 , wherein the first map tile includes a first color and the second map tile includes a second color, the first color indicates the first tile type, and the second color indicates the second tile type.
6. The system of claim 5 , wherein the one or more processors are further configured by machine-readable instructions to:
determine, based on the colors, level ranges for the set of map tiles, wherein the level ranges include a first range and a second range; and
determine the numeric values such that the level for the first map tile is based on a determination that the first map tile is within the first range in accordance with the first color.
7. The system of claim 1 , wherein the one or more processors are further configured by machine-readable instructions such that the map is generated based on the individual pixel representations of the individual map tiles.
8. The system of claim 1 , wherein the one or more processors are further configured to provide a user interface for presentation to a user, and wherein the user interface is configured to facilitate modification of the generated map by the user.
9. The system of claim 1 , wherein the user-generated map comprises a manually drawn map.
10. The system of claim 1 , wherein the one or more processors are further configured by machine-readable instructions to:
determine that the color of a particular map tile is a variation of the color of the tile type of the particular map tile; and
adjust a numeric value of the level of the particular map tile based at least in part on the determined variation of the color of the tile type of the particular map tile.
11. A computer-implemented method of facilitating proximate-tile-type-based map generation, the method being implemented on a computer system that includes one or more physical processors, the method comprising:
receiving a graphical representation of a user-generated map, the graphical representation comprising a plurality of sets of pixels, each set of pixels of the plurality of sets of pixels corresponding to a different map tile from a set of map tiles;
determining tile type information for each map tile of the set of map tiles based at least in part on colors included in a corresponding portion of the graphical representation for the map tile, the tile type information indicating tile types for the set of map tiles of a map of a game space to be generated, wherein the tile types include a first tile type and a second tile type, and the set of map tiles include a first map tile of the first tile type and a second map tile of the second tile type that is proximate the first map tile on the map, and wherein each tile type is associated with a different color or set of colors;
determining, based on the tile type information, one or more proximate tile types of individual ones of the set of map tiles, wherein the proximate tile types of the individual map tiles include one or more of the tile types of other ones of the set of map tiles that are proximate the individual map tiles on the map;
determining, based on the proximate tile types of the individual map tiles, numeric values for levels of the individual map tiles such that the levels dictate the degree to which characteristics of a tile type assigned to an individual map tile are present in the individual map tile, wherein a level indicated by the numeric value for the first map tile is based on a determination that the second tile type is one of the proximate tile types of the first map tile;
associating game-specific terrain characteristics with at least some map tiles of the set of map tiles based at least in part on the tile type information and the numeric values, wherein the game-specific terrain characteristics comprise tile properties that affect in-game actions performed with respect to the at least some map tiles; and
generating the map based on the tile type information and the numeric values.
12. The method of claim 11 , wherein the tile types include different terrain types, the terrain types include a first terrain type and a second terrain type that is different from the first terrain type, the first tile type includes the first terrain type, and the second tile type includes the second terrain type.
13. The method of claim 11 , wherein the set of map tiles include a third map tile of the first tile type that is proximate the first map tile on the map, and wherein the numeric values are determined such that the level for the first map tile is based on one or more of a level indicated by the numeric value for the second map tile or a level indicated by the numeric value for the third map tile.
14. The method of claim 11 , wherein the map includes map tile sets having one or more map tiles, the map tile sets includes a first map tile set and a second map tile set, the first map tile set includes one or more tiles of the first tile type, the map tiles of the first map tile set includes the first map tile, the second map tile set includes one or more tiles of the second tile type, and the map tiles of the second map tile set includes the second map tile, and wherein the second tile type is determined to be one of the proximate tile types of the first map tile based on a determination that the second map tile set is adjacent to the first map tile set on the map.
15. The method of claim 11 , wherein the first map tile includes a first color and the second map tile includes a second color, the first color indicates the first tile type, and the second color indicates the second tile type.
16. The method of claim 15 , further comprising determining, based on the colors, level ranges for the set of map tiles, wherein the level ranges include a first range and a second range, and wherein the numeric values are determined such that the level for the first map tile is based on a determination that the first map tile is to be within the first range in accordance with the first color.
17. The method of claim 11 , wherein the map is generated based on the individual pixel representations of the individual map tiles.
18. The method of claim 11 , further comprising providing a user interface for presentation to a user, wherein the user interface is configured to facilitate modification of the generated map by the user.
19. The method of claim 11 , wherein the user-generated map comprises a manually drawn map.
20. The method of claim 11 , wherein the method further comprises:
determining that the color of a particular map tile is a variation of the color of the tile type of the particular map tile; and
adjusting a numeric value of the level of the particular map tile based at least in part on the determined variation of the color of the tile type of the particular map tile.