[SFML] Problem with vector array collision

Started by
-1 comments, last by Elit3d 9 years, 2 months ago

So, I have done collision for the player and it was simple as it wasnt used as an array. I did it using Player p1(Player(sf::Vector2f(100, 100), Tplayer));

But my problem is getting a vector array to use collision: std::vector<sf::Sprite> enemy(100, sf::Sprite(Tbird));

This topic is closed to new replies.

Advertisement