Skip to content

Commit a22e120

Browse files
Merge branch '3.8.4' of https://github.com/MonoGame/MonoGame.Samples into 3.8.5
2 parents f78895a + 753e3b7 commit a22e120

15 files changed

Lines changed: 0 additions & 45 deletions

File tree

  • Tutorials/learn-monogame-2d/src
    • 13-Tilemap/MonoGameLibrary/Graphics
    • 14-SoundEffects-And-Music/MonoGameLibrary/Graphics
    • 15-Audio-Controller/MonoGameLibrary/Graphics
    • 16-Working-With-SpriteFonts/MonoGameLibrary/Graphics
    • 17-Scenes/MonoGameLibrary/Graphics
    • 18-Texture-Wrapping/MonoGameLibrary/Graphics
    • 19-User-Interface-Fundamentals/MonoGameLibrary/Graphics
    • 20-Implementing-UI-With-Gum/MonoGameLibrary/Graphics
    • 21-Customizing-Gum-UI/MonoGameLibrary/Graphics
    • 22-Snake-Game-Mechanics/MonoGameLibrary/Graphics
    • 23-Completing-The-Game/MonoGameLibrary/Graphics
    • 24-Shaders/MonoGameLibrary/Graphics
    • 25-Packaging-Game/MonoGameLibrary/Graphics
    • 26-Publish-To-Itch/MonoGameLibrary/Graphics
    • 27-Conclusion/MonoGameLibrary/Graphics

Tutorials/learn-monogame-2d/src/13-Tilemap/MonoGameLibrary/Graphics/Tilemap.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,6 @@ public static Tilemap FromFile(ContentManager content, string filename)
216216
// Get the tileset index for this location
217217
int tilesetIndex = int.Parse(columns[column]);
218218

219-
// Get the texture region of that tile from the tileset
220-
TextureRegion region = tileset.GetTile(tilesetIndex);
221-
222219
// Add that region to the tilemap at the row and column location
223220
tilemap.SetTile(column, row, tilesetIndex);
224221
}

Tutorials/learn-monogame-2d/src/14-SoundEffects-And-Music/MonoGameLibrary/Graphics/Tilemap.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,6 @@ public static Tilemap FromFile(ContentManager content, string filename)
216216
// Get the tileset index for this location
217217
int tilesetIndex = int.Parse(columns[column]);
218218

219-
// Get the texture region of that tile from the tileset
220-
TextureRegion region = tileset.GetTile(tilesetIndex);
221-
222219
// Add that region to the tilemap at the row and column location
223220
tilemap.SetTile(column, row, tilesetIndex);
224221
}

Tutorials/learn-monogame-2d/src/15-Audio-Controller/MonoGameLibrary/Graphics/Tilemap.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,6 @@ public static Tilemap FromFile(ContentManager content, string filename)
216216
// Get the tileset index for this location
217217
int tilesetIndex = int.Parse(columns[column]);
218218

219-
// Get the texture region of that tile from the tileset
220-
TextureRegion region = tileset.GetTile(tilesetIndex);
221-
222219
// Add that region to the tilemap at the row and column location
223220
tilemap.SetTile(column, row, tilesetIndex);
224221
}

Tutorials/learn-monogame-2d/src/16-Working-With-SpriteFonts/MonoGameLibrary/Graphics/Tilemap.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,6 @@ public static Tilemap FromFile(ContentManager content, string filename)
216216
// Get the tileset index for this location
217217
int tilesetIndex = int.Parse(columns[column]);
218218

219-
// Get the texture region of that tile from the tileset
220-
TextureRegion region = tileset.GetTile(tilesetIndex);
221-
222219
// Add that region to the tilemap at the row and column location
223220
tilemap.SetTile(column, row, tilesetIndex);
224221
}

Tutorials/learn-monogame-2d/src/17-Scenes/MonoGameLibrary/Graphics/Tilemap.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,6 @@ public static Tilemap FromFile(ContentManager content, string filename)
216216
// Get the tileset index for this location
217217
int tilesetIndex = int.Parse(columns[column]);
218218

219-
// Get the texture region of that tile from the tileset
220-
TextureRegion region = tileset.GetTile(tilesetIndex);
221-
222219
// Add that region to the tilemap at the row and column location
223220
tilemap.SetTile(column, row, tilesetIndex);
224221
}

Tutorials/learn-monogame-2d/src/18-Texture-Wrapping/MonoGameLibrary/Graphics/Tilemap.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,6 @@ public static Tilemap FromFile(ContentManager content, string filename)
216216
// Get the tileset index for this location
217217
int tilesetIndex = int.Parse(columns[column]);
218218

219-
// Get the texture region of that tile from the tileset
220-
TextureRegion region = tileset.GetTile(tilesetIndex);
221-
222219
// Add that region to the tilemap at the row and column location
223220
tilemap.SetTile(column, row, tilesetIndex);
224221
}

Tutorials/learn-monogame-2d/src/19-User-Interface-Fundamentals/MonoGameLibrary/Graphics/Tilemap.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,6 @@ public static Tilemap FromFile(ContentManager content, string filename)
216216
// Get the tileset index for this location
217217
int tilesetIndex = int.Parse(columns[column]);
218218

219-
// Get the texture region of that tile from the tileset
220-
TextureRegion region = tileset.GetTile(tilesetIndex);
221-
222219
// Add that region to the tilemap at the row and column location
223220
tilemap.SetTile(column, row, tilesetIndex);
224221
}

Tutorials/learn-monogame-2d/src/20-Implementing-UI-With-Gum/MonoGameLibrary/Graphics/Tilemap.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,6 @@ public static Tilemap FromFile(ContentManager content, string filename)
216216
// Get the tileset index for this location
217217
int tilesetIndex = int.Parse(columns[column]);
218218

219-
// Get the texture region of that tile from the tileset
220-
TextureRegion region = tileset.GetTile(tilesetIndex);
221-
222219
// Add that region to the tilemap at the row and column location
223220
tilemap.SetTile(column, row, tilesetIndex);
224221
}

Tutorials/learn-monogame-2d/src/21-Customizing-Gum-UI/MonoGameLibrary/Graphics/Tilemap.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,6 @@ public static Tilemap FromFile(ContentManager content, string filename)
216216
// Get the tileset index for this location
217217
int tilesetIndex = int.Parse(columns[column]);
218218

219-
// Get the texture region of that tile from the tileset
220-
TextureRegion region = tileset.GetTile(tilesetIndex);
221-
222219
// Add that region to the tilemap at the row and column location
223220
tilemap.SetTile(column, row, tilesetIndex);
224221
}

Tutorials/learn-monogame-2d/src/22-Snake-Game-Mechanics/MonoGameLibrary/Graphics/Tilemap.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,6 @@ public static Tilemap FromFile(ContentManager content, string filename)
216216
// Get the tileset index for this location
217217
int tilesetIndex = int.Parse(columns[column]);
218218

219-
// Get the texture region of that tile from the tileset
220-
TextureRegion region = tileset.GetTile(tilesetIndex);
221-
222219
// Add that region to the tilemap at the row and column location
223220
tilemap.SetTile(column, row, tilesetIndex);
224221
}

0 commit comments

Comments
 (0)