Fix up tileset displays and enable the ability to have multiple tilesets in one map for the parser.

This commit is contained in:
2023-06-21 21:33:23 -07:00
parent 1d3b07eb98
commit b4d6d1cd09
4 changed files with 128 additions and 117 deletions
+3
View File
@@ -27,6 +27,9 @@ Crawler::Crawler()
bool Crawler::OnUserCreate(){
TMXParser level1("assets/maps/Level1.tmx");
MAP_DATA[LEVEL1]=level1.GetData();
TMXParser level2("assets/maps/Level2.tmx");
MAP_DATA[LEVEL2]=level2.GetData();
//Initialize Camera.
camera=Camera2D{WINDOW_SIZE};