Agrandissement de la scène
This commit is contained in:
parent
626d943a5a
commit
11719895c0
|
@ -3,7 +3,7 @@
|
||||||
#include <queue>
|
#include <queue>
|
||||||
|
|
||||||
Engine::Engine() : window(
|
Engine::Engine() : window(
|
||||||
sf::VideoMode(400, 300), "Projet CMI",
|
sf::VideoMode(800, 600), "Projet CMI",
|
||||||
sf::Style::Default & ~sf::Style::Resize,
|
sf::Style::Default & ~sf::Style::Resize,
|
||||||
sf::ContextSettings(0, 0, 2)
|
sf::ContextSettings(0, 0, 2)
|
||||||
) {
|
) {
|
||||||
|
|
|
@ -8,6 +8,7 @@ int main() {
|
||||||
Engine engine;
|
Engine engine;
|
||||||
|
|
||||||
Ball ball(3 * Constants::GRID, 1 * Constants::GRID);
|
Ball ball(3 * Constants::GRID, 1 * Constants::GRID);
|
||||||
|
|
||||||
Block block1(3 * Constants::GRID, 6 * Constants::GRID);
|
Block block1(3 * Constants::GRID, 6 * Constants::GRID);
|
||||||
Block block2(3 * Constants::GRID, 7 * Constants::GRID);
|
Block block2(3 * Constants::GRID, 7 * Constants::GRID);
|
||||||
Block block3(4 * Constants::GRID, 7 * Constants::GRID);
|
Block block3(4 * Constants::GRID, 7 * Constants::GRID);
|
||||||
|
|
Loading…
Reference in New Issue