SDL_Color black = {0,0,0}; SLayer* nebula = newSLayer(loadImage("assets/img/backgrounds/presents.png"), 0,0,0,0,255); SLayer* fogF = newSLayer(loadImage("assets/img/fx/fog.png"), 0,0,-1,0,128); SLayer* fogB = newSLayer(loadImage("assets/img/fx/plasma.png"), -320,0,1,0,56); SLayer* presents = newSLayer(TTF_RenderText_Solid(font, "nilFM presents", textColor), 120,84,0,0,128); SLayer* menuTransition = newSLayer(loadImage("assets/img/backgrounds/mainmenu.png"),0,0,0,0,255); Scene* intro = newScene(30,30, 200, black, black); Scene* transition = newScene(30,0,30, black, black); buildScene(intro, nebula); buildScene(intro, fogB); buildScene(intro, fogF); buildScene(intro, presents); buildScene(transition, menuTransition); playScene(intro); playScene(transition); deleteScene(intro); deleteScene(transition);