SFML community forums
General => SFML projects => Topic started by: naemwear on January 05, 2022, 05:24:35 pm
-
Link to a video showing the problem: https://youtu.be/K-dy3tugJ6s
Code: https://pastebin.com/G6e5je1f
So I am having this problem when I spawn bullets their textures don't show instead just a square shows.
I don't know what is happening or what could be the cause of the problem.
I have listed all the necessary links above, please help. Thank you in advance.
-
Try passing true as second parameter to the setTexture function, that way the texture rect is updated to match the texture size
-
Didn't work unfortunately!