Jump to content

2 tilemaps on the same screen


frenetikm
 Share

Recommended Posts

Hi, I'm on a new idea of a game, and I would like to know if it is technically possible to separate the screen with 2 separate worlds, 2 tilemaps and 2 players ?

 

I have not seen an example where a "world" is loaded on a particular area of the screen (the space left could be used for anything else)

Link to comment
Share on other sites

I've never tried putting two tilemaps on the same game state, but I assume it would be possible.  The tilemap itself has no effect on the bounds of the world, you need to manually configure the bounds of the world to match the tilemap.  So you could configure it to fit two tilemaps, I presume.

What I might do instead, however, is have the entire game (for both players) represented by one tilemap, then use two seperate layers of the tile map, one for player 1 and one for player 2.  You can offset the layers manually so they align properly.  

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...