Axes-Armour-Ale
Cursive
Our great sponsors
Axes-Armour-Ale | Cursive | |
---|---|---|
19 | 22 | |
38 | 4,062 | |
- | - | |
2.7 | 7.5 | |
about 1 year ago | about 21 hours ago | |
Pascal | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Axes-Armour-Ale
- Sharing Saturday #455
-
Sharing Saturday #445
I added another location to the map on Axes, Armour & Ale https://github.com/cyberfilth/Axes-Armour-Ale So next I'll be looking to add overworld encounters and a village / town location.
- Sharing Saturday #439
-
Sharing Saturday #433
This coming week I plan on procrastinating a little more with different dungeon styles. My game has several different environments so far, with more planned. So I get to play around with cellular automata, BSP and other techniques. https://github.com/cyberfilth/Axes-Armour-Ale
-
Sharing Saturday #427
Released an alpha version of Axes, Armour & Ale
-
Sharing Saturday #421
All code, previous releases, and a growing collection of bugs are kept at https://github.com/cyberfilth/Axes-Armour-Ale
-
Sharing Saturday #416
This week has been a week of refactoring... not intentionally though. I'd planned to start adding multiple dungeons all over the overworld map. But every time I started to add this, I found a previously undiscovered bug in some part of my code. My save file was duplicating saved data in several places, and not reading it back correctly when reloading the game. So I've streamlined the save/load process and, touch wood (taps head), think that I'd squashed all the bugs now. https://github.com/cyberfilth/Axes-Armour-Ale
- Sharing Saturday #414
- Sharing Saturday #413
-
Sharing Saturday #408
This week hasn't been earth-shatteringly productive, but I did (fingers crossed) manage to squash all bugs in my Throw Projectiles and Fire Bow code. Binaries for Windows and Linux are at https://github.com/cyberfilth/Axes-Armour-Ale/releases/tag/Alpha51 for testing.
Cursive
-
Projectable: A TUI file manager built for projects
Rust has great libraries for TUIs. tui-rs (https://github.com/fdehau/tui-rs) has been used in numerous popular applications, but is unmaintained. ratatui (https://github.com/tui-rs-revival/ratatui) is the maintained version, and is pretty new. Less widely known is cursive (https://github.com/gyscos/cursive), which I have yet to try.
Aside from the libraries, I just wanted to start a project that would make be better at Rust. The easy distribution with cargo is a huge bonus though.
-
How difficult is ncurses?
There are plenty of terminal UI libraries that are actually nice to work with. For Python, there's Textual and PyTermGUI. For Rust, there's ratatui and Cursive (or, if you want something a bit lower level, crosster or termion). For Go, there's bubbletea.
-
AMDGPU_TOP v0.1.2 - switch to crossterm-backend, add simple fdinfo viewer
Switching the backend of Cursive to crossterm removed dependence on ncurses
-
Appreciation post
I'd hear of TUIs so I just searched for tui libraries in Rust and Cursive seemed like a good choice and it turned out great!
-
Sharing Saturday #455
This weekend I started porting my game to a different UI library (egui) as a way of familiarizing myself with egui. I don't think I'll have something useable to build off of before this year's 7DRL challenge so I guess I'll be reusing my existing UI code (using cursive). But, once I finish porting the UI it should be a lot easier to add fancy stuff like animations, tooltips, and graphical tiles since I won't be tied to constraints of a terminal UI.
-
CLIs and TUIs packages
Cursive should let you easily build a layout with a menu and status bars (and mouse works).
-
Dwarf Fortress – randomly generated, persistent fantasy world
The thing that gets me about Dwarf Fortress is that it's a 64-bit text-mode game.
As a grey-haired developer who got excited about "DOS Extenders" that allowed 32-bit mode, seeing a text-mode game written as a native 64-bit application is bizarrely anachronistic.
I get a similar feeling from text-mode GUI frameworks for Rust, which allow multi-threading and 64-bit but are essentially clones of Borland Turbo Vision, where you had to be mindful to keep lists smaller than 64KB: https://github.com/gyscos/cursive
-
How to maintain app state in an app using Cursive
Maybe this helps?
This allows you to pass around data through the Cursive object. See a simple example here.
-
Rust TUI libraries
cursive
What are some alternatives?
tui-rs - Build terminal user interfaces and dashboards using Rust
Termion - Mirror of https://gitlab.redox-os.org/redox-os/termion
ncurses-rs - A low-level ncurses wrapper for Rust
rustbox - Rust implementation of the termbox library
rust-sciter - Rust bindings for Sciter
conrod - An easy-to-use, 2D GUI library written entirely in Rust.
templates - Templates for bootstrapping a Rust TUI application with Ratatui
Slint - Slint is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications. We support multiple programming languages, such as Rust, C++ or JavaScript. [Moved to: https://github.com/slint-ui/slint]
gtk - DEPRECATED, use https://github.com/gtk-rs/gtk3-rs repository instead!
qmlrs - QtQuick interface for Rust
mORMot2 - OpenSource RESTful ORM/SOA/MVC Framework for Delphi and FreePascal
Azul - Desktop GUI Framework