Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Codegod

Camera for 3D Battle System

This topic is 5967 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Howdy all, I''m trying to design a 3D battle system similar to FF7 (much simplified, of course). I''ve been thinking about how to design the camera system so that I can use some nice camera transitions during battle animations like FF7 does. Do you guys have any suggestions on how to do this? Will scripting be a good choice to handle camera transitions? Have you done anything similar to this? Thanks! Eric

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Actually I''ve coded a 2D version of a FF clone...

Anyway, first of all you should set up a camera class so you can easy switch between the different cameras.

Then you can asign different cameras, one that takes care of the overview look, one of the centered on character etc.

This is just the basic layout, now to the hard part: the movements of the camera.

I have no idea how the pros does this, but one way might be to create points which represent the movement of the camera (and the look-at position). Then inside this camera class you can assign different movements with a certain ammount of points. The movement should be a class itself and functions like StartMovement() should control the movements.

Just an example of my thoughts:

if (<attack is made or something>
{
currentCamera = ACTIONCAMERA;
camera[currentCamera].movement[rand()%3].StartMovement();
}

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!