Building games in .NET MAUI - Shaun Lawrence - NDC London 2023

Building engaging games for Android, iOS, and desktop using.NET MAUI, exploring graphics, touch input, dependency injection, testing, accessibility, and more.

Key takeaways
  • .NET MAUI is a cross-platform framework for building games and applications, offering a way to create games that can run on multiple platforms, including Android and iOS.
  • Building games in.NET MAUI involves using the graphics namespace, which provides features such as rendering, animation, and touch support.
  • Dependency injection is a key concept in.NET MAUI, allowing developers to easily swap out different implementations of dependency classes.
  • Test-driven development is important in game development, and.NET MAUI provides tools for writing tests, such as snapshot testing.
  • Accessibility is a crucial aspect of game development, and.NET MAUI provides features such as screen reader support and audio feedback.
  • Building games in.NET MAUI involves using a combination of C# and XAML, and developers can use libraries such as SkiaSharp to render graphics.
  • The framework provides support for touch input, gesture recognition, and accelerometer data.
  • Game development in.NET MAUI involves building scenes, which are collections of objects that can be animated, moved, and updated.
  • The Scene class in.NET MAUI provides methods for updating the scene, handling touch input, and rendering graphics.
  • The GraphicsView class is used to render graphics, and developers can use it to create 2D and 3D graphics.
  • Game development in.NET MAUI involves using animations, which can be used to create effects such as particle systems, explosions, and motion graphics.
  • The framework provides support for multiplayer games, allowing developers to create games that can be played with multiple players.