If you have a forum account, have more than 4 posts and are not part of a restricted usergroup, then you can chat in our main Discord server room directly from here and continue using the forums at the same time. Or you can join our server directly and access many more discussion rooms!

Author
Topic: Mode 7 test project (Read 2476 times)

For some reason I thought I had a Mode 7 topic here, but I cannot find it (If a mod finds it please merge etc)

I have been messing with Mode 7 style effects for the calcs for ages and have recently ported some code over to the CE to see how it runs. At this stage it seems to work ok, but there is a lot of room for improvement as always.

Here is a test screenshot, note that the test sprite is only 3 frames so it looks weird when turning, but it is just a test:

Note that I'm not sure if I'll actually finish anything with this as I have a terrible record for that. And if I do it wont feature any Mario Kart graphics directly, the sprites are just for testing ... Maybe I can feature a Walrii Kart?!

Looks great! Did you have to compress or downscale the map at all? Would an increasing size or detail of the map lead to a slower framerate? How about adding collision? I'm really curious to see if anyone could pick this up or make some SNES port like a Mario Kart game.

Thanks! This is just a testmap and I dont plan on using any actual SNES maps etc - all maps need to be specifically made properly - but the tracks are just 2D tilemaps. I should also note that the engine is running at half-half resolution for the track ... which is why it can look lowish quality when up close, but it's for speed.

Minor update - I was tossing up between sprite scaling at runtime or pre-sized sprites. The old speed vs size ... I really didnt like the idea of KB's and KB's of sprite data but I was a bit skeptical of runtime scaling. The results thus far are promising for scaling as shown here:

At present I can have 8 of these 24x24 sprites on screen and still maintain 32fps. Of course there is no collision detection, HUD, AI or anything which would slow things down further. I only plan on having 4 player races for speed reasons.

I also added a scrolling background as well to make things look a little more like a proper racing game: