[Featured][Dev] F-Zero

Here you can find side projects of the staff and great projects which we think should get extra support. (Note that featured projects are not projects by staff members of MaxCoderz)

Moderator: MaxCoderz Staff

User avatar
calc84maniac
Regular Member
Posts: 112
Joined: Wed 18 Oct, 2006 7:34 pm
Location: The ex-planet Pluto
Contact:

[Featured][Dev] F-Zero

Post by calc84maniac »

Some of you have seen the screenshots floating around on IRC. Now, it's official! Check out the project forum here.
~calc84maniac has spoken.

Projects:
F-Zero 83+
Project M (Super Mario for 83+)
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4132
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Post by tr1p1ea »

Wow that is looking incredible, its amazingly fast!

Are you using any neat tricks for speed increases?
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
User avatar
calc84maniac
Regular Member
Posts: 112
Joined: Wed 18 Oct, 2006 7:34 pm
Location: The ex-planet Pluto
Contact:

Post by calc84maniac »

tr1p1ea wrote:Wow that is looking incredible, its amazingly fast!

Are you using any neat tricks for speed increases?
For one thing, I'm using the BC, DE, and HL normal and shadow registers for the innermost loop. Also, a bit of SMC. I have decreased the quality since the earlier versions, which almost doubled the speed. :D
~calc84maniac has spoken.

Projects:
F-Zero 83+
Project M (Super Mario for 83+)
User avatar
Dwedit
Maxcoderz Staff
Posts: 579
Joined: Wed 15 Dec, 2004 6:06 am
Location: Chicago!
Contact:

Post by Dwedit »

How did you decrease the quality?
You know your hexadecimal output routine is broken when it displays the character 'G'.
User avatar
calc84maniac
Regular Member
Posts: 112
Joined: Wed 18 Oct, 2006 7:34 pm
Location: The ex-planet Pluto
Contact:

Post by calc84maniac »

Dwedit wrote:How did you decrease the quality?
I pretty much made the resolution 48x64 and stretched it. :P Slightly more than half the calculation needed as before.
~calc84maniac has spoken.

Projects:
F-Zero 83+
Project M (Super Mario for 83+)
User avatar
DigiTan
Calc Master
Posts: 1069
Joined: Fri 04 Mar, 2005 12:52 am
Location: NW Wisconsin
Contact:

Post by DigiTan »

It always helps to look at the big picture. :)
My diet consists of nails, code-stealers, and HP fans.
Projects:

Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
User avatar
Dwedit
Maxcoderz Staff
Posts: 579
Joined: Wed 15 Dec, 2004 6:06 am
Location: Chicago!
Contact:

Post by Dwedit »

Halving the horizontal resolution is what they did in Doom (if you selected Low Quality Mode), also Doom on the GBA.
You know your hexadecimal output routine is broken when it displays the character 'G'.
User avatar
calc84maniac
Regular Member
Posts: 112
Joined: Wed 18 Oct, 2006 7:34 pm
Location: The ex-planet Pluto
Contact:

Post by calc84maniac »

Also, the lower quality will be even less noticeable once I add objects, because the sprites are going to be normal resolution. :)
~calc84maniac has spoken.

Projects:
F-Zero 83+
Project M (Super Mario for 83+)
Liazon
Calc Guru
Posts: 962
Joined: Thu 27 Oct, 2005 8:28 pm

Post by Liazon »

calc84maniac wrote:
Dwedit wrote:How did you decrease the quality?
I pretty much made the resolution 48x64 and stretched it. :P Slightly more than half the calculation needed as before.
ingenious!
Image Image Image
User avatar
DigiTan
Calc Master
Posts: 1069
Joined: Fri 04 Mar, 2005 12:52 am
Location: NW Wisconsin
Contact:

Post by DigiTan »

What kind of resources did you use to set up the 3D engine? (Not many tutorials on that kind of subject out there)
My diet consists of nails, code-stealers, and HP fans.
Projects:

Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
User avatar
calc84maniac
Regular Member
Posts: 112
Joined: Wed 18 Oct, 2006 7:34 pm
Location: The ex-planet Pluto
Contact:

Post by calc84maniac »

I'm not really sure where I first got the algorithm idea. I think it might have come from a raycasting tutorial (because this uses the same idea as raycasting but with each pixel, not just each column).
~calc84maniac has spoken.

Projects:
F-Zero 83+
Project M (Super Mario for 83+)
User avatar
calc84maniac
Regular Member
Posts: 112
Joined: Wed 18 Oct, 2006 7:34 pm
Location: The ex-planet Pluto
Contact:

Re: F-Zero

Post by calc84maniac »

I've been working on this a bit, and I think I have the sprite-coordinate-getter-finder-thingamajig working... finally...

Right now I'm displaying one of 3 sprites depending on how far away you are... which makes it look a bit strange, but at least that's how the 68K version did it. Also, I only have the sprite from the back, so it looks a bit odd without rotation. I hope to get a scaled sprite routine working so I can display the ship at any size, but if that ends up too slow, I'll be sticking with the fixed set of sizes.

Anyway, here's the screenshot goodies!
Image
~calc84maniac has spoken.

Projects:
F-Zero 83+
Project M (Super Mario for 83+)
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4132
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Re: F-Zero

Post by tr1p1ea »

Looks to be working properly, terrific stuff! :).

Using fixed sprites would be ok, the speed gain would probably be worth it.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
User avatar
GuillaumeH
Regular Member
Posts: 143
Joined: Fri 17 Dec, 2004 8:30 pm
Contact:

Re: F-Zero

Post by GuillaumeH »

Yes, the only available scaped sprite routine (by Badja) is really slow, although it seems optimal. Maybe caching can help, but that requires some sort of garbage collecting, and if you have a lot of different sprites you will need a lot of ram.
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4132
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Re: F-Zero

Post by tr1p1ea »

I believe he has written his own sprite scaler, but im not sure how it will adapt to this project.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
Post Reply