Loading...
1,298
1 year ago

I've been continuing work on getting the Status Bar (at the bottom of the screen) to "seamlessly" transition between levels of my NES game.

It now works properly when transitioning in all directions.

πŸ§΅πŸ‘‡


It's complicated because the status bar lives in the BG layer, so you would see it moving up/down the screen as you scroll up and down.

The Fix?

The NES renders the screen top to bottom, so I detect when it is drawing 1 pixel above the status bar. At that precise moment, in the middle of drawing the screen, I tell the renderer to skip down to 1 pixel BELOW the status bar.

image.png
image.png

This effectively erases the existence of the status bar in the middle over screen by redirecting the renderer to a different part of video memory for that section of the screen.

A bit like folding a piece of paper over itself to hide some of the contents.

image.png

You may notice that during the video, the Status Bar sometimes vanishes.

image.png

This looks pretty bad, but is actually a simple thing to fix!

It is happening because my level streaming logic is not yet accounting for the status bar area, and loading level data in over top of it. I just need to stream in less data.

The only reason it isn't fixed yet, is because I hope to get a little performance boost out of it, so I want to take some time to measure just how much of a boost I get. 😁



1 comment

Loading...

Next up

It's the FINAL push for From Below!

shop.matthughson.com

Sale ends 11:59PM PT!

If you know folks who love Game Boy, Tetris, NES, or Homebrew... LET THEM KNOW!

If you're on Reddit, Discord, social media... anything: Every share makes a HUGE difference!

Time is almost up on a new GAME BOY and NES title!⏲️

Only 2 week left to pick up a physical copy of "From Below Pocket" for the Game Boy, and "From Below" for the NES! πŸ¦‘

Both come complete in box with free global shipping! πŸ“¨

shop.matthughson.com

Big news for From Below (NES) and From Below Pocket (GB) physical editions!

Full Update: https://mailchi.mp/9df0515acedb/from-below-update-3

Short Version: Both NES and GB will start shipping next week!

Woohoo!!! #nesdev #gbdev

(Swipe to the right to see the original image!)

: Aseprite

MASSIVE Game Boy Homebrew GIVEAWAY! We're giving away physical copies of 4 new Gameboy games to 1 winner! From Below is on sale NOW: http://shop.matthughson.com 🚨 ENTER HERE: https://twitter.com/matthughson/status/1710641131590221843 🏁Giveaway ends Oct 11th 11:59PM PT

Gift to @primitive_pea_shooter for being one of the first to support me (the first one in fact)

"Ghost Piece" is now available in From Below Pocket via a "patch/hack" for anyone interested! It comes with the game when purchased on itch.io! Warning: It's very untested, and probably has perf issues. πŸ˜… https://mhughson.itch.io/from-below-pocket/devlog/617249/ghost-p…

🚨1 WEEK LEFT!🚨 🚨GAMEBOY PREORDER!🚨 Last chance to get a copy of this brand new Game Boy game, From Below Pocket, as well as the NES version!πŸ¦‘ After this week, the game will be out of print, likely for YEARS. πŸ“† https://frombelowgame.com #gbdev #nesdev

Some OC's

Less than 3 weeks left to snag a copy of From Below Pocket before it goes back in the vault! Sale ends October 16th, 2023! https://shop.matthughson.com/