LowRes Oranges are good 2019-11-09 15:34
Okay, is there any way to make smaller text in nx? I absolutely love text games. So that would be useful. Thanks!
was8bit 2019-11-09 18:38
All text is controlled manually as character images...
Go into your character editor, tab to page 4, then select:
Button FON AB
Then choose a font style...
To save your changes to the character file, select
... now everytime you use any text in this game, all your text will look like these characters...
You can edit these characters to look ANY WAY you want them to look... be aure to save your edit changes to the charcater file...
Your ONLY limitations are...
1) each character is always 8x8 pixels big (64 pixels)
2) each characer pixel can be CLEAR or one 3 different colored pixels
You can apply these using TEXT commands, or with CELL using their character #
was8bit 2019-11-09 18:41
And, as with ALL characters, each MUST fit, like tiles, onto the visual screen's 19x16 tile spaces... you can ONLY places things at a pixel point level using SPRITE, which are restricted to 1x1, 2x2, 3x3, or 4x4 blocks of characters...
was8bit 2019-11-09 18:43
You can actually use text like graphics, like i did here...
was8bit 2019-11-09 18:45
I also experimented on using floating SPRITES as little text display boxes...
was8bit 2019-11-09 18:46 (Edited)
TIMO also used some tricks to make text that appears half the width
was8bit 2019-11-09 18:48
But there is no code settng to change the text size... text is treated as a graphic character, and as such the standard is 8x8 pixels per character
was8bit 2019-11-09 18:49
My FAVORITE "text" game is here...
was8bit 2019-11-09 18:52
Since text games PUT text into spaces on the screen, it is not much different than switching from text characters to graphic characters.. here is a game i made with NO sprites, only single cell placement characters...
was8bit 2019-11-09 18:53
Using different BG (backgrounds) you can place graphics BEHIND your text game...
was8bit 2019-11-09 18:55
I also made double sized text here ;)
was8bit 2019-11-09 18:55
Here is an example of using multiple fonts in one game...
was8bit 2019-11-09 18:57
Another example of using static graphics while the main progam is simple text...
was8bit 2019-11-09 18:59
These let you visibly see the cell blocks on the screen..
was8bit 2019-11-09 19:01
If you experiment with creating your own FONT, and try using CELL command to place your font on the screen (although TEXT works too) you will quickly see how EASY it is to add a little graphics to any TEXT based game :)
Timo 2019-11-10 11:57
The simple answer is: If you want to use the built-in text commands (PRINT, INPUT, TEXT) there is no way to change the font size. As was8bit said, it's because all graphics in LowRes NX are based on 8x8-pixel characters.
LowRes Oranges are good 2019-11-11 22:56 (Edited)
Okay I haven't really done a lot of graphics in nx. I'm still pretty new to that. I keep thinking you have commands like PLOT, because I'm used to the original lowres. But it's really different, like you said it uses cells. So until I learn the graphics. I'll just deal with the really big text. Thanks for the help!
was8bit 2019-11-11 23:28 (Edited)
There "IS" a way to a variation of PLOT in NX, but its cumbersome, tricky, difficult, messy, and problematic... here are some examples...
Timo 2019-11-12 17:56
Yes, NX is made for tiles and sprites, everything else is maybe possible, but not officially supported. Just like the Game Boy ;)
nathanielbabiak 2019-11-22 01:23
I hadn’t seen Timo’s version of 4x6 text (https://lowresnx.inutilis.com/topic.php?id=54), but have my own. It’s used in the memory viewer I just uploaded. There’s two subprograms for you to use, TINY_TEXT and TINY_CLS. This should be exactly what you need, just copy and paste it into yours. It’s here: https://lowresnx.inutilis.com/topic.php?id=788. Hope it helps you! :-)
nathanielbabiak 2019-11-22 01:25
Oh, I forgot to mention, you’ll also need the 4x6 character font I saved to ROM 2 in that source file, otherwise it won’t work!