Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rds1983/Myra
UI Library for MonoGame, FNA and Stride
https://github.com/rds1983/Myra
csharp gamedev gui mit monogame myra open-source stride xna
Last synced: about 2 months ago
JSON representation
UI Library for MonoGame, FNA and Stride
- Host: GitHub
- URL: https://github.com/rds1983/Myra
- Owner: rds1983
- License: mit
- Created: 2016-08-22T01:49:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-23T22:50:29.000Z (8 months ago)
- Last Synced: 2024-07-13T11:33:49.777Z (5 months ago)
- Topics: csharp, gamedev, gui, mit, monogame, myra, open-source, stride, xna
- Language: C#
- Homepage:
- Size: 32.6 MB
- Stars: 705
- Watchers: 20
- Forks: 94
- Open Issues: 63
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.MonoGame.Extended.txt
Awesome Lists containing this project
- awesome-monogame - Myra - ![GitHub stars](https://img.shields.io/github/stars/rds1983/Myra.svg) - UI Library for MonoGame. (User Interfaces)
- awesome-game-engine-dev - Myra - Gui library for _MonoGame_, _FNA_, and _Stride_. (Libraries / C#)
- Awesome-Stride - Myra: UI Library for MonoGame, FNA and Stride
README
## Overview
[![Nuget](https://img.shields.io/nuget/dt/Myra)](https://www.nuget.org/packages/Myra/)
[![Build & Publish Beta](https://github.com/rds1983/Myra/actions/workflows/build-and-publish-beta.yml/badge.svg)](https://github.com/rds1983/Myra/actions/workflows/build-and-publish-beta.yml)
[![Chat](https://img.shields.io/discord/628186029488340992.svg)](https://discord.gg/ZeHxhCY)Myra is UI Library for [MonoGame](http://www.monogame.net/), [FNA](https://github.com/FNA-XNA/FNA) and [Stride](https://github.com/stride3d/stride).
## Features
* **Rich Set of Widgets.** Myra has following widgets: Button, CheckBox, ComboBox, ListBox, TabControl, Grid, Image, Menu, ProgressBar, ScrollPane, SplitPane(with arbitrary number of splitters), Slider, TextBlock, TextField, SpinButton, Tree, Window, Dialog, FileDialog, ColorPickerDialog and PropertyGrid.
* **MML(Myra Markup Language).** XML based declarative language to describe UI ([example](/samples/Myra.Samples.AllWidgets/allControls.xmmp)).
* **Skinning.** The default skin(it had been borrowed from [VisUI](https://github.com/kotcrab/vis-ui)) could be replaced with a custom skin loaded from the XML ([example](/samples/Myra.Samples.CustomUIStylesheet/Resources/ui_stylesheet.xmms)).
* **MyraPad.** Standalone WYSIWYG MML based UI designer.
* **Myra.PlatformAgnostic.** Version of the library that could be used in any C# game engine.## Demo
If you would like to see Myra in action, download the binary release(Myra.v.v.v.v.zip from the latest release at [Releases](https://github.com/rds1983/Myra/releases)), unpack it and run samples.## Documentation
[https://github.com/rds1983/Myra/wiki](https://github.com/rds1983/Myra/wiki)## Support
Use following resources if you need help with Myra or have other questions:
* [Myra Discord](https://discord.gg/ZeHxhCY)
* [Myra Topic at MonoGame Community Forum](http://community.monogame.net/t/myra-ui-library-for-the-monogame)
* [Myra Topic at gamedev.ru (Russian)](https://gamedev.ru/code/forum/?id=241617)## Building From Source Code
1. Clone this repo.
2. Open a solution from the "build" folder.## Sponsor
https://www.patreon.com/rds1983https://boosty.to/rds1983
bitcoin: 3GeKFcv8X1cn8WqH1mr8i7jgPBkQjQuyN1
## Gallery
All Widgets Sample
![](/images/AllWidgetsSample.png)Commodore 64 Skin
![](/images/CustomStylesheetSample.png)MyraPad
![](/images/MyraPad.png)## Credits
* [MonoGame](http://www.monogame.net/)
* [FNA](https://github.com/FNA-XNA/FNA)
* [Stride](https://github.com/stride3d/stride)
* [MonoGame.Extended](https://github.com/craftworkgames/MonoGame.Extended)
* [VisUI](https://github.com/kotcrab/vis-editor/wiki/VisUI)
* [LibGDX](http://libgdx.badlogicgames.com/)
* [Cyotek.Drawing.BitmapFont](https://github.com/cyotek/Cyotek.Drawing.BitmapFont)
* [stb](https://github.com/nothings/stb)
* [TextCopy](https://github.com/SimonCropp/TextCopy)