Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old September 17, 2014, 20:33   #1
TJS
Swordsman
 
Join Date: May 2008
Posts: 473
TJS is on a distinguished road
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!
TJS is offline   Reply With Quote
Old September 17, 2014, 20:56   #2
debo
Veteran
 
debo's Avatar
 
Join Date: Oct 2011
Location: Toronto, Canada
Posts: 2,332
debo is on a distinguished road
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.'
debo is offline   Reply With Quote
Old September 17, 2014, 22:47   #3
konijn_
Hellband maintainer
 
konijn_'s Avatar
 
Join Date: Jul 2007
Location: New York, the Big Apple
Age: 40
Posts: 351
Donated: $120
konijn_ is on a distinguished road
ROT.js indeed!
__________________
* Are you ready for something else ? Hellband 0.8.7 is out! *
konijn_ is offline   Reply With Quote
Old September 20, 2014, 00:57   #4
Raajaton
Swordsman
 
Join Date: May 2012
Posts: 289
Raajaton is on a distinguished road
There's also T-Engine4. I've seen some pretty cool projects that came from that.

http://te4.org/te4
Raajaton is offline   Reply With Quote
Old October 2, 2014, 10:08   #5
Zireael
Adept
 
Join Date: Jul 2011
Posts: 203
Zireael is on a distinguished road
Seconding the T-Engine mention.
Zireael is offline   Reply With Quote
Old October 2, 2014, 11:36   #6
fph
Knight
 
Join Date: Apr 2009
Location: Berlin / Italy
Posts: 565
fph is on a distinguished road
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.
fph is offline   Reply With Quote
Old October 2, 2014, 14:00   #7
Raajaton
Swordsman
 
Join Date: May 2012
Posts: 289
Raajaton is on a distinguished road
Yes it does - tiles are optional.
Raajaton is offline   Reply With Quote
Old October 14, 2014, 20:43   #8
TJS
Swordsman
 
Join Date: May 2008
Posts: 473
TJS is on a distinguished road
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.
TJS is offline   Reply With Quote
Old October 14, 2014, 21:00   #9
debo
Veteran
 
debo's Avatar
 
Join Date: Oct 2011
Location: Toronto, Canada
Posts: 2,332
debo is on a distinguished road
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.'
debo is offline   Reply With Quote
Old October 15, 2014, 09:52   #10
TJS
Swordsman
 
Join Date: May 2008
Posts: 473
TJS is on a distinguished road
Quote:
Originally Posted by debo View Post
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.
Thanks for the information.

Another silly question, can you compile javascript to run an optimised exe or does it have to run through a browser?
TJS is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASCII or Tiles? EvilScoop Vanilla 30 August 30, 2014 02:36
engine for rand art generation quarague Vanilla 19 July 5, 2013 09:08
T-Engine 4 & ToME4 beta 2 are upon us! DarkGod ToME 15 May 27, 2010 20:06
(Un, G, FA, etc) High ASCII walls? Taqq Variants 6 December 5, 2007 16:26
Ascii Dreams slashdotted andrewdoull Idle chatter 9 November 24, 2007 00:02


All times are GMT +1. The time now is 07:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.