4
votes
2answers
366 views

How would I display a unit that is hidden behind another object

Right, I've tried searching for this but as you might be able to tell from the title, I didn't really know how to word it anyway... In some games such as rts games, when a unit is hidden or half ...
1
vote
1answer
498 views

How to form a concave shape out of convex shapes? [closed]

I'm trying to get around the rule of only being able to form convex shapes in the SFML C++ library. To do this I'm planning on testing given vertices, and if concave, splitting the vertices ...
0
votes
2answers
1k views

my SFML sprite Move() function: FeedBack?

Hey so i'm making a pong game with SFML and in the process made a function that takes a Time, Speed, Angle of movement, buffer for the movement on the X axis, and buffer for the movement on the Y ...