Flashing Phantom Elements?

guppy

Paladin Knight
Level 1
38%
Joined
Oct 24, 2024
Messages
53
Level up in
46 posts
Reaction score
39
Points
127
Can someone who is in the know tell me why sometimes elements on the NES flash in and out of existence. A solid example is when walking. As the camera pans, part of the screen's elements will flash in/out of existence. I figured this is a memory issue, but wanted to know explicitly if anyone knows why. Gimmie da facts, man!
 
I am not in the know so I'll defer to others who claim they are who chime in, but I do like learning about these kinds of things, so I took this as an opportunity and hopefully can share what I've learned.

The NES’s Picture Processing Unit (PPU), which generates the 2D video signal, has a built-in limitation that restricts it to displaying only eight sprites per scanline. This means that if a game tries to render more than eight sprites on a single horizontal line of pixels, only the first eight will appear, causing some sprites to disappear as the NES tries to cycle through them. This limitation is often referred to as the "8-sprite-per-scanline limit".

There is a technique where the PPU and CPU work together in reordering sprite data to alter the priority of the sprites on each scanline which causes the sprites to flicker instead of having some disappear entirely, this technique is referred to as Sprite Cycling, or OAM Cycling, as the OAM (Object Attribute Memory), which is part of the PPU, is involved.
Left image - no Sprite Cycling
Right image - Sprite Cycling implemented
1729892535824.gif
1729892584105.gif

Source: https://www.nesmakers.com/index.php?threads/4-1-5-sprite-cycling.2455/
Source: https://www.nesdev.org/wiki/PPU_rendering
 
Oooo, thank you Sandogma =)! I was thinking about this mostly on account of the GBC having more power than the GB and I knew this showed in the amount of space that could be rendered er...offscreen I suppose? Which I figured had to play into something with the NES. As it was an earlier system, and probably had a similar limitation. But it wasn't anything I actually knew about. And I didn't think this was tearing where pieces of imagery kinda lean one way or another. But also figured I could be wrong because I know nothing about ANY of it =P!

Thank you for this blurb as a whole. It helps me sort out some bits in the brain. I'd click through those links, but I apparently have a "spooky car ride" waiting for me =P! Big hugs!
 
Beware: There have been no replies in this thread for 90 days.
Keep that in mind when expecting a reply from the people on it,
You can also start a new thread instead. This is just a heads-up, bumping is allowed in this forum.

Users who are viewing this thread

Connect with us

Support this Site

RGT relies on you to stay afloat. Help covering the site costs and get some pretty Level 7 perks too.

Latest Threads

Is Cure Kiss the first LGBT+ Pretty Cure?

A couple of weeks ago Kimi to Idol Pretty cure introduced two new Pretty Cures, Cure Zukyoon and...
Read more

Vices and Virtues

Proposed in the 1800s by Henry Fuseli the cornerstone of humanity; vices being our depravity and...
Read more

Getting my derriere kicked by the 8-bit version of Wario's Woods

Hello people: recently I have been playing one of the last games by Nintendo for their 8-bit...
Read more

Retro computer music

Let's post music from C64, ZX Spectrum, Amiga, PC-98, etc.!

Some of my personal favorites...
Read more

Looking for Daily Playable Games

Hey everyone! How's your day going? Due to my job, I don't have much time to play games anymore...
Read more

What did people who got into Zelda at BTOW think the sequel would look like?

1749997981183.jpeg
I've been a fan of Zelda for a long time now. I remember the day my aunt took me to...
Read more

Adulthood?

Roughly 2 weeks have passed since I ended high-school and in those 2 weeks I have truly realised...
Read more

JRPG Dads for Father's Day

Father’s Day is a time to celebrate the dads who raised us, protected us, and maybe even saved...
Read more

Online statistics

Members online
185
Guests online
236
Total visitors
421

Forum statistics

Threads
9,100
Messages
228,386
Members
719,914
Latest member
Askowarriorr
Back
Top