removed some of the code from master branch on helloWorldScene.cpp, divded function to multiple lines