Hello!
So, yesterday I've finally compiled my game under new Beta :) And an hour ago I've even launched it. Now I got 2 questions:
1. Help says:
"The Initialize method is where you can initialize any assets that do not require a GraphicsDevice to be initialized."
Well, when I work with my program GraphicsDevice seems to be well initialized in Initialize (more exactly after calling of base method).
Is it just a side effect and I should not rely on it or it is an error in documentation
2. I use SpriteEffects to flip my batches. When I first run my game under Beta 2 all sprites are not flipped. I've look through documentation but got no clue - XNA seems to be ignoring SpriteEffects. What's wrong
Thanks!
Stas

2 Questions for Beta 2: Flipping and Initializing
silversurfer25
I've found what's up with flipping. It works, but in some other way comparing to Beta 1.
The difference is in the direction of drawing. Beta 1 flipped not only content of the sprite, but the direction as well and Beta 2 flips only the content and keeps the direction.
So I guess I have to update my code to support it :)
Kamii47
Euclidez
1 - got it.
2: The exact copy/paste
armBatch.Draw(armTexture, new Vector2(headLocation.X + armTexture.Width / 2, location.Y + armTexture.Height), null, armColor, angleCurrent, Vector2.Zero, 1, SpriteEffects.FlipVertically, 0f);
That worked fine in Beta 1.
PIBO
It draws w/o flipping. Actually there is one more place where I use flipping and there the problem is the same. No matter what I write in SpriteEffects, None or Flip - sprite draws not rotated.
It is not a problem to upload the code, but I want to play with it a bit more and get a better feeling of what's going on. If the problem persists I will let you know and send the project for review.
AnnyJacky
1. That comment is talking about assets that don't go through the content pipeline. You don't want to load content pipeline assets in Initialize because it's only called once. If you need to reload content, you're stuck.
2. I have no problem using SpriteEffects to flip sprites. What's your code look like