I am having a continuous problem trying to get my game to restart. I have veiwed many of the other threads and have tried them but to no avail.
I have this function to reload the level
function button:tap()
director:changeScene( loadLevel, “crossfade” )
button:addEventListener(‘tap’, button)
end
whenever I test the game out it says that add event listener is nil any help would be greatly appreciated. [import]uid: 94237 topic_id: 15818 reply_id: 315818[/import]