diff --git a/Faceball2030/assets/map/map1.map b/Faceball2030/assets/map/map1.map index c80fd62..64969c9 100644 --- a/Faceball2030/assets/map/map1.map +++ b/Faceball2030/assets/map/map1.map @@ -25,8 +25,8 @@ 8202 8198 8195 -16662 -8207 +278 +24591 8195 8202 8202 diff --git a/Faceball2030/main.cpp b/Faceball2030/main.cpp index bd6557f..f719a8c 100644 --- a/Faceball2030/main.cpp +++ b/Faceball2030/main.cpp @@ -139,6 +139,10 @@ void FaceBall::LoadLevel(int level) if (id == EXIT) { exitCoords = { x,y }; } + if (id == START) { + player.UpdatePos({ x+0.5f,0.3,y+0.5f }); + fYaw = (int(mapData[y][x].facingDir) - 1) * PI / 2; + } } map.push_back(row); }