Skip to content

Commit

Permalink
feat: ✨ Made a Circle
Browse files Browse the repository at this point in the history
  • Loading branch information
Polaris66 committed Jul 25, 2023
1 parent e077dac commit 61ea7fd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ int main()
// Create the main window
sf::RenderWindow window(sf::VideoMode(width, height), "Game of Life");

sf::CircleShape shape(50.f);
shape.setFillColor(sf::Color(100, 250, 50));

// Main Loop
while (window.isOpen())
{
Expand All @@ -19,5 +22,13 @@ int main()
window.close();
}
}

window.clear(sf::Color::Black);

// Display Stuff
window.draw(shape);
window.display();
}

return 0;
}
Binary file modified main.o
Binary file not shown.
Binary file modified sfml-app
Binary file not shown.

0 comments on commit 61ea7fd

Please sign in to comment.