#game #gui #quicksilver #gamedev

mergui

A simple GUI system for use with the quicksilver game engine

13 releases

0.1.0-alpha0.8 Nov 28, 2020
0.1.0-alpha0.7 Aug 20, 2020
0.1.0-alpha0.5 Jun 6, 2020
0.1.0-alpha0.3 May 23, 2020
0.0.1 Nov 30, 2019

#179 in GUI

Download history 19/week @ 2021-04-07 27/week @ 2021-04-14 26/week @ 2021-04-21 20/week @ 2021-04-28 6/week @ 2021-05-05 17/week @ 2021-05-12 3/week @ 2021-05-19 8/week @ 2021-05-26 8/week @ 2021-06-02 19/week @ 2021-06-09 7/week @ 2021-06-16 4/week @ 2021-06-23 7/week @ 2021-06-30 7/week @ 2021-07-07 19/week @ 2021-07-14 5/week @ 2021-07-21

116 downloads per month

MIT/Apache

195KB
1.5K SLoC

Mergui

Since quicksilver is no longer actively developped , I no longer use it. As a result, I also stopped using Mergui. I will still respond to pull requests and the like, but don't expect any new features from me.

A simple gui system for the quicksilver engine, originally developed for Arena keeper and later ported to quicksilver 0.4 to be used in my yet to be named card game .

However, I try my best to not let those 2 games shape Mergui and instead focus on how to make Mergui work the best for every game written in Quicksilver.

Why

When I first started with Quicksilver I couldn't find a gui system that worked with it. The result being predictable, every game made their own GUI system which often didn't go further than a button.

After I did the same for Arena keeper and discovered problems with mine I decided to rewrite it and publish it as its own crate so others won't have to.

Widgets

There are multiple widgets. The 3 most important ones are

  • Button.
  • Dropdown
  • Text input field.

For a complete list and how to use them, see the examples. Examples/all.rs has most listed, but doesn't show how to read the state of them. You can also see the examples in action here

Dependencies

~4.5–7MB
~120K SLoC