Skip to content
Proyectos

Acerca de

UI library for MonoGame.

Desarrollo web y de aplicaciones

Cómo se miden estas cifras

What you can do

  • Mouse, touch, keyboard and gamepad, with arrow, d-pad and stick navigation that works on any layout
  • Buttons, checkboxes, radio buttons, sliders, progress bars, textboxes, dropdowns, tabs, tooltips, popups
  • Stacks with spacing, padding, alignment and scrolling
  • Text wrapping, and textboxes with selection, copy and paste

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Apos.Gui

UI library for MonoGame.

Description

This library is designed to allow the creation of custom user facing UIs. You use it like an IMGUI, putting components every frame from your game's own variables, while the components themselves are kept from frame to frame so they can hold focus, scrolling and animations. It comes with the common components, and the pieces they're built from are public so that your own work the same way.

Discord

Documentation

Build

NuGet NuGet

Features

  • Mouse, touch, keyboard and gamepad, with arrow, d-pad and stick navigation that works on any layout
  • Buttons, checkboxes, radio buttons, sliders, progress bars, textboxes, dropdowns, tabs, tooltips, popups
  • Stacks with spacing, padding, alignment and scrolling
  • Text wrapping, and textboxes with selection, copy and paste
  • Themes, and looks you can replace per component
  • One UI per player for split screen, UI scaling, and UIs drawn to render targets
  • Hooks for the system clipboard and on-screen keyboards
  • Used like IMGUI but components can be coded like a retained UI

Showcase

Apos.GUI Showcase

Usage Example

You can create a simple UI with the following code that you'll put in the Update call:

MenuPanel.Push();
if (Button.Put("Show fun").Clicked) {
    _showFun = !_showFun;
}
if (_showFun) {
    Label.Put("This is fun!");
}
if (Button.Put("Quit").Clicked) {
    Exit();
}
MenuPanel.Pop();

This code will create 2 buttons, "Show Fun" and "Quit". You can use the mouse, touch, the keyboard or a gamepad to interact with them. Clicking on "Show Fun" will insert a label in between them with the text "This is fun!".

You can read more in the Getting started guide.

Other projects you might like

Explorar proyectos relacionados

Cargando…