ttsmyd Posted April 7, 2019 Share Posted April 7, 2019 Good afternoon, I am completely new in working with Phaser, but for a long time I tried unsuccessfully to find a solution myself The concept of the game is a clone of Battle City (Tanks) from the NES, BUT with a player-generated map size and number of units, that reading from JSON. My question is: how to make the game-location take up the same amount of screen space, regardless of its size (10x10 tiles, 100x100 tiles or something other)? Should I somehow convert Tilemap, Tilelayer or use Camera methods? I heard, that Phaser 3 has svg-support, maybe I need to use it and change the size of tiles depending on the incoming value from JSON? Thanks for help! And sorry for my language Link to comment Share on other sites More sharing options...
Recommended Posts