Tagged Questions
-1
votes
1answer
101 views
Drawing multiple sprites with clear screen for every frame
I googled with best of my skills, but I cannot find any relevant answer to my problem. I'm making a game with an isometric view. I need to draw multiple sprites on the screen and before switching to ...
0
votes
1answer
149 views
Animating isometric sprites
I'm having trouble coming up with a way to animate these 2D isometric sprites. The sprites are stored like this:
< Game Folder Root >/Assets/Sprites/< Sprite Name >/< Sprite Animation >/< ...
1
vote
1answer
156 views
Duplicating Images in SFML
I was wondering how one would go about duplicating the same sprite in SFML, instead of having to create new sprites every time I would want have another sprite of the same image. Just some basic ...
0
votes
3answers
512 views
How to handle many sprites and update?
I am making a game, and I just started to think about how I am going to update and render all the sprites on the screen. Should I store all sprites in some type of list (vector or something?) and then ...
0
votes
1answer
1k views
SFML - Moving a sprite on mouseclick
I want to be able to move a sprite from a current location to another based upon where the user clicks in the window. This is the code that I have:
#include <SFML/Graphics.hpp>
int main()
{
...