Instructions_State() : tb(Point2f(), Point2f(800.0f, 600.0f), "system_36_800x600", "This game uses WASD keys in addition to mouse input. " "It shows how to render a very simple 3D scene.", Color()) { tb.give_BG_Renderer(new Widget_Renderer_Color(get_Colors()["black"])); }
Instructions_State() : tb(Point2f(), Point2f(800.0f, 600.0f), "system_36_800x600", "P U R P O S E\n" "The point of the game is to get to safety by getting to your airplane. " "You do this by clearing obstacles in the map you are thrown in. " "Play to learn more!\n\n" "C O N T R O L S\n" "Arrow Keys: Move the explorer\n" "S Key: Pick up an item\n" "D Key: Drop an item\n" "F Key: Use an item\n" "Space Bar: Move the explorer faster\n\n" "P Key: Retry level\n" "ESC to return to the menu.", Color()) { tb.give_BG_Renderer(new Widget_Renderer_Color(get_Colors()["black"])); }
void render() { get_Video().set_2d(make_pair(Point2f(), Point2f(800.0f, 600.0f)), true); tb.render(); }