1
General / keyboard events
« on: January 06, 2018, 08:53:02 am »
i just want to when you pres the exit button or press esc the window closes.
// help here // i wont it to close the program when you pres the escape key
if (event.type == sf::Event::Closed || event.type == sf::Event::EventType::KeyPressed Escape)
// help here // i wont it to close the program when you pres the escape key
if (event.type == sf::Event::Closed || event.type == sf::Event::EventType::KeyPressed Escape)