#include "Config.h"Functions | |
| sf::Vector2f | BASE_RESOLUTION (1280, 720) |
| sf::Vector2u | WINDOW_SIZE (BASE_RESOLUTION.x, BASE_RESOLUTION.y) |
| Set your base resolution. | |
| sf::Vector2f | SCALE_FACTOR ((WINDOW_SIZE.x/BASE_RESOLUTION.x),(WINDOW_SIZE.x/BASE_RESOLUTION.x)) |
| Start with base resolution. | |
| sf::Vector2f BASE_RESOLUTION | ( | 1280 | , |
| 720 | ) |
| sf::Vector2f SCALE_FACTOR | ( | (WINDOW_SIZE.x/BASE_RESOLUTION.x) | , |
| (WINDOW_SIZE.x/BASE_RESOLUTION.x) | ) |
Start with base resolution.
| sf::Vector2u WINDOW_SIZE | ( | BASE_RESOLUTION. | x, |
| BASE_RESOLUTION. | y ) |
Set your base resolution.