fix to player velocity
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ int main() {
|
||||
sf::RenderWindow window(sf::VideoMode({WIDTH, HEIGHT}), "SFML window", sf::Style::Default);
|
||||
window.setFramerateLimit(60);
|
||||
|
||||
Player player { { 16.0f, 16.0f}, { 40, 40}, 1.0f, 20.0f, 2.0f, 2.5 };
|
||||
Player player { { 16.0f, 16.0f}, { 40, 40}, 1.0f, 20.0f, 2.0f, 4 };
|
||||
player.rect.setFillColor(sf::Color::Black);
|
||||
player.rect.setOutlineColor(sf::Color::White);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user