Skip to content

vitalibr/AvaloniaInside.MonoGame

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AvaloniaInside.MonoGame

Integration of MonoGame for Avalonia

Install

Install the package to your project using command below or open the package nuget to find other way to install.

dotnet add package AvaloniaInside.MonoGame

Usage

Add the namespace to your view

xmlns:monoGame="clr-namespace:AvaloniaInside.MonoGame;assembly=AvaloniaInside.MonoGame"

Add the game control. At the example below we use CurrentGame property to the game.

<monoGame:MonoGameControl Game="{Binding CurrentGame}" />
public Game CurrentGame { get; set; } = new MyExampleGame();

image

Known issues

  1. Mobile not working.
  2. There is no implementation of device input, This is could be manage by native Avalonia.
  3. Not a good performance for the moment.

About

Integration of MonoGame for Avalonia

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 91.3%
  • CSS 3.7%
  • HTML 3.3%
  • JavaScript 1.7%