Scene: go back to drawing Player behind tiles.
GitOrigin-RevId: afaff144f2af1f0ebcaf5b640cb621413110f380
This commit is contained in:
parent
7e7b0f7715
commit
7935b6aaff
@ -73,12 +73,12 @@ namespace SemiColinGames {
|
|||||||
spriteBatch.Begin(
|
spriteBatch.Begin(
|
||||||
SpriteSortMode.Deferred, null, SamplerState.LinearWrap, null, null, null, transform);
|
SpriteSortMode.Deferred, null, SamplerState.LinearWrap, null, null, null, transform);
|
||||||
|
|
||||||
// Draw foreground tiles.
|
|
||||||
world.Draw(spriteBatch);
|
|
||||||
|
|
||||||
// Draw player.
|
// Draw player.
|
||||||
player.Draw(spriteBatch);
|
player.Draw(spriteBatch);
|
||||||
|
|
||||||
|
// Draw foreground tiles.
|
||||||
|
world.Draw(spriteBatch);
|
||||||
|
|
||||||
// Aaaaand we're done.
|
// Aaaaand we're done.
|
||||||
spriteBatch.End();
|
spriteBatch.End();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user