Well, I need to see your levek1.Draw and player.Draw for my information, but that I expect this. In one of your methods, you call spriteBatch.Begin() , you MUST call End() before you call it.
So, if your playerโs class drawing method is as follows
Draw(Spritebatch spriteBatch) { spriteBatch.Begin(); spriteBatch.Draw(PlayerSprite,PlayerPosition, etc); spriteBatch.End(); }
You need to remove the Begin and End calls because they have already been called by the parent method.
EDIT: I didnโt read it clearly, I see that you believe that this is not a problem, but we need to see other methods to find out the problem.
Cyral source share