Results 1 to 3 of 3

Thread: [SDL unit] alx2cnsl

  1. #1

    [SDL unit] alx2cnsl

    alx2cnsl is the console unit I wrote for one of my current projects, Alexland 2. Originally it was embedded into the game, but I thought that maybe someone would find it useful and decided to make it into a game-independent unit. That, and with added some extra customization options, I now release it for common use.

    The unit provides a main class, TConsole, that can be used in programs using SDL and SDL_TTF for providing a console or chat interface. The class will process text, render it and draw when requested; also provides some limited capabilities for reading text from SDL events.

    There is still much to do to in terms of customization, but the thing clearly is usable as it is now.

    Screenshot:

    Above screenshot uses RENDER_BLEND5 render mode, with active BackBoxes.

    Download: here

    Zip contains the source code and documentation in HTML format.

  2. #2
    Great contribution, might get quite useful on one or another occasion. I also like the render mode BLEND5 .

  3. #3
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    Handy idea for a unit! I'd love to see more stuff like this.
    Jason McMillen
    Pascal Game Development
    Co-Founder





Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •