Fixation de la caméra (temporaire)

This commit is contained in:
Mattéo Delabre 2016-03-20 22:19:53 +01:00
parent 488f9aa345
commit ec6c6bae6c
1 changed files with 2 additions and 2 deletions

View File

@ -7,11 +7,11 @@ Engine::Engine() : window(
sf::VideoMode(704, 480), "Projet CMI",
sf::Style::Default & ~sf::Style::Resize,
sf::ContextSettings(0, 0, 2)
), view(sf::FloatRect(200, 200, 300, 200)){
), view(sf::FloatRect(0, 0, 704, 480)){
window.setVerticalSyncEnabled(true);
// mise en place de la caméra
view.setSize(800, 600);
view.setSize(704, 480);
window.setView(view);
}