Topic: Loading the next level
Hi,
I am trying to make a start menu for my car game, I made a separate level for it. How could I load the next level in lua?
I see the function loadLevel on the wiki, is this what i'm looking for?
if isKeyPressed("B") then
changeCurrentCamera(Camera2)
loadLevel("Car Game.level")
end
That code doesn't seem to do anything other then change the camera, could anyone tell me how I could change to the main level?