4 ms·
Funny I'm trying to make a rogue-like game with my son these last days. Anyone has experienced using the C library `notcurses`, or some demo project ? (the lib
by allan_s 7y ago
Funny I'm trying to make a rogue-like game with my son these last days. Anyone has experienced using the C library `notcurses`, or some demo project ? (the library seems to be made to on purpose break curses API compatibility for the sake of sanity)
- simonh 7y agoI don't know how keen you are on using C, but there's an excellent open Roguelike library for Python, with a whole community round it. The subreddit is pretty active.. http://www.roguebasin.com/index.php?title=Complete_Roguelike_Tutorial,_using_python3%2Blibtcod http://www.roguebasin.com/index.php?title=Complete_Roguelike...
- allan_s 7y agothanks for the link I didn't know about this project. However here it's specifically a project to learn C :) but your link is still full a useful information (notably their dungeon generation algorithm )
- earenndil 7y agoNotcurses is ok, not great. Tickit[1] is much nicer, and comes with what is possibly the only good way of reading modifier characters from a terminal (seriously). Alternately, if you're ok with not running in a terminal, check out bearlibterminal[2]. 1: http://www.leonerd.org.uk/code/libtickit/ http://www.leonerd.org.uk/code/libtickit/ 2: http://foo.wyrd.name/en:bearlibterminal http://foo.wyrd.name/en:bearlibterminal
- philsnow 7y agoI haven't looked into roguelike game dev in a long time, but libtcod [0] used to be the gold standard, especially among 7DRLs because it gives you so much to start with so you get to focus on what makes your game interesting. [0] https://github.com/libtcod/libtcod https://github.com/libtcod/libtcod