1
Graphics / size of view different from size of window
« on: January 06, 2011, 07:39:18 pm »Quote
But now, if I draw an interface, I must use another rectangle for what is really visible on the screen, as the sprites in the region of the interface won't be visible.QuoteDon't you have two separate views?
Yes I have 2 views, but there are some sprites of the world that would be drawed in the area of the screen of the interface. Of course that won't happen because the interface is drawn after the world, so the sprites are overwritten in the screen by the interface.
I must avoid calling the draw method of those sprites, because it is useless and spend time, just a bit, but it does.