minifb
MiniFB is a small cross platform library to create a frame buffer that you can draw pixels in (by emoon)
libtcod
A collection of tools and algorithms for developing traditional roguelikes. Such as field-of-view, pathfinding, and a tile-based terminal emulator. (by libtcod)
Our great sponsors
minifb | libtcod | |
---|---|---|
10 | 23 | |
923 | 906 | |
- | 2.3% | |
2.8 | 7.8 | |
7 months ago | 2 months ago | |
C | C | |
MIT License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
minifb
Posts with mentions or reviews of minifb.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-12.
-
creating a free, fast and simple digital painting software (not planned UI/UX yet)
I would also recommend looking into SDL2 or MiniFB for cross-platform support, as not everyone uses X11.
- Minimal Cross-Platform Graphics
- MiniFB: Cross-Platform Rendering Library
-
graphics library for setting pixels on screen
MiniFB is what you want for this.
-
Best way to write a cross-platform graphical program in C while using only bare minimum third-party libraries?
MiniFB maybe?
-
eBook Gentle Introduction to Assembly Language (AARCH64)
But you can have a skeleton program that sets up framebuffer for you (e.g. with minifb or TIGR), then link it that skeleton with your code (in assembly or whatever you prefer).
- The joy of building a ray tracer, for fun, in Rust
-
native web-api graphics (live, not image)
I also saw minifb, which seems like a really to-the-point way to get a buffer I can draw to., so I guess I will go in that direction (rust lib, make FFI bindings for deno, etc.)
-
Can I make graphics without any libraries?
If you just want to push pixel data to a frame buffer then I can highly recommend minifb. MIT licensed, Supports a lot of platforms, and it’s about as simple as you can get. It also handles input if you need it, too.
-
Best libraries for making a raycaster in C
I think this library will fit your goals: https://github.com/emoon/minifb
libtcod
Posts with mentions or reviews of libtcod.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-24.
-
Sharing Saturday #459
libtcod | GitHub | Issues | Forum | Changelog | Documentation | Template
-
Game screen: write terminal emulator or use libtcod?
Libtcod itself uses SDL2. It maps tile glyphs to a texture atlas and maps Unicode codepoints to tile positions. Then it has another data structure called a console which has the background color, foreground color, and codepoint for each tile on that console. It then uses SDL_RenderGeometry to quickly render the background and colored glyphs to an SDL texture, skipping unchanged tiles as an optimization, then renders that texture to the window. The C99 source is here: renderer_sdl2.h renderer_sdl2.c, a C++ version would surely look better.
- Sharing Saturday #440
-
what minor tech projects do you absolutely adore?
libtcod has always been a favorite of mine. Does a lot of things to zero fanfare outside the indie roguelike scene.
-
Sharing Saturday #427
I've ended up recovering the old 1.3.2 to 1.5.0 builds of libtcod. You can find them on the GitHub releases page. Most of, maybe all of the other places which had these builds are down, but thankfully Jice still had copies of these builds.
-
RoguelikeDev Does The Complete Roguelike Tutorial - Week 3
FoV is a port from C -> Java of the algorithm found here
-
Sharing Saturday #413
libtcod | GitHub | Issues | Forum | Changelog | Documentation | Template
-
SRiC ("Simple" Roguelike in C) has stairs now, and multiple floors!
Hey man, I don't wanna piss in your cherrios if you're intentionally doing it all the hard way, but you know about tcod right? https://github.com/libtcod/libtcod/
-
libtcod roguelike C tutorial?
Browsing the repo, looks like it has a full C only API, https://github.com/libtcod/libtcod/blob/master/src/libtcod/libtcod.h
-
The 7DRL Challenge 2022 is announced! Create a complete roguelike game in 7 days.
libtcod support for terminals is in progress at least for ANSI true colour, and I have a minimal compatibility layer for UNIX only.
What are some alternatives?
When comparing minifb and libtcod you can also consider the following projects:
winit - Window handling library in pure Rust
python-tcod - A high-performance Python port of libtcod. Includes the libtcodpy module for backwards compatibility with older projects.
SDL - Simple Directmedia Layer
raytracer-exp - A simple raytracer built as an exercise to learn some Rust
bracket-lib - The Roguelike Toolkit (RLTK), implemented for Rust.
microui - A tiny immediate-mode UI library
BrogueCE - Brogue: Community Edition - a community-lead fork of the much-loved minimalist roguelike game
deno-canvas - Canvas API for Deno, ported from canvaskit-wasm (Skia).
notcurses - blingful character graphics/TUI library. definitely not curses.
deno_sdl2 - SDL2 module for Deno
C++ Format - A modern formatting library