Original Post
We are having trouble planning out our bullet system on our shootemup. Basically we have a base class cObject. From cObject we have cEnemy and cPlayer. Now we need to make cBullet, because all graphical objects are updated from within cObjectManager we obviously would like bullets to get added and updated along with all the other onscreen objects.
cObjectManager ---- cObject ---------
/ \ \
cPlayer cEnemy cBullet
Now, we know we are going to have to know who owns the object. Now our questions / concerns are:
Can we efficiently generate hundreds if not thousands of bullets?
How do we decide the speed and direction of a bullet?
What would be the best method of tracking collisions using our design?
Thanks for your time
=*=
If things seem bad, think that they can get a whole load worse, and they don''t seem so bad anymore
=*=