Skip to content
프로젝트

소개

UI library for MonoGame.

웹 및 앱 개발

이 수치를 측정하는 방법

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

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

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

관련 프로젝트 살펴보기

불러오는 중…