Well shit!

OK, so it turns out I fail bigtime at maths :(

The code I had looked reasonable for the background and flying enemies, but trying to add some ground scenery - the trees and bushes - exposed just how broken it was.
I was hoping to have a demo available, but it looks like I need to go right back to the drawing board and actually read up on how 3D projection works...

Comments

It doesn't help that Space

It doesn't help that Space Harrier uses kind of a weird projection.
As best I can make out, 0 on the z axis is *always* level with the screen, so the player shadow is always visible.
The horizon moves with the camera though, so effectively the rear of the view frustrum is moving up and down while the front remains fixed. Tricky...

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.