TurtleBrains  0.3.1
High quality, portable, C++ framework for rapid 2D game development.
Give the Scene a Backdrop

That will create an extremely basic scene presenting a black screen, pretty boring so lets set the stage with a simple backdop.

modify egg_drop_game_scene.cpp

void EggDropGameScene::OnOpen(void)
{
AddGraphic(new tbGraphics::Sprite("data/backdrop.png"));
}
void EggDropGameScene::OnClose(void)
{
ClearGraphics();
}

Previous Step :: Next Step