This page is a mirror of Tepples' nesdev forum mirror (URL TBD).
Last updated on Oct-18-2019 Download

3D Effect of sorts?

3D Effect of sorts?
by on (#107855)
I'm trying to meticulously keep with NES limitations in my game, but I got an idea that might be a bit much for it though but I wanted to double check before I just threw the idea out the window. I know games like Rad Racer did things like this so I don't know if it's entirely impossible. I want a 256x32 region of the screen, the floor, to have a 3D effect of sorts where the closer pixels scroll faster. I know this could be done with scroll regions, but would it be possible to maintain a 3D type look like I have in the picture I attached? What NES tricks would I have to use to pull it off and how stressful would it be on the NES?
Re: 3D Effect of sorts?
by on (#107856)
This effect is perfectly possible. Take a look at 3D World Runner and Cosmic Epsilon. I imagine the effect you're going for is even simpler, as the floor won't be moving toward the screen.

Cosmic Epsilon uses CHR bankswitching to select which pattern of squares to show, but if you only need to scroll left and right you don't even need that. Just draw the static floor and change the horizontal scroll every scanline. You won't be able to do any game processing once the 3D region starts, as most of the time will be spent on timed loops so that all scroll changes happen at the correct times.
Re: 3D Effect of sorts?
by on (#107861)
Awesome! :D I will definitely use this effect then.
Re: 3D Effect of sorts?
by on (#107862)
So you're making a Windows game that looks like a NES game and you don't want to deviate much from what the NES is actually capable of doing, is that right?
Re: 3D Effect of sorts?
by on (#107863)
Yeah pretty much. I thought it'd be a fun little project to do where I try to keep with the NES limitations as much as possible.