~/talk

Building a cross-platform 2D game with MonoGame and C#

Talkat DotNext 2021 Piter · 2021-04-20..04-23· [game-development, dotnet]
slides:none on file

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

  1. 0:00Introduction
  2. 4:29About me
  3. 5:37Agenda
  4. 8:00What is MonoGame
  5. 11:17What are we going to build
  6. 12:15Installing MonoGame
  7. 13:55Creating a project in Visual Studio
  8. 16:02Visual Studio Code
  9. 22:27Game Assets
  10. 23:47Adding Assets
  11. 29:37Sprites
  12. 32:30Tints
  13. 35:22Sprite Sheets
  14. 38:07Using Sprite Sheets
  15. 40:03Creating a Sprite
  16. 45:35Drawing the Player
  17. 47:25Updating the Player
  18. 50:23User Interaction
  19. 53:07Game Components
  20. 55:20Player Component
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.