garrettendi / mobius-strip

Mobius Strip - Engine for cRPG roguelikes
MIT License
1 stars 0 forks source link

Implement a curses-like library #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We need to do a number of things with console manipulation, including not just 
displaying the game world and user stats dynamically, but also changing the 
text colour.

This isn't possible (not even font colours) so we will need to implement a 
curses library sooner or later.

At this stage I am thinking jcurses. There may be better alternatives.

Original issue reported on code.google.com by dale.ha...@googlemail.com on 27 Dec 2011 at 7:43

GoogleCodeExporter commented 9 years ago
jcurses was my original choice given that I thought it was properly 
platform-agnostic. It turns out that like all the others, it uses native code. 
There is sadly, no such thing (it seems) as a pure-Java implementation of 
curses, which makes sense given that Java is GUI-heavy.

I am looking into CHARVA, which looks easier to use. Haven't looked at the 
licencing restrictions just yet.

Original comment by dale.ha...@googlemail.com on 28 Jan 2012 at 11:40

GoogleCodeExporter commented 9 years ago
Fixed. After the move to Mono, CursesSharp is being used. There is no real 
documentation on the internet but it seems fairly simplistic.

The bulk of the work will have to done with our code, CursesSharp doesn't have 
any natural windows style toolkits etc.

The good news it should be usable for both Linux and Windows and is LGPL 
(compatible with MIT if I understand correctly). I've got the mockup of 
mobius-strip working on Linux, will test on Windows soon. Will close when 
tested.

Original comment by dale.ha...@googlemail.com on 11 Aug 2013 at 5:09