Page 1 of 1

Displaying lots of text

Posted: Fri Jun 16, 2006 7:38 am
by mattyluv
Hello-
I actually have a few quesitons and was wondering if anyone had any advice.
I wanna display a bunch of text on the screen, like as much as possible for one line, but I can only display 8 sprites per screen, true (right now the font are sprites in a chr file)? But I see more than eight letters of text on a line of the screen all the time in games(title screens etc.) wtf?

also (and this is just a whim) what if I made the text I want to display just one long background that scrolls vertiaclly upwards? does that make any sense? theoretically it sounds easier but I'm pretty new to all this?

**Maybe I'm overhtinking (or underthinking) this, is there an easier way to program text onto a screen (since that's pretty much all my program will be), like with a hex editor?

I was also wondering what to do next as far as developing my program is concerned, I have the graphics created, a pallette, what else do I have to get together before I can start experimenting with programming the rom?
sorry for sounding like a tard. But you guys knowledgable and cool
Thanks
Matt

Posted: Fri Jun 16, 2006 9:37 am
by Celius
You say your letters are sprites? or they are in the sprite part of the Pattern tables? Are you storing them via $2007? If they are sprites being stored via SPR-RAM, then it's the emulator. Right now, I think you'd have to go out of your way to make more than 8 sprites shown on a scanline by means of flickering, so it must be the emulator, unless you're using like Nintendulator or FCEUXD.

Posted: Fri Jun 16, 2006 9:39 am
by mattmatteh
i havent written a game yet so i can not help that much. i do know that text is not rendered as sprites. use the background for that. i suggest looking at some of the demo's on the main page. or perhaps blarggs test roms as those have a few lines of text. and the code is not that long.

matt

Posted: Fri Jun 16, 2006 9:57 am
by Bregalad
Text like "READY" in Megaman games is sprites (or some small words on this fashion). Everything else is BG, simply because sprites are too much limited on NES to do any text with.

Posted: Mon Jun 26, 2006 2:02 pm
by nineTENdo
Is using Ascii Tables the same as using sprites to display your text. Ive seen this in coding that uses ascii tables:

Code: Select all

.asctable
cleartable
20h      = 00h
"A".."Z" = 01h
"0".."9" = 20h
":"      = 2Ah
.end
What the F does the h mean?

Posted: Mon Jun 26, 2006 2:18 pm
by -_pentium5.1_-
nineTENdo wrote:What the F does the h mean?
Hexadecimal