Hello all, I am just learning how to code. Trying to make a simple game where you are a box and trying to get to point A to point B. I also want to add a death counter.
But for some reason we the player hits the goal to get to the next level it doesnt do anything. I had it working before but not it just stopped working and I dont know why.
This is not in C++, why are you posting this in a C++ website? Look likes Java or C# to me. I dont have enough context here but my guess it would have something to do with:
1 2 3 4
if (currentLevel < 3)
{
currentLevel += 1;
Application.LoadLevel (currentLevel);