I have wasted the whole day noooo spent considerable time experimenting with importing Tiled maps into Pixi and have deemed it to not be a viable option for us, considering performance, ease of customization, and the large number of issues faced with the import.
Therefore, the best option is to create our own map framework which will allow for the creation of custom tiles with assignable functions (wall, spawner, health, etc.) and assignable map positions.
List of features for Map Framework:
[x] Tile object which is a much simpler version of GameObject. Tiles are initialized server-side and synced to the client using objectSync for better optimization (not all Tiles will be drawn on a client; only the Tiles that are visible will be sent.)
[x] Create an arbitrary coordinate system to house Tiles, which will use the size of the current grid created by @AdarshI (400x400).
[x] Draw Tiles onto the map like any other GameObject, but put them under the grid. Not sure how difficult/easy this will be but we'll see.
[x] Make sure that the map is padded with outside tiles so the coloring matches.
I have
wasted the whole day noooospent considerable time experimenting with importing Tiled maps into Pixi and have deemed it to not be a viable option for us, considering performance, ease of customization, and the large number of issues faced with the import.Therefore, the best option is to create our own map framework which will allow for the creation of custom tiles with assignable functions (wall, spawner, health, etc.) and assignable map positions.
List of features for Map Framework:
objectSync
for better optimization (not all Tiles will be drawn on a client; only the Tiles that are visible will be sent.)outside
tiles so the coloring matches.