Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

TIC-80

Fantasy computer for making, playing and sharing tiny games. · By Nesbox

Use the alternative code editor font in game?

A topic by misteki created Aug 27, 2018 Views: 841 Replies: 3
Viewing posts 1 to 2

Hello, everyone!

Love the new, alternative font for the code editor.  I was wondering if it is possible to set it to be used by the game when displaying text using the `print` function, instead of the default one (it'd be great for me to fit more text in the screen, since it's smaller). Is there some way to do such a thing? Or is using `font` the only way to change the default font?

Thanks!

Developer

Hi,

it's possible, just set 'smallFont=true' in the 'print()' api

print text [x=0 y=0] [color=15] [fixed=false] [scale=1] [smallfont=false] -> width

https://github.com/nesbox/TIC-80/wiki/print 

Ohhh I totally missed that in the docs... my bad. Thank you!

How do I set alt-font? just change alt_font to true?