Jump to content

Tilemap padding?


TheRegge
 Share

Recommended Posts

I am creating a virtual archeological dig using Phaser. I am using a tilemap as a top view of the dig. I need to create a toolbar at the bottom of the map, but don't know how to make it so when the user moves the map all the way down, then the toolbar (in 50% black on screen grab) should not be overlapping the map tiles anymore. I am thinking that adding a padding (the size of the toolbar's height) at the bottom of the map would do the trick.. but I cannot figure out how to do this... Is it even the best way to do it? if so, how do you add padding to a tilemap? Thanks!

post-9537-0-98697300-1404926665.png

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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