I actually understand how Mode 7 3D works - it's actually a scrolling & rotating 2D background, which scales each line wider as you move down the screen, to create a fake perspective effect.
If I was to make a Mario Kart clone, I'd make the "track" as a simple background layer in Tiled, and then I'd make a new layer and place tiles that will represent the "sprites" on the track, eg. the green pipes that stick up as obstacles. This would give those sprites a position on the 2D map.
I could probably guess at how to make them appear to move in perspective - the scaling is easy, just use a bigger sprite the closer to the bottom of the screen they are. Same with the perspective effect, just scale their X position further away from the center of the screen the closer to the bottom of the screen they are.
The part I haven't learned yet, is how to rotate all those objects together, so they stay with the map when it rotates. I think this may have to do with "matrixes", something I'm only aware of the existence of, but not used before.
Am I on the right track with my understanding of Mode 7, and do you have any suggestions about where to go from here?
If I was to make a Mario Kart clone, I'd make the "track" as a simple background layer in Tiled, and then I'd make a new layer and place tiles that will represent the "sprites" on the track, eg. the green pipes that stick up as obstacles. This would give those sprites a position on the 2D map.
I could probably guess at how to make them appear to move in perspective - the scaling is easy, just use a bigger sprite the closer to the bottom of the screen they are. Same with the perspective effect, just scale their X position further away from the center of the screen the closer to the bottom of the screen they are.
The part I haven't learned yet, is how to rotate all those objects together, so they stay with the map when it rotates. I think this may have to do with "matrixes", something I'm only aware of the existence of, but not used before.
Am I on the right track with my understanding of Mode 7, and do you have any suggestions about where to go from here?