Can anyone recommend an ascii engine?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TJS
    Swordsman
    • May 2008
    • 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!
  • debo
    Veteran
    • Oct 2011
    • 2402

    #2
    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.'

    Comment

    • konijn_
      Hellband maintainer
      • Jul 2007
      • 367

      #3
      ROT.js indeed!
      * Are you ready for something else ? Hellband 0.8.8 is out! *

      Comment

      • Raajaton
        Swordsman
        • May 2012
        • 296

        #4
        There's also T-Engine4. I've seen some pretty cool projects that came from that.

        Comment

        • Zireael
          Adept
          • Jul 2011
          • 204

          #5
          Seconding the T-Engine mention.

          Comment

          • fph
            Veteran
            • Apr 2009
            • 1030

            #6
            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.

            Comment

            • Raajaton
              Swordsman
              • May 2012
              • 296

              #7
              Yes it does - tiles are optional.

              Comment

              • TJS
                Swordsman
                • May 2008
                • 473

                #8
                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.

                Comment

                • debo
                  Veteran
                  • Oct 2011
                  • 2402

                  #9
                  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.'

                  Comment

                  • TJS
                    Swordsman
                    • May 2008
                    • 473

                    #10
                    Originally posted by debo
                    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?

                    Comment

                    Working...
                    😀
                    😂
                    🥰
                    😘
                    🤢
                    😎
                    😞
                    😡
                    👍
                    👎