Beleriand
libtcod
Beleriand | libtcod | |
---|---|---|
2 | 23 | |
14 | 912 | |
- | 1.5% | |
0.0 | 7.8 | |
6 months ago | 3 months ago | |
C | C | |
- | BSD 3-clause "New" or "Revised" 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.
Beleriand
-
Sharing Saturday #386
This week I had what I hope was a moment of clarity about the Beleriand map. Previously it was pretty big; 12x15 map grids, each map grid 49x49 miles, each square mile 10x10 chunks, each chunk 22x22 game grids, which made a grid notionally 8 yards on a side. But I've been feeling for a while that that is too big for adjacent things to be in contact. So I considered what would happen if I cut that size down to 2 yards on a side. I was happier with that size in terms of realism, but it does multiply the number of total grids in the map by 16, and there were already 20 billion. What to do?
-
How to make the overworld
I have done some "wilderness generation" in FAangband by having a base type of terrain for each biome type, and then adding "formations" (random groups of selected other terrain types) and then maybe some other areas (grassed clearings in forest, for example). FAangband has discrete wilderness levels, so the scaling/zooming doesn't apply. I am, though, coming up against similar problems to yours in Beleriand, which has a fixed world map with set biomes at the top level, but has to fill in all the terrain in a natural way. Note that Beleriand is still in its very early stages.
libtcod
-
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?
FAangband - First Age Angband
python-tcod - A high-performance Python port of libtcod. Includes the libtcodpy module for backwards compatibility with older projects.
bracket-lib - The Roguelike Toolkit (RLTK), implemented for Rust.
SDL - Simple Directmedia Layer
BrogueCE - Brogue: Community Edition - a community-lead fork of the much-loved minimalist roguelike game
notcurses - blingful character graphics/TUI library. definitely not curses.
C++ Format - A modern formatting library
glsp - The GameLisp scripting language
libtcod-vcpkg-template - A template for C++17 libtcod projects. This template uses Vcpkg to fetch dependencies.
minifb - MiniFB is a small cross platform library to create a frame buffer that you can draw pixels in
Axes-Armour-Ale - A fantasy, ASCII dungeon crawler for Windows, Linux & OSX