nesbox / TIC-80

TIC-80 is a fantasy computer for making, playing and sharing tiny games.
https://tic80.com
MIT License
4.92k stars 474 forks source link

Aseprite font #2071

Open sabrodigan opened 1 year ago

sabrodigan commented 1 year ago

Hey guys, just discovered Tic80, bought the Pro version to keep the community going and I am sure you have heard this a million times, and I know the Pro version allows the use of external editors, but Tic80 would be fully amazing if used the same font as Aseprite uses on the Windows version and allowed for the import of sprites from editors such as Aseprite. Is there any chance of this?

asepitefont

paul59 commented 1 year ago

You can import sprites. From the wiki:

import [code | map | screen | sprites | tiles] - Import code/images from an external file

You could use this for your own fonts too but of course that would use sprite space.

bztsrc commented 1 year ago

Tic80 would be fully amazing if used the same font as Aseprite uses

Legally not possible, Aseprite is a proprietary program, its license does not allow using its font in other projects.

EDIT: hm, looks like the font is separately licensed, so it would be possible.

Cheers, bzt

joshgoebel commented 1 year ago

I don't imagine we are in currently in a hurry to move away from fixed width font. What are the perceived benefits of the asesprite font?

sabrodigan commented 1 year ago

Hey, thank you all for the engagement, really appreciate it. My point was for the coding part of Tic 80 only and not the games themselves.

  1. I did not mean the Aseprite font literally; but something like it for the coding part of Tic80 (not the games themselves)
  2. We need fixed width for the game itself, but for coding, could we not have a font "like" Asesprite
  3. I also noted it was licensable which could be added to the Pro version, with a couple of pounds/Euro/Dollars more

Here is why?

I have the Pro version, which allows me to use Visual Studio, which is all good. But I actually like coding in Tic 80, and so I wondered if we could have a font "like" the Asesprite font? It would make it far more pleasurable for people with eyesight like mine (i.e. old) to be able to code comfortably in Tic80.

I would certainly have paid more for both the ability to code in my own IDE and to code in Tic80 using the coding font.

All the best!

farvardin commented 1 year ago

@sabrodigan The tic-80 font is 4 pix height, while the aseprite is 5. It means instead of 17 lines of code in the tic editor, you'll get only 13, which is very few. I enjoy also the tic editor (and I also have bad sight), but when I need to work on a bigger project, I prefer to rely on an external editor.

The galmuri7 font is somehow similar to the asprite one: https://github.com/quiple/galmuri so you can use it in your prefered editor.

Here are some examples with different external editors:

image

image

bztsrc commented 1 year ago

@farvardin: wow, nice find. Looking good and great license. Unfortunately galmuri7 isn't 7 pixel tall as the name suggests, and it isn't 8 pixel as the readme claims, but 12px, see

FONTBOUNDINGBOX 12 15 -1 -3

which wouldn't fit into a byte, and therefore can't be used without modifications on the TIC-80 side. But maybe a subset could be converted into 8 x 8? That is, if there's really a need for changing the font of course.

Cheers, bzt

S0ZDATEL commented 3 weeks ago

What's the problem? You can change the standard font in config and customize it to your likes...