softbuffer
bracket-lib
Our great sponsors
softbuffer | bracket-lib | |
---|---|---|
6 | 27 | |
262 | 1,449 | |
9.2% | 1.7% | |
8.2 | 0.0 | |
11 days ago | 2 months ago | |
Rust | Rust | |
Apache License 2.0 | 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.
softbuffer
-
How do rust gui frameworks avoid rerendering?
On a more recent machine, that same (well, more primitive) app with pixels or softbuffer struggled beyond acceptable. But was definitely poorly written.
-
Minimal 2D library for games? I'm struggling a bit to settle on one to learn.
I'm using winit and softbuffer for my CurrentProject™.
-
Which OpenGL crate should I use?
Another annoyance is that it's not possible to have flicker-free resizing with wgpu without completely killing the performance. OTOH, softbuffer resizing never flickers.
-
What 2D graphics library would you most recommend?
Why not minifb or softbuffer (which lets you use winit)?
-
Rust's Option and Result. In Python.
machine learning, neural networks, image processing, cryptography (though it is getting better), font shaping/rendering (though it is getting better), CPU/software rendering (though it is getting better)
-
Hey Rustaceans! Got a question? Ask here! (24/2022)!
I have decided that wgpu is not worth it, and gone to softbuffer, which does not stretch, and works a whole lot better. Downside: no GPU and no scaling support.
bracket-lib
-
Does anyone care about CLI/TUI games?
I think having to use a terminal is the scary part for many people. rltk/bracket-lib can be used to get a similar look and feel if that's what's important, but it is geared toward roguelikes.
-
Minimal 2D library for games? I'm struggling a bit to settle on one to learn.
Maybe bracket-lib from the amethyst authors? I‘m currently working through that book and find the library quite intuitive and simple to use. It started out as a toolkit for rouge-like games but has been getting more general. On that note, I recommend the hands-on-rust book which teaches rust concepts while building games with bracket-lib. As you have read the book, I‘m sure you would get through the first chapters quickly.
-
Bevy ECS or custom implementation?
https://github.com/amethyst/bracket-lib has a great integration with Bevy, designed for exactly this sort of thing.
- Turn-based game - architecture feedback/opinons
- libtcod use 8x8 font but scaled up to 16x16?
-
How difficult could it be to make a console program that looks like this and has a game loop running on a separate thread? Any suggestions or crate recommendations are welcome!
I've been doing some experiments with terminal based games and landed on https://github.com/amethyst/bracket-lib It's not exactly terminal based in the sense that it actually runs on OpenGL by default. But that's a plus imho because dealing with the bits of the terminal window that can change outside of your control (like fonts, window resize, etc) is a giant pita. It does let you swap the backend to run on crossterm if that's what you really want to do but if what you're after is the aesthetic like I am having bracket_lib handling all that makes life so much better.
- Rendering TUI To Web
-
Sharing Saturday #420
Bracket-Lib for Bevy Github
-
Sharing Saturday #418
Bracket-Terminal/RLTK for Bevy Github Branch | Twitter | Patreon
-
Sharing Saturday #416
bracket-lib 👈🏻 (using this now)
What are some alternatives?
winit - Window handling library in pure Rust
bevy - A refreshingly simple data-driven game engine built in Rust
rustshed - Rust types in Python. https://justforfunnoreally.dev/
Amethyst - Data-oriented and data-driven game engine written in Rust
weird-move-behaviour-reproduction
VTerminal - A new Look-and-Feel (LaF) for Java, which allows for a grid-based display of Unicode characters with custom fore/background colors, font sizes, and pseudo-shaders. Originally designed for developing Roguelike/lite games.
minifb - MiniFB is a small cross platform library to create a frame buffer that you can draw pixels in
libtcod - A collection of tools and algorithms for developing traditional roguelikes. Such as field-of-view, pathfinding, and a tile-based terminal emulator.
site - Code for the website / Código para o site
python-tcod - A high-performance Python port of libtcod. Includes the libtcodpy module for backwards compatibility with older projects.
wgpu - Cross-platform, safe, pure-rust graphics api.
bevy_webgl2 - WebGL2 renderer plugin for Bevy game engine