If you look at my movement function you may understand why it outputs this behavior. (I hope I have commented and organised it enough it looks long but some things are repeated so just bear with me here )
http://pastebin.com/LwGGiY8A
If anyone can help me fix this "lopsided movement" it would be greatly appreciated
My other question is: how do I properly "destruct" a sf::Sprite? I have successfully done this but sometimes I get a runtime error saying "pure virtual function" I am using SFML 1.6.
This is how I am currently doing it:
Code: Select all
//The std::vector "LASORSMirror" currently contains sf::Sprites that are not allocated from the heap.//
LASORSMirror[V].sf::Drawable::~Drawable();
Any help will be greatly appreciated and thank you for reading :-D
p.s I know I sometimes have problems getting my point across if any clarification is needed please ask .
-------EDIT-------
Btw I am using C++ .