Sign in to follow this  
Falcon988

Dynamic cameras in 2D 'Schmup' game

Recommended Posts

Falcon988    100
Take a quick look at this video from the last stage of 1997's 'Einhander': http://www.youtube.com/watch?v=n8OYXPD-Qb8

In general terms (I don't mean to provide several pages of code), how does one go about achieving that manner of 'dynamic' cam in a Schmup? Right now I have a very static 2D camera, but in Einhander it almost looks like they integrated 2D and, at least, the illusion of 3D. How do you go about that? Particularly using XNA? I'm thinking quaternions but I'm having trouble wrapping my mind around the process...



p.s. Forgot to mention the actual gameplay doesn't start 'til 1:20. The boss battle starting around 2:40 is particularly amazing to me from a technical standpoint.

Share this post


Link to post
Share on other sites
Ravyne    14300
That's pretty clearly a 3D game through and through, which just happens to have its gameplay limited to 2 dimensions at a time. The gist of things is that everything is probably happening in 3 true dimensions, and the camera/player/enemies are simply forced into a 2D plane orthogonal to the camera vector.

There shouldn't be any necessity for quaternions, standard matrices should do just as well. Quaternions might carry their standard "advantages" as per usual over matrices, but matrix math is more straight-forward if Quaternions are an uncomfortable subject.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this