Sign in to follow this  
RobAU78

RTS Question

Recommended Posts

Hey everyone, I have a quick question about RTS games. Do they usually have separate weapon classes for units, even when those are not interchangeable/customizable? For example, if there's an air unit that shoots missiles, is there usually a Missile class (at least for making the missile animation)? My sense of things tells me that there would be, but I could be wrong. Thanks, Rob

Share this post


Link to post
Share on other sites
I made it so that each weapon is a part of my particle system, i.e a rocket was no different from a rain splash and so on.

:)

Share this post


Link to post
Share on other sites
A well-designed system will have them all deriving from the same base class(es) but it is likely that at least some types will need more specialisation in derived classes.

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