![]() |
#1 |
Swordsman
Join Date: May 2008
Posts: 473
![]() |
Can anyone recommend an ascii engine?
Sorry probably the wrong place to ask, but I was wondering if there's an ascii library or engine that someone could recommend for my upcoming project.
Main things that I'm looking for in order: Ease of use A scripting language (too lazy for C++) Works nicely on windows Portability Speed Fancy effects/colours etc. Any help would be great! |
![]() |
![]() |
![]() |
#2 |
Veteran
Join Date: Oct 2011
Location: Toronto, Canada
Posts: 2,340
![]() |
If you're doing roguelike things, I've had luck with libcotd and its various ports (e.g. rot.js) in C++, Python, and JavaScript. It has a bunch of extra stuff you won't need if you're just blitting random glyphs to a canvas, but it should still do that admirably well.
e.g. see http://www.roguebasin.com/index.php?...thon%2Blibtcod Or you can just use raw curses, which is not great but also not that bad.
__________________
Glaurung, Father of the Dragons says, 'You cannot avoid the ballyhack.' |
![]() |
![]() |
![]() |
#3 |
Hellband maintainer
Join Date: Jul 2007
Location: New York, the Big Apple
Age: 40
Posts: 363
Donated: $120
![]() |
ROT.js indeed!
__________________
* Are you ready for something else ? Hellband 0.8.8 is out! * |
![]() |
![]() |
![]() |
#4 |
Swordsman
Join Date: May 2012
Posts: 289
![]() |
|
![]() |
![]() |
![]() |
#5 |
Adept
Join Date: Jul 2011
Posts: 204
![]() |
Seconding the T-Engine mention.
|
![]() |
![]() |
![]() |
#6 |
Knight
Join Date: Apr 2009
Location: Berlin / Italy
Posts: 581
![]() |
Does T-Engine 4 do ASCII art as well? All the screenshots I can find are with tiles.
__________________
Dive fast, die young, leave a high-CHA corpse. -- You read a scroll labeled 'lol gtfo' of Teleport Level. |
![]() |
![]() |
![]() |
#7 |
Swordsman
Join Date: May 2012
Posts: 289
![]() |
Yes it does - tiles are optional.
|
![]() |
![]() |
![]() |
#8 |
Swordsman
Join Date: May 2008
Posts: 473
![]() |
Whoops completely forgot that I asked this question, thanks for the replies.
Anyone know whether libcotd or rot.js allow anims and tiles to be added later on? The game is going to not be a traditional roguelike and more of a strategy so perhaps T-Engine 4 might be a bit too specialised. |
![]() |
![]() |
![]() |
#9 |
Veteran
Join Date: Oct 2011
Location: Toronto, Canada
Posts: 2,340
![]() |
rot.js just got tile support a little while ago, based on the PRs I've seen merged lately. Animations -- I'm not sure, I'm guessing that's something you'd have to homebake.
__________________
Glaurung, Father of the Dragons says, 'You cannot avoid the ballyhack.' |
![]() |
![]() |
![]() |
#10 | |
Swordsman
Join Date: May 2008
Posts: 473
![]() |
Quote:
Another silly question, can you compile javascript to run an optimised exe or does it have to run through a browser? |
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ASCII or Tiles? | EvilScoop | Vanilla | 30 | August 30, 2014 01:36 |
engine for rand art generation | quarague | Vanilla | 19 | July 5, 2013 08:08 |
T-Engine 4 & ToME4 beta 2 are upon us! | DarkGod | ToME | 15 | May 27, 2010 19:06 |
(Un, G, FA, etc) High ASCII walls? | Taqq | Variants | 6 | December 5, 2007 15:26 |
Ascii Dreams slashdotted | andrewdoull | Idle chatter | 9 | November 23, 2007 23:02 |