Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: XPText - A Text Renderer for the ASCII art tool REXPaint  (Read 3491 times)

0 Members and 1 Guest are viewing this topic.

gamepopper

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • Email
XPText - A Text Renderer for the ASCII art tool REXPaint
« on: November 03, 2015, 02:27:17 am »
Hello there! Thought I'd finally make my forum debut by showing this neat little project I just uploaded.

REXPaint is an ASCII art tool developed by GridSageGames, as the summary implies, it allows you to produce artwork using text, a particular art form found in roguelike games.

REXReader++ is a lightweight file reader class that allows you to decompress and read REXPaint's xp file format in a readable tilemap structure. What I did was use this with a custom text class so you can render your REXPaint creations in SFML 2.0!

« Last Edit: November 03, 2015, 02:29:22 am by gamepopper »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10815
    • View Profile
    • development blog
    • Email
Re: XPText - A Text Renderer for the ASCII art tool REXPaint
« Reply #1 on: November 04, 2015, 01:52:00 am »
Very cool! :)

Quote from: GitHub
Current Issues

  • Dependancy on zlib - Currently I cannot find a way to decompress gzip binary files without using zlib or other external libraries.
  • Font Support - SFML only has built-in support for TrueType Fonts (although many developers have implemented their own Bitmap Font classes). Currently the CP437 fontset is fully supported in the class, as is with REXPaint, although other fixed-width TTF fonts may also work assuming they have all the supported characters.
Why is zlib an issue? Writing your own deflate/inflate implementation is not really worth the effort. ;)
SFML supports also other font formats, TTF are just the most common used ones, see here.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

gamepopper

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • Email
Re: XPText - A Text Renderer for the ASCII art tool REXPaint
« Reply #2 on: November 05, 2015, 01:20:10 am »
Why is zlib an issue? Writing your own deflate/inflate implementation is not really worth the effort. ;)
SFML supports also other font formats, TTF are just the most common used ones, see here.

The issues were ones I were concerned with, mainly if people might be put off with linking another library to their projects. The second one I thought text were limited to TTF, and that REXPaint's were based on bitmap fonts, but if other font options are available then it's not much of an issue then.

 

anything