Author Topic: ASCII/Retro tilesets  (Read 61246 times)

Offline HRose

  • NPC
  • **
  • Posts: 106
    • View Profile
ASCII/Retro tilesets
« on: October 27, 2013, 05:19:28 PM »
Last update:
All code is now merged, so both ASCII png (using a font png) and ASCII fallback (showing ASCII whenever a graphic tile isn't defined) are in the last experimental.

This is a small package that includes the required .dlls (otherwise you'll get crashes) four ASCII sets (9x9 used by default, a 8x8, a 10x10 and a 15x15), and my last tweak of RetroDays tileset with built-in ASCII fallback. Plus my color definitions.

By default the game will run in a 1120x736 window with standard Terminus font for UI and a 9x9 ASCII set for map graphic. To switch to graphic tile just use the game option.

To switch UI or map font you have to edit /data/fontdata.json
To change default colors /data/raw/colors.json

http://www.cesspit.net/misc/asciitile.zip

The file should be unzipped in the main Cataclysm directory after you unpack the latest experimental: http://ci.narc.ro/view/Cataclysm-DDA/job/Cataclysm-Matrix/Graphics=Tiles,Platform=Windows/lastSuccessfulBuild/









I was posting updates on the announcement thread since I'm relying on the most recent patches and not the official releases, to test the new features of tile-mode. We still need a couple more things before the tile mode is actually well playable but I'm posting my experimental tileset here so that people who are interested can see it more easily.

It was originally based on just a 10x10 ASCII so that the map would use a square font, while you could use whatever Truetype for the normal text. Then I started editing things little by little, and more recently I've replaced some basic ASCII with some pretty tiles.

I'm now using a publicly available tileset and adapting/tweaking it:
http://csdb.dk/forums/?roomid=13&topicid=97045&showallposts=1&utm_source=buffer&utm_campaign=Buffer&utm_content=buffer7229f&utm_medium=twitter

As long I was just fiddling with things on my own everything's fine, but I guess if we start using this more officially we should probably tell him and ask permission.

Anyway, whenever I update my tileset it pops up here, but consider this always need the most recent experimental/SDL build to work, and right now it replaces Deon tileset (since the files have those names):
http://www.cesspit.net/misc/10x10.zip
http://www.cesspit.net/misc/15x15.zip (bigger but aliased)

Theorycraft: standard tiles won't work well with Cataclysm because it's a cell-based game. You want to display a lot of screen, so tiles need to be small enough. At the same time if the tiles are small then you just can't see them properly. Same issues of Dwarf Fortress. So ASCII mode is always better because letters are always easier to read than tiny colored pixels. Moreover: with tiles and "standard" graphic you get all sort of weirdness, like vehicles looking impossibly huge. But if you instead have icons instead of detailed sprites then everything looks nicer, because it's a symbolic representation. In this case I mixed some basic tiles with ASCII trying to find a compromise between pretty and readable.

Latest stuff I added: redone the fences, doors, added variations between zombies types.

This is a screenshot from my recent version. Having a black background makes things much better to see compared to other tilesets:



Other experiments I tried was a 16x16 version:



And my standard ASCII: http://www.cesspit.net/misc/catatilelast2.gif

But for now I'll stick with the version of the first image.
« Last Edit: March 17, 2014, 04:06:07 PM by HRose »

Offline GlyphGryph

  • Administrator
  • Survivor
  • *****
  • Posts: 1488
  • Kreaaaaa
    • View Profile
Re: ASCII/Retro tileset
« Reply #1 on: October 27, 2013, 05:37:09 PM »
Gorgeous. This might be the one I end up using personally.

Offline FunsizeNinja123

  • Survivor
  • ***
  • Posts: 7569
  • Bleeding sand
    • View Profile
Re: ASCII/Retro tileset
« Reply #2 on: October 27, 2013, 05:42:54 PM »
*throws up rainbows*

I like the 16x16, and I hope that you know many people will want this tileset.
"Pretty, yep." John Candlebury, on herself.
"Dynamic NPCs turns this game into an ASCII DayZ." ~ChristopherWalken
"Ninjas are so tasty." ~Kevin Granade himself
"This ain't Terraria.  Your wings are not powered by the Soul of Flight." ~KA101
"Never has my snake been more solid..."

Offline Luissen

  • Survivor
  • ***
  • Posts: 521
  • Maned Wolves
    • View Profile
Re: ASCII/Retro tileset
« Reply #3 on: October 27, 2013, 07:23:42 PM »
I agree. this takes the reason why I didn't use tiles until now, and makes it appealing. I think I would keep mobs as letters though... as a personal choice.

Offline Zireael

  • Survivor
  • ***
  • Posts: 1974
    • View Profile
Re: ASCII/Retro tileset
« Reply #4 on: October 27, 2013, 07:56:09 PM »
*throws up rainbows*

I like the 16x16, and I hope that you know many people will want this tileset.

Allow me to join you in throwing rainbows up.

Offline HRose

  • NPC
  • **
  • Posts: 106
    • View Profile
Re: ASCII/Retro tileset
« Reply #5 on: October 27, 2013, 08:32:10 PM »
The 16x16 has its own issues since stuff is way too crammed and when there's stuff together it gets ugly.

The ideal would be 19x19, which uses the 16x16 and adds some space, but I think 19x19 starts to get too big, unless you have a big display.

But I'd say 10x10 and 19x19 can be two decent choices.

Offline HRose

  • NPC
  • **
  • Posts: 106
    • View Profile
Re: ASCII/Retro tileset
« Reply #6 on: October 27, 2013, 09:22:28 PM »
latest tweaks to 10x10 look like this:
(changed trees, added player's sprite, tweaked some colors)

« Last Edit: October 27, 2013, 09:27:04 PM by HRose »

Offline Natures Witness

  • Survivor
  • ***
  • Posts: 287
    • View Profile
Re: ASCII/Retro tileset
« Reply #7 on: October 28, 2013, 12:26:36 AM »
This may just get me to switch to SDL, looks amazing.  And this works with the latest experimental?

Offline moist_zombie

  • NPC
  • **
  • Posts: 248
    • View Profile
Re: ASCII/Retro tileset
« Reply #8 on: October 28, 2013, 04:02:26 AM »
Just read the owners forum post you linked there, and he seems very reasonable and, I hope, would love to see his work splashed with zombie guts :D Glad to finally see an official post for this sweet action, as well! I downloaded your older version and did some changing to it, but before I was even 20% through I saw the newer version and was blown smooth away :| Congrats and awesomeness to you and Trihook also :) Maybe he'd like to come here and massacre some zombs with us :D

Offline infectedmochi

  • Survivor
  • ***
  • Posts: 664
  • Omnomnom!
    • View Profile
Re: ASCII/Retro tileset
« Reply #9 on: October 28, 2013, 04:30:59 AM »
Looks awesome! We should ask the owner for permission and incorporate this into CDDA right away.

Maybe this is not the right place to ask, but does the game support changing the monster character (Zs,) in the right panel into the relevant title? It'll look more consistent IMO.

Offline HRose

  • NPC
  • **
  • Posts: 106
    • View Profile
Re: ASCII/Retro tileset
« Reply #10 on: October 28, 2013, 05:28:46 AM »
Brightened everything a bit. It's a fiddly process. I'm not sure this one is better since I guess it depends a lot on how a monitor is set. This seems a good compromise to me.



It's still far from done. Plenty of the objects aren't there, or only there in a broken rescaled way. I usually just update what comes us on screen as I go around and covered most of the common stuff. But far from done.

Locally I have a bunch of versions. 8x8, 10x10, 15x15, 16x16, 18x18, 20x20. But some of these are only rescaled and don't look as nice (I'll eventually try a 9x9 rescaled to 15x15 since it could be better than this one). See for example this 15x15:



If you compare this with the native 16x16 above the difference is evident. If for some reason you like this 15x15 here, though, then it's extremely easy since it's just an automatic rescale of my 10x10. So it can always be done on the fly without any tweak (but things are blurrier).
« Last Edit: October 28, 2013, 05:39:29 AM by HRose »

Offline HRose

  • NPC
  • **
  • Posts: 106
    • View Profile
Re: ASCII/Retro tileset
« Reply #11 on: October 28, 2013, 06:55:13 AM »
and redone some of the objects in start area (redone doors in general too). Btw, it's a girl sprite there :) (as opposed to the guy sprite above)



Scaled (this is 20x20, not the 16x16 above):

« Last Edit: October 28, 2013, 07:02:35 AM by HRose »

Offline tikilla

  • Zombie Food
  • *
  • Posts: 22
  • Natural born zombie
    • View Profile
Re: ASCII/Retro tileset
« Reply #12 on: October 28, 2013, 08:29:46 AM »
This tileset makes me horny!
Well done man!
Zeds everywhere!

Offline CIB

  • Contributor
  • Survivor
  • ****
  • Posts: 303
    • View Profile
Re: ASCII/Retro tileset
« Reply #13 on: October 28, 2013, 09:03:09 AM »
Brightened everything a bit. It's a fiddly process. I'm not sure this one is better since I guess it depends a lot on how a monitor is set. This seems a good compromise to me.

Looks like utter crap on my monitor now. The "black" now is a bright shade of gray. Considering you're aiming for ASCII compatability, stick with the original - that one had actual black, same as a terminal window. Brightening the foreground colors is a different matter.

Try adjusting your gamma so that the squares are distinguishable at least counting from the 3rd one, then check your tileset again.
« Last Edit: October 28, 2013, 09:33:58 AM by CIB »

Offline HRose

  • NPC
  • **
  • Posts: 106
    • View Profile
Re: ASCII/Retro tileset
« Reply #14 on: October 28, 2013, 09:26:59 AM »
I both brightened tiles and background color. It softens the image and puts less strain on the eyes. Even in Vim I use a slightly brighter black than full black, but as I said it depends a lot on the monitor.

In any case it takes 2 seconds to revert this, so I'm keeping this and can do an optional version as it was before.