Jan 22, 2012 at 12:08 AM
Edited Jan 22, 2012 at 12:09 AM
I am trying to implement different resolution support in my game.
I found a nice class online that gives me a matrix back after calculating the right scale.
Normally I can attach this matrix to the spritebatch.begin() method. But with krypton I can't do this. At least, not in the same way.
For instance, with farseer physics, all I do is this:
game.spriteBatch.Begin(SpriteSortMode.Deferred, null, null, null, null, null, Resolution.getTransformationMatrix());
The method Resolution.getTransformationMatrix() takes care of the calculation.
Here is an image of how it looks now:
Could someone help with were I can place this matrix so that krypton lights and hulls are placed correctly?
Thanks in advance.