Sender | Message | Time |
---|---|---|
11 Dec 2018 | ||
Alex Gleason | wekhter: Welcome! | 20:45:35 |
Alex Gleason | Our latest font-related issue: https://gitlab.com/solarus-games/solarus-free-resource-pack/issues/10 Trying to choose the best tiny font for writing license info in sprite sheets | 20:47:11 |
Alex Gleason | In reply to @_discord_399599648546750466:t2bot.io The default quest size is 320x240, although it can be changed on a per-project basis. I'm using 256x144 for my game. All of your fonts could be used with most Solarus projects. It's just that this decision needs to be made at the start of the project. Changing the font in the middle of development means you might have to edit every piece of dialog and change where the line-breaks are because the character sizes are different. | 20:52:47 |
Alex Gleason | Comicoro, Pixolde, and Enter Command are basically interchangeable in a Solarus quest because overall the character widths are not so different. | 20:54:25 |
Alex Gleason | Download Screenshot from 2018-12-11 15.55.13.png | 20:55:22 |
Alex Gleason | when we create dialog, we type it into a box like this | 20:55:37 |
wekhter | cool! all very good to know. what about line height/space between lines? or can things like that be changed within the editor separately? | 20:56:24 |
Alex Gleason | In reply to @_discord_399599648546750466:t2bot.io Solarus only handles "lines" of text when it actually draws them. For multi-line text we have to split it into individual lines and then define the XY coordinates of each line. I don't know very much about the ttf format and how that deals with stuff like line-height. example code from one of my projects:
| 21:02:56 |
Alex Gleason | This is basically my way of defining a line-height of 13px: local y = i*13 - 3 | 21:03:59 |
oclero | Christopho I contacted wekhter yesterday to tell him I made a monospace version of Enter Command, and he also made it ^^ | 21:14:25 |
oclero | wekhter welcome to Solarus 😃 Your expertise in foots is a welcome addition to the team ! | 21:15:05 |
oclero | edit: | 21:15:11 |
wekhter | thanks for the welcome! and also the info about line height | 21:16:42 |
wekhter | does text within games need to be monospace always? | 21:17:07 |
oclero | no, text in game dialogs does not need to be monospace | 21:17:29 |
oclero | we needed a monospace font for the command-line interface integrated into our game | 21:17:56 |
wekhter | ah, i see! that makes sense | 21:18:11 |
oclero | I made a custom font based on Zelda A Link To The Past / Minish Cap letters, and this is what we are going to use during game dalogs | 21:19:03 |
oclero | edit: | 21:19:05 |
oclero | we previsouly used Minecraftia | 21:19:13 |
oclero | edit: | 21:19:20 |
oclero | For non-Zelda games, we will use Enter Command | 21:19:31 |
wekhter | cool! | 21:20:02 |
oclero | I am currently making the video trailer, and a small part will be about the integration of your fonts in the Solarus free resource pack 😃 | 21:20:24 |
wekhter | oh, very cool! | 21:20:38 |
Alex Gleason | wekhter: one of the reasons I preferred your fonts is because the letter spacing is always excellent. | 21:23:36 |
wekhter | thank you 😃 | 21:24:26 |
Alex Gleason | Download Screenshot from 2018-12-11 16.24.21.png | 21:24:31 |
oclero | it goes very well with the global style of the game | 21:26:14 |
wekhter | so cool to see things in situ! i'm working on a few different fonts at the moment, some of which probably aren't going to be appropriate for large chunks of text (grafitti-inspired) but i'm keeping in mind creating more that are good for general use like Enter Command that i hope people will find helpful | 21:27:18 |