Are you new to 6502, NES, or even programming in general? Post any of your questions here. Remember - the only dumb question is the question that remains unasked.
8 posts • Page 1 of 1
I was going to make the largest asteroids in my asteroids clone background tiles. They would all have to more in the same direction, but if I had it set up to mirror in all directions, the asteroids could loop around pretty easily even if I had them moving at odd angles. The only problem was I used horizontal mirroring to scroll in the name of the game on the start screen. Anyway, if I can't change the mirroring I can just have the largest asteroids move horizontally only. Kinda boring, but this is just a learning project so it's not the end of the world.lidnariq wrote:Only with some mapper.
FDS might pedantically count as close enough to NROM, with mirroring control, for your purposes. Maybe.
I'm not going to use a mapper for this game. I'm just trying to get something done and trying to keep it as simple as possible.lidnariq wrote:If you just want fixed 1-screen mirroring, you could target MMC1, ANROM, or mapper 28.
I want to figure out Mappers soon, but I'd like to get this game finished up this week, and I'm just not ready for mappers quite yet... soon though
yes, but aren't you moving it 8 pixels at a time?yaros wrote:If you asteroid is smaller than the screen, you can still scroll vertically and dynamically load/unload rows of the image. You will have disappearing/appearing textures on the top and the bottom though.battagline wrote:Anyway, if I can't change the mirroring I can just have the largest asteroids move horizontally only. Kinda boring, but this is just a learning project so it's not the end of the world.
Image below, if it makes sense. Green is when you load next part of the asteroid, when it's bottom is 8px above the bottom of the screen.
You can move it smoothly, but the NT will only be changed every 8 pixels, which will cause a "pop" effect if the TV doesn't hide a portion of the picture at the edges of the screen. Lots of programmers (including programmers that worked in commercial games back in the day) counted on these kinds of glitches near the edges of the screen to be hidden, or at least not too distracting, because MANY games suffer from this.battagline wrote:yes, but aren't you moving it 8 pixels at a time?