1
Graphics / Spritesheet with Rect
« on: April 03, 2010, 02:45:20 pm »
It's asking me coordinates of Left, Top, Right and Bottom, but I am already giving them.
So i guess it needs other values, but what? And, btw, in what order are the points? I mean is Left meant to be top-left, or bottom-left?
Code: [Select]
sf::IntRect Rect[ 2 ];
Rect[0].Left(0, 0);
Rect[0].Top(16, 0);
Rect[0].Right(16, 16);
Rect[0].Bottom(0, 16);
Quote
term does not evaluate to a function taking 2 arguments
So i guess it needs other values, but what? And, btw, in what order are the points? I mean is Left meant to be top-left, or bottom-left?