smush hearts together a smidge
GitOrigin-RevId: ebb0e78ff5f3c51d6ddc9765e38fb262bccee160
This commit is contained in:
parent
c189cfcc09
commit
a431ad094b
@ -98,7 +98,7 @@ namespace SemiColinGames {
|
|||||||
spriteBatch.Begin(
|
spriteBatch.Begin(
|
||||||
SpriteSortMode.Deferred, null, SamplerState.PointClamp, null, null, null, null);
|
SpriteSortMode.Deferred, null, SamplerState.PointClamp, null, null, null, null);
|
||||||
for (int i = 0; i < player.MaxHealth; i++) {
|
for (int i = 0; i < player.MaxHealth; i++) {
|
||||||
Vector2 pos = new Vector2(16 + 16 * i, 8);
|
Vector2 pos = new Vector2(16 + 15 * i, 8);
|
||||||
if (player.Health > i) {
|
if (player.Health > i) {
|
||||||
spriteBatch.Draw(Textures.Heart.Get, pos, new Rectangle(0, 0, 16, 16), Color.White);
|
spriteBatch.Draw(Textures.Heart.Get, pos, new Rectangle(0, 0, 16, 16), Color.White);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user