1
Graphics / Re: Error with collisioncheck against a vector
« on: August 14, 2012, 12:21:19 pm »
again many thanks Laurent
I am using VS10 and found a tutorial which will help. Ive linked it below for anyone else using visual studio
http://www.codeproject.com/Articles/79508/Mastering-Debugging-in-Visual-Studio-2010-A-Beginn
EDIT:
OK after stepping through my code carefully, I have assigned both the shape and the element of the vector to a local floatrect and I am finding that when I call the getGlobalBounds() of the shape I receive values for left, top, width and height but my vector only gives me width and height, the left and top values from the sprites of my vector are 0.
Should this be so?
I am using VS10 and found a tutorial which will help. Ive linked it below for anyone else using visual studio
http://www.codeproject.com/Articles/79508/Mastering-Debugging-in-Visual-Studio-2010-A-Beginn
EDIT:
OK after stepping through my code carefully, I have assigned both the shape and the element of the vector to a local floatrect and I am finding that when I call the getGlobalBounds() of the shape I receive values for left, top, width and height but my vector only gives me width and height, the left and top values from the sprites of my vector are 0.
Should this be so?