Building a cross-platform 2D game with MonoGame and C#
summary
Shows how to build a cross‑platform 2D game in C# using MonoGame, Visual Studio templates and the MonoGame Content Pipeline, producing a working invader‑style game (background, animated ship burner, starfield, enemies, sound and score) that runs on Windows, Linux and Android. Uses a sprite batch, sprite sheets (burner = 10 frames, animated at ~9 FPS), game components and DrawableGameComponent, and an object pool of 10 missiles to avoid GC pauses; default frame rate is 60 FPS and the code is on GitHub.
AI-written summary · about
chapters (20)
- 0:00Introduction
- 4:29About me
- 5:37Agenda
- 8:00What is MonoGame
- 11:17What are we going to build
- 12:15Installing MonoGame
- 13:55Creating a project in Visual Studio
- 16:02Visual Studio Code
- 22:27Game Assets
- 23:47Adding Assets
- 29:37Sprites
- 32:30Tints
- 35:22Sprite Sheets
- 38:07Using Sprite Sheets
- 40:03Creating a Sprite
- 45:35Drawing the Player
- 47:25Updating the Player
- 50:23User Interaction
- 53:07Game Components
- 55:20Player Component
