I've been trying to get my game to scale every sprite based on screen size and I found this site.
However it seems that they used XNA 3.1 so in spriteBatch.Begin
they used some code that does not work in XNA 4.0 like SpriteBlendMode.AlphaBlend
. Now I found a website that converts 3.1 code to 4.0 and I've done that. But it says
"No overload for method spriteBatch.Begin() takes 3 arguments"
in the draw method.
At the moment it looks like this:
spriteBatch.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend, SpriteScale);
What more does it want? Can I just put null,null after SpriteScale? Or is there an eaiser way to Scale the game based on your screen size? Please help! :)